Skip to content

armgit / fider

Public Imported from GitHub
0

Open platform to collect and prioritize feedback

Fixed tests again

Matt Robertsa843573fe47b
diff --git a/e2e/step_definitions/home.steps.ts b/e2e/step_definitions/home.steps.ts
index 099bef66b..2ee4455bc 100644
--- a/e2e/step_definitions/home.steps.ts
+++ b/e2e/step_definitions/home.steps.ts
@@ -13,7 +13,7 @@ Then("I should be on the home page", async function (this: FiderWorld) {
})
Then("I click on the first post", async function (this: FiderWorld) {
- await this.page.click(".c-posts-container__post:first-child a")
+ await this.page.click(".c-posts-container__post-link:first-of-type")
})
Then("I search for {string}", async function (this: FiderWorld, searchTerm: string) {