From 177121d64d460d3216127e57e7103330f70000c1 Mon Sep 17 00:00:00 2001 From: mattwr18 Date: Tue, 14 Jan 2020 11:01:34 +0100 Subject: [PATCH] Rename class back to open separate PR --- cypress/integration/common/steps.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cypress/integration/common/steps.js b/cypress/integration/common/steps.js index 8e08be2cf..b2fdef896 100644 --- a/cypress/integration/common/steps.js +++ b/cypress/integration/common/steps.js @@ -271,11 +271,11 @@ Then("the post was saved successfully", () => { }); Then(/^I should see only ([0-9]+) posts? on the landing page/, postCount => { - cy.get(".post-card").should("have.length", postCount); + cy.get(".hc-post-card").should("have.length", postCount); }); Then("the first post on the landing page has the title:", title => { - cy.get(".post-card:first").should("contain", title); + cy.get(".hc-post-card:first").should("contain", title); }); Then(