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
This commit is contained in:
mattwr18 2020-01-15 10:07:27 +01:00
parent 177121d64d
commit b7c26f5a3e

View File

@ -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);
});