Skip to content

Commit a5ca24b

Browse files
committed
fix broken test
1 parent 30cdff4 commit a5ca24b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

zeppelin-web-angular/e2e/models/base-page.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,7 @@ export class BasePage {
4040
const isAlreadyOpen = await openSwitcher.isVisible();
4141

4242
if (!isAlreadyOpen) {
43-
const switcher = this.e2eTestFolder.locator('.ant-tree-switcher');
44-
await switcher.waitFor({ state: 'visible' });
45-
await switcher.click();
43+
await this.e2eTestFolder.click();
4644

4745
// Wait for the switcher to change to open state
4846
await openSwitcher.waitFor({ state: 'visible', timeout: 10000 });

0 commit comments

Comments
 (0)