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

Running single tests does not work #11795

Open
tsmaeder opened this issue Oct 23, 2022 · 0 comments
Open

Running single tests does not work #11795

tsmaeder opened this issue Oct 23, 2022 · 0 comments
Labels
OS/Windows issues related to the Windows OS playwright issues related to playwright tests

Comments

@tsmaeder
Copy link
Contributor

tsmaeder commented Oct 23, 2022

Bug Description:

I can't run single tests from the theia/examples/playwright project on Windows. I always end up with "zero tests found"

Steps to Reproduce:

  1. Check out and build theia on Windows
  2. Run the browser app as per playwright documetation
  3. open a cmd instance on theia/examples/playwright
  4. Type yarn ui-tests-headful .\src\tests\theia-app.test.ts
  5. Observe: the system complains it can't find any tests:
Running 0 test using 0 worker


=================
 no tests found.
=================

error Command failed with exit code 1.

The complete test suite starts correctly if I omit the file parameter. I am following the guide in "examples\playwright\GETTING-STARTED.md" and would expect the test in the designated file to be executed.

Additional Information

I tried to do the following, but with the same result:

  • Different test files
  • Using the compiled files in lib instead of the *.ts-files in src
  • Using forward slashes instead of backslashes
@tsmaeder tsmaeder added OS/Windows issues related to the Windows OS playwright issues related to playwright tests labels Oct 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OS/Windows issues related to the Windows OS playwright issues related to playwright tests
Projects
None yet
Development

No branches or pull requests

1 participant