Skip to content

Commit

Permalink
now?
Browse files Browse the repository at this point in the history
  • Loading branch information
Amir Ziaei committed Mar 27, 2024
1 parent 388d0ca commit 7ef3ada
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/e2e/instagram-auth.setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ const authFile = 'mnt/auth.json'

setup('authenticate instagram', async ({ page }) => {
await page.goto('https://www.instagram.com/')
await page
.getByRole('button', { name: 'Decline optional cookies' })
.click()
.catch(() => {})
// await page
// .getByRole('button', { name: 'Decline optional cookies' })
// .click()
// .catch(() => {})
await page
.getByLabel('Phone number, username, or')
.fill(process.env.IG_USERNAME)
Expand Down

0 comments on commit 7ef3ada

Please sign in to comment.