Skip to content

Commit 0275acb

Browse files
authoredNov 7, 2024··
fix: change machine for playwright.yml (#4545)
* Update playwright.yml * Update config_test.js
1 parent b19371f commit 0275acb

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed
 

Diff for: ‎.github/workflows/playwright.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ env:
1616
jobs:
1717
build:
1818

19-
runs-on: ubuntu-22.04
19+
runs-on: ubuntu-latest
2020

2121
strategy:
2222
matrix:

Diff for: ‎test/acceptance/config_test.js

+6-6
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ Scenario('change config 1 @WebDriverIO @Puppeteer @Playwright', ({ I }) => {
88

99
Scenario('change config 2 @WebDriverIO @Puppeteer @Playwright', ({ I }) => {
1010
I.amOnPage('/')
11-
I.seeInCurrentUrl('github.com')
12-
}).config({ url: 'https://github.com' })
11+
I.seeInCurrentUrl('codecept.io')
12+
}).config({ url: 'https://codecept.io' })
1313

1414
Scenario('change config 3 @WebDriverIO @Puppeteer @Playwright', ({ I }) => {
1515
I.amOnPage('/')
16-
I.dontSeeInCurrentUrl('github.com')
16+
I.dontSeeInCurrentUrl('codecept.io')
1717
I.seeInCurrentUrl('google.com')
1818
})
1919

@@ -26,7 +26,7 @@ Scenario('change config 4 @WebDriverIO @Puppeteer @Playwright', ({ I }) => {
2626

2727
Scenario('change config 5 @WebDriverIO @Puppeteer @Playwright', ({ I }) => {
2828
I.amOnPage('/')
29-
I.dontSeeInCurrentUrl('github.com')
29+
I.dontSeeInCurrentUrl('codecept.io')
3030
I.seeInCurrentUrl('google.com')
3131
})
3232

@@ -38,10 +38,10 @@ Scenario('make API call and check response @Playwright', ({ I }) => {
3838

3939
Scenario('change config 6 @WebDriverIO @Puppeteer @Playwright', ({ I }) => {
4040
I.amOnPage('/')
41-
I.seeInCurrentUrl('github.com')
41+
I.seeInCurrentUrl('codecept.io')
4242
}).config(async () => {
4343
await new Promise((r) => {
4444
setTimeout(r, 50)
4545
})
46-
return { url: 'https://github.com' }
46+
return { url: 'https://codecept.io' }
4747
})

0 commit comments

Comments
 (0)
Please sign in to comment.