Fix cypress tests after renamed variables

This commit is contained in:
mattwr18 2020-01-21 17:03:50 +01:00
parent 24898f5fe2
commit 46343c923c
3 changed files with 3 additions and 3 deletions

View File

@ -27,7 +27,7 @@ Then("I should see my comment", () => {
.get(".user-avatar img")
.should("have.attr", "src")
.and("contain", narratorAvatar)
.get("div p.ds-text span")
.get(".user-teaser > .info > .text")
.should("contain", "today at");
});

View File

@ -63,7 +63,7 @@ When('I click on "Report User" from the content menu in the user info box', () =
})
When('I click on the author', () => {
cy.get('.username')
cy.get('.user-teaser')
.click()
.url().should('include', '/profile/')
})

View File

@ -87,7 +87,7 @@ Then(
);
Then("I select a user entry", () => {
cy.get(".searchable-input .user-info")
cy.get(".searchable-input .user-teaser")
.first()
.trigger("click");
})