Skip to content

Commit

Permalink
fix test scripts to work with access popup iframe
Browse files Browse the repository at this point in the history
  • Loading branch information
jean committed Dec 21, 2022
1 parent 32c5dab commit 00cc8ad
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions e2e-test-suite/pages/access-popup.page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ export default class AccessPopup {
this.page = page
}

// iframeClipboard = () => this.page.frameLocator('iframe[allow="clipboard-read"]')
// btnAccept = () => this.iframeClipboard().locator('#tn-access-accept')
// btnDeny = () => this.iframeClipboard().locator('#tn-access-deny')
btnAccept = () => this.page.locator('#tn-access-accept')
btnDeny = () => this.page.locator('#tn-access-deny')
iframeClipboard = () => this.page.frameLocator('iframe[allow="clipboard-read"]')
btnAccept = () => this.iframeClipboard().locator('#tn-access-accept')
btnDeny = () => this.iframeClipboard().locator('#tn-access-deny')
// btnAccept = () => this.page.locator('#tn-access-accept')
// btnDeny = () => this.page.locator('#tn-access-deny')
}

0 comments on commit 00cc8ad

Please sign in to comment.