We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aaf80fc commit d15f10dCopy full SHA for d15f10d
site/e2e/tests/deployment/general.spec.ts
@@ -18,10 +18,8 @@ test("experiments", async ({ page }) => {
18
await expect(experimentsLocator).toBeVisible();
19
20
// Firstly, check if all enabled experiments are listed
21
- expect(experimentsLocator.locator("li", { hasText: e2eFakeExperiment1 }))
22
- .toBeVisible;
23
- expect(experimentsLocator.locator("li", { hasText: e2eFakeExperiment2 }))
24
+ expect(experimentsLocator.locator(`li.option-array-item-${e2eFakeExperiment1}.option-enabled`)).toBeVisible;
+ expect(experimentsLocator.locator(`li.option-array-item-${e2eFakeExperiment2}.option-enabled`)).toBeVisible;
25
26
// Secondly, check if available experiments are listed
27
for (const experiment of availableExperiments.safe) {
0 commit comments