File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
site/e2e/tests/deployment Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -18,10 +18,8 @@ test("experiments", async ({ page }) => {
18
18
await expect ( experimentsLocator ) . toBeVisible ( ) ;
19
19
20
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
- . 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 ;
25
23
26
24
// Secondly, check if available experiments are listed
27
25
for ( const experiment of availableExperiments . safe ) {
You can’t perform that action at this time.
0 commit comments