Skip to content

Commit ec7cf6f

Browse files
enabled all options in new context (#44)
1 parent 3e52afc commit ec7cf6f

File tree

4 files changed

+30
-27
lines changed

4 files changed

+30
-27
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ All notable changes to the "@qavajs/steps-playwright" will be documented in this
44

55
Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file.
66

7+
## [0.0.20]
8+
- :rocket: enabled all options in new context
9+
710
## [0.0.19]
811
- :rocket: added to match value wait
912
- :rocket: added in viewport validation

package-lock.json

Lines changed: 24 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@
4040
"typescript": "^5.0.4"
4141
},
4242
"dependencies": {
43-
"@playwright/test": "^1.32.3",
43+
"@playwright/test": "^1.33.0",
4444
"@qavajs/validation": "^0.0.5",
45-
"playwright": "^1.32.3"
45+
"playwright": "^1.33.0"
4646
}
4747
}

src/hooks.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Before(async function () {
2222
}
2323
config.driverConfig = driverConfig;
2424
global.browser = await driverProvider(config.driverConfig);
25-
global.context = await browser.newContext({ viewport: null });
25+
global.context = await browser.newContext(config?.driverConfig?.capabilities);
2626
if (config.driverConfig.trace) {
2727
await context.tracing.start({
2828
screenshots: true,

0 commit comments

Comments
 (0)