Skip to content

Commit

Permalink
update selector for current panel
Browse files Browse the repository at this point in the history
  • Loading branch information
PrajwolAmatya committed Sep 9, 2024
1 parent 26d1d2d commit acb8527
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/e2e/support/objects/app-files/utils/sidebar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export const close = async ({ page }: { page: Page }): Promise<void> => {
}

export const openPanel = async ({ page, name }: { page: Page; name: string }): Promise<void> => {
const currentPanel = page.locator('.sidebar-panel.is-active')
const currentPanel = page.locator('.sidebar-panel.is-active-root-panel')
const backButton = currentPanel.locator('.header__back')

if (await backButton.count()) {
Expand Down

0 comments on commit acb8527

Please sign in to comment.