mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-12 23:35:58 +00:00
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:
parent
177121d64d
commit
b7c26f5a3e
@ -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);
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user