mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
Fix cypress tests after renamed variables
This commit is contained in:
parent
24898f5fe2
commit
46343c923c
@ -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");
|
||||
});
|
||||
|
||||
|
||||
@ -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/')
|
||||
})
|
||||
|
||||
@ -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");
|
||||
})
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user