We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 402bd6d commit c3d1763Copy full SHA for c3d1763
e2e/step_definitions/show_post.steps.ts
@@ -13,6 +13,6 @@ Then("I should see {string} as the post title", async function (this: FiderWorld
13
})
14
15
Then("I should see {int} vote\\(s)", async function (this: FiderWorld, voteCount: number) {
16
- // Look for the vote count number with the specific styling
17
- await expect(this.page.locator(".text-2xl").filter({ hasText: voteCount.toString() })).toBeVisible()
+ // Look for the vote count number within the post detail view
+ await expect(this.page.locator(".p-show-post .text-2xl").filter({ hasText: voteCount.toString() })).toBeVisible()
18
0 commit comments