Skip to content

Commit 6558b0a

Browse files
authored
fix: Make tests more stable by using google (#4904)
1 parent c0ddbe2 commit 6558b0a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/acceptance/session_test.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ Scenario('screenshots reflect the current page of current session @Puppeteer @Pl
4646
})
4747

4848
Scenario('Different cookies for different sessions @Playwright @Puppeteer', async ({ I }) => {
49-
const cookiePage = 'https://www.microsoft.com/en-au/'
50-
const cookieName = 'MUID'
49+
const cookiePage = 'https://google.com/'
50+
const cookieName = 'AEC'
5151
const cookies = {}
5252

5353
I.amOnPage(cookiePage)
@@ -68,7 +68,7 @@ Scenario('Different cookies for different sessions @Playwright @Puppeteer', asyn
6868
cookies.mary = (await I.grabCookie(cookieName)).value
6969
I.say(`${cookieName}: ${cookies.mary}`)
7070
})
71-
await I.seeInCurrentUrl('en-au')
71+
await I.seeInCurrentUrl('google.com')
7272
assert(cookies.default)
7373
assert(cookies.john)
7474
assert(cookies.mary)

0 commit comments

Comments
 (0)