Skip to content

Commit

Permalink
Remove wait for focus
Browse files Browse the repository at this point in the history
  • Loading branch information
lookacat committed Jun 29, 2022
1 parent cecec7d commit 547aab5
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 @@ -51,7 +51,7 @@ export const openPanel = async ({ page, name }: { page: Page; name: string }): P
const nextPanel = page.locator(`#sidebar-panel-${name}-item`)

await Promise.all([
locatorUtils.waitForEvent(nextPanel, 'focus'),
// locatorUtils.waitForEvent(nextPanel, 'focus'),
locatorUtils.waitForEvent(nextPanel, 'transitionend'),
panelSelector.click()
])
Expand Down

0 comments on commit 547aab5

Please sign in to comment.