-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TINY-11431: Add chrome clipboardPermission handle #153
base: master
Are you sure you want to change the base?
Conversation
README.md
Outdated
|
||
See the comment in modules/server/src/main/ts/bedrock/core/Reporter.ts | ||
|
||
# Contributing | ||
|
||
See [CONTRIBUTING.md](CONTRIBUTING.md) | ||
|
||
* `--clipboardPermission` to enable clipboard permission for Chromium. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems to be in the wrong file? 😂
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ha, too much caffeine is not good for me
@@ -194,9 +196,9 @@ const setupShutdown = (driver: WebdriverIO.Browser, driverApi: DriverLoader.Driv | |||
const driverShutdown = async (immediate?: boolean) => { | |||
try { | |||
if (immediate) { | |||
driver.deleteSession(); | |||
await driver.deleteSession(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some of this changed on my branch #145 so maybe we need to merge that and then redo this 🤔
if (settings.headless) { | ||
await driver.setWindowSize(1280, 1024); | ||
} else { | ||
await driver.maximizeWindow(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is still important, remote testing browsers regularly open at a very small size and cause tests to fail
@@ -58,7 +58,8 @@ export const forAuto = (directories: Directories, argv: string[] = process.argv) | |||
ClOptions.devicefarmRegion, | |||
ClOptions.browserVersion, | |||
ClOptions.platformName, | |||
ClOptions.useSelenium | |||
ClOptions.useSelenium, | |||
ClOptions.clipboardPermission |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't seem to be actually used anywhere? It always adds --enable-clipboard
on chrome
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah.. sorry should've been a draft pr, changing that now. 😬
Related Ticket:
TINY-11431
Description of Changes:
Pre-checks:
Before merging: