Skip to content

Commit d15f10d

Browse files
committed
WIP
1 parent aaf80fc commit d15f10d

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

site/e2e/tests/deployment/general.spec.ts

+2-4
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,8 @@ test("experiments", async ({ page }) => {
1818
await expect(experimentsLocator).toBeVisible();
1919

2020
// 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-
.toBeVisible;
21+
expect(experimentsLocator.locator(`li.option-array-item-${e2eFakeExperiment1}.option-enabled`)).toBeVisible;
22+
expect(experimentsLocator.locator(`li.option-array-item-${e2eFakeExperiment2}.option-enabled`)).toBeVisible;
2523

2624
// Secondly, check if available experiments are listed
2725
for (const experiment of availableExperiments.safe) {

0 commit comments

Comments
 (0)