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

feat: add --playwright-options #405

Merged

Conversation

dominiqueclarke
Copy link
Contributor

@dominiqueclarke dominiqueclarke commented Oct 29, 2021

Fixes #388

Adds --playwright-options to define playwright options via command line args.

Playwright options can also be defined via a synthetics.config.js file. Options defined via --playwright-options will be merged with options defined in synthetics.config.js, with keys defined within --playwright-optons overwriting keys defined in synthetics.config.js.

@dominiqueclarke dominiqueclarke force-pushed the feature/playwright-options branch from 2f9aa8a to fd61e4b Compare October 29, 2021 15:56
@apmmachine
Copy link

apmmachine commented Oct 29, 2021

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview preview

Expand to view the summary

Build stats

  • Start Time: 2021-11-11T17:08:53.261+0000

  • Duration: 14 min 47 sec

  • Commit: 4f3ec9b

Test stats 🧪

Test Results
Failed 0
Passed 144
Skipped 0
Total 144

🤖 GitHub comments

To re-run your PR in the CI, just comment with:

  • /test : Re-trigger the build.

@dominiqueclarke
Copy link
Contributor Author

/test

src/parse_args.ts Outdated Show resolved Hide resolved
src/cli.ts Outdated Show resolved Hide resolved
@dominiqueclarke
Copy link
Contributor Author

/test

src/cli.ts Outdated Show resolved Hide resolved
@dominiqueclarke
Copy link
Contributor Author

/test

Copy link
Member

@vigneshshanmugam vigneshshanmugam left a comment

Choose a reason for hiding this comment

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

LGTM

@vigneshshanmugam vigneshshanmugam merged commit a7486e4 into elastic:master Nov 11, 2021
v1v added a commit to dominiqueclarke/synthetics that referenced this pull request Nov 22, 2021
…a-fleet-heartbeat-synthetics-e2e-tests

* upstream/master:
  [jjbb] for scheduling e2e jobs (elastic#418)
  docs: release notes for beta.17 (elastic#415)
  1.0.0-beta.17
  feat: add --playwright-options (elastic#405)
  fix: ensure timestamps of events are inorder (elastic#413)
  fix: do not stash `.nvm` folder (elastic#414)
  deprecate suite-params option over params (elastic#406)
  fix: end timestamp should reflect duration (elastic#410)
  docs: release notes for 1.16.0 (elastic#403)
  1.0.0-beta.16
  fix: revert Playwright to 1.14.0 (elastic#402)
  docs: release notes for beta 15 (elastic#400)
  1.0.0-beta.15
  chore: update deps and fix lint issues (elastic#399)
  fix: handle page close during response event (elastic#398)
  chore: require node > 14 for usage (elastic#397)
  fix: fix megabytes to mbps (elastic#394)
  feat: enable trace as part of rich-events (elastic#387)
  feat: use events from PW for network data (elastic#372)
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.

Support Playwright options (e.g. to define HTTP proxies)
3 participants