Skip to content

Commit f5899fa

Browse files
author
DavertMik
committed
config tests
1 parent 08d1010 commit f5899fa

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

test/acceptance/config_test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Scenario('make API call and check response @Playwright', ({ I }) => {
3939
Scenario('change config 6 @WebDriverIO @Puppeteer @Playwright', ({ I }) => {
4040
I.amOnPage('/')
4141
I.seeInCurrentUrl('codecept.io')
42-
})
42+
}).config({ url: 'https://codecept.io' })
4343

4444
Scenario('simple page test @WebDriverIO @Puppeteer @Playwright', ({ I }) => {
4545
I.amOnPage('https://github.com')

typings/tests/helpers/Playwright.types.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ expectType<void>(playwright.moveCursorTo(str, num, num));
2828
expectError(playwright.dragAndDrop(str));
2929
expectType<void>(playwright.dragAndDrop(str, str));
3030
expectType<void>(playwright.dragAndDrop(str, str, { sourcePosition, targetPosition }));
31-
expectType<void>(playwright.restartBrowser());
32-
expectType<void>(playwright.restartBrowser({}));
3331
expectType<void>(playwright.refreshPage());
3432
expectType<void>(playwright.scrollPageToTop());
3533
expectType<void>(playwright.scrollPageToBottom());

0 commit comments

Comments
 (0)