From b7c26f5a3e25de9742b1d14b7143ceb574cff434 Mon Sep 17 00:00:00 2001 From: mattwr18 Date: Wed, 15 Jan 2020 10:07:27 +0100 Subject: [PATCH] Revert missed class name to be renamed - I would like to rename HcPostCard to PostCard, but I decided to do it in another PR as it's not relevant to the issue this PR addresses --- cypress/integration/common/steps.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cypress/integration/common/steps.js b/cypress/integration/common/steps.js index b2fdef896..db3eb8d56 100644 --- a/cypress/integration/common/steps.js +++ b/cypress/integration/common/steps.js @@ -256,7 +256,7 @@ When("I choose {string} as the language for the post", (languageCode) => { Then("the post shows up on the landing page at position {int}", index => { cy.openPage("landing"); - const selector = `.post-card:nth-child(${index}) > .ds-card-content`; + const selector = `.hc-post-card:nth-child(${index}) > .ds-card-content`; cy.get(selector).should("contain", lastPost.title); cy.get(selector).should("contain", lastPost.content); });