diff --git a/cypress/integration/common/steps.js b/cypress/integration/common/steps.js index f04f43b26..ab1790756 100644 --- a/cypress/integration/common/steps.js +++ b/cypress/integration/common/steps.js @@ -411,15 +411,14 @@ Given("there is an annoying user called {string}", name => { }); Given("there is an annoying user who has blocked me", () => { - cy.login({ email: 'i-blocked-a-moderator-ha-ha-ha@example.org', password: '1234' }) - .neode() + cy.neode() .first("User", { role: 'moderator' }) .then(blocked => { cy.neode() .first("User", { - name + id: 'annoying-user' }) .relateTo(blocked, "blocked"); }); diff --git a/cypress/integration/moderation/ReportContent.feature b/cypress/integration/moderation/ReportContent.feature index 566209346..c35099fd8 100644 --- a/cypress/integration/moderation/ReportContent.feature +++ b/cypress/integration/moderation/ReportContent.feature @@ -9,9 +9,9 @@ Feature: Report and Moderate Background: Given we have the following user accounts: - | id | name | email | password | - | u67 | David Irving | david-irving@example.org | 1234 | - | annoying-user | I'm gonna block Moderators and Admins HA HA HA | i-blocked-a-moderator-ha-ha-ha@example.org | 1234 | + | id | name | + | u67 | David Irving | + | annoying-user | I'm gonna block Moderators and Admins HA HA HA | Given we have the following posts in our database: | authorId | id | title | content |