Roozenboom / rbnx

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

When running nx test for webdriverio, it is not launching browser. #2

Closed praveenngp15 closed 1 year ago

praveenngp15 commented 1 year ago

Current Behavior

NX Ran target e2e for project sample-project-e2e (21s)

     With additional flags:
       --spec=src/e2e/jjapp.spec.ts

×    1/1 failed
√    0/1 succeeded [0 read from cache]

Expected Behaviour

No Spec in the name of "src/e2e/jjapp.spec.ts". But it is generating results as 1/1 failed

Steps to Reproduce

1. Generate e2e test and execute test with "npx nx e2e your-app-name-e2e --spec=src/e2e/app.spec.ts"

Nx Report

1.
Generate e2e test and execute test with "npx nx e2e your-app-name-e2e --spec=src/e2e/app.spec.ts"

Failure Logs

No response

Additional Information

No response

Roozenboom commented 1 year ago

Thanks for reporting @praveenngp15! It did not execute the test because you don't have a spec file at src/e2e/jjapp.spec.ts. I expect that you want to run a test with the file name app.spec.ts. Based on the provided information, it looks like a typo, not a bug.

Roozenboom commented 1 year ago

Closing due to inactivity. Happy to re-open if more information can be provided.