Skip to content
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-8705: Adding extraBrowserCapabilities flag to bedrock-auto #98

Merged
merged 3 commits into from
May 12, 2022

Conversation

ephox-mogran
Copy link
Contributor

No description provided.

modules/server/src/main/ts/bedrock/auto/Driver.ts Outdated Show resolved Hide resolved
modules/server/src/test/ts/ClisTest.ts Show resolved Hide resolved
@ephox-mogran ephox-mogran requested a review from spocke May 10, 2022 06:42
CHANGELOG.md Outdated Show resolved Hide resolved
modules/server/src/main/ts/bedrock/auto/Driver.ts Outdated Show resolved Hide resolved
modules/server/src/main/ts/bedrock/auto/Driver.ts Outdated Show resolved Hide resolved
modules/server/src/main/ts/bedrock/cli/ClOptions.ts Outdated Show resolved Hide resolved
ephox-mogran and others added 2 commits May 11, 2022 15:03
PR suggestions

Co-authored-by: Lee Newson <lee.newson@tiny.cloud>
@@ -67,6 +69,15 @@ const addArguments = (capabilities: Record<string, any>, name: string, args: str
capabilities[name].args = currentArgs.concat(args);
};

const getExtraBrowserCapabilities = (settings: DriverSettings): string[] => {
const extraCaps = settings.extraBrowserCapabilities.trim();
if (extraCaps.length > 0) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No ternary I'm surprised. 😉

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought it wasn't commonly used. I don't know what style to use any more. I'm just trying to fit in :)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was also surprised by this tbh 😂 I don't think we have a standard much anymore for this 😞

@lnewson lnewson merged commit b34496b into master May 12, 2022
@lnewson lnewson deleted the feature/TINY-8705 branch May 12, 2022 03:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants