Skip to content

Commit

Permalink
Fixed authorization bug
Browse files Browse the repository at this point in the history
Signed-off-by: Yi Cai <[email protected]>
  • Loading branch information
ciiay committed Apr 1, 2024
1 parent 75b285a commit cd960bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion e2e-tests/playwright/utils/Common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export class Common {
await this.page.waitForTimeout(1000); // Using page here because if the popup closes automatically, it throws an error during the wait
}

const locator = popup.locator('#js-oauth-authorize-btn');
const locator = popup.locator('button.js-oauth-authorize-btn');
if (!popup.isClosed() && (await locator.isVisible())) {
await popup.locator('body').click();
await locator.waitFor();
Expand Down

0 comments on commit cd960bf

Please sign in to comment.