Roozenboom / rbnx

Nx plugin for WebdriverIO support
https://www.npmjs.com/package/@rbnx/webdriverio
MIT License
10 stars 1 forks source link

feat: simplify wdio configuration inheritence #4

Closed Roozenboom closed 1 year ago

Roozenboom commented 1 year ago

Current Behavior

The configuration supports two different methods which makes it unnecessarily complex. Not all wdio options can be set with the autoConfig method because they were not mapped correctly in the generated configuration.

Expected Behavior

By removing the autoConfig method and using configuration inheritance you can set all wdio options and hooks on project level. When the e2e tests are executed the configuration from the project.json will overwrite the project and base configuration.

Related Issue(s)

Fixes #

nx-cloud[bot] commented 1 year ago

☁️ Nx Cloud Report

CI is running/has finished running commands for commit a8370c60f608b953fb766fed7889023ac793b9af. As they complete they will appear below. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this branch


✅ Successfully ran 4 targets - [`nx affected --target=test --parallel=3 --ci --code-coverage`](https://cloud.nx.app/runs/sSybTyF60t) - [`nx affected --target=build --parallel=3`](https://cloud.nx.app/runs/EWZVt8NEDN) - [`nx affected --target=lint --parallel=3`](https://cloud.nx.app/runs/aXwSPgcpQC) - [`nx-cloud record -- npx nx format:check`](https://cloud.nx.app/runs/mW5rlZaoO6)

Sent with 💌 from NxCloud.

github-actions[bot] commented 1 year ago

:tada: This PR is included in version 1.2.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: