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 30, 2022
1 parent 7c1696d commit 5ef4e4b
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 5ef4e4b

Please sign in to comment.