-
Notifications
You must be signed in to change notification settings - Fork 0
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
Pattern Matching of Test Not Working -> Error: No tests found #25
Comments
Hi Markus, |
I have the same problem when I run a single test and the test name contains spaces:
The command to execute the test is the following:
|
Have the same issue. I couldn't figure out a way to run any test. I tried running from the margin button from the project structure (directory context menu > run > Playwright). Environment:
import type { PlaywrightTestConfig } from '@playwright/test';
const config: PlaywrightTestConfig = {
webServer: {
command: 'npm run build && npm run preview',
port: 4173
},
testDir: 'e2e-tests'
};
export default config;
test('test', async ({ page }) => { |
hi folks, |
Dude, you are charging money for this product, and expecting your customers to also work on it? |
Yes, I am. I'm expecting that my customers are interested in fixing their problems. |
Same issue here "No tests found" while trying the run the test examples from the default Playwright installation. /Users/xyz/Projects/poc/playwright/node_modules/.bin/playwright test --reporter /var/folders/m3/fhnlfkp91sj648w3_8m0ng980000gn/T/intellij-playwright-reporter6414323199617572113.js tests/demo-todo-app.spec.ts -g '^(.*[\/])?demo-todo-app.spec.ts.New Todo' |
@mbolotov we are having the same issue as the others are reporting. Would you be able to provide an example project for us that works? Then we can compare we our setup with your working setup. Please also include the intellij run config in your example repository and some docs. Thanks! |
seems the problem can be reproduced with a new playwright version only. |
Can anyone try this bundle with fix? |
fixed in |
Hi there,
I am trying to run a specific test.
When I run the test, it cannot find the test using the provided pattern.
Result:
If I copy over the command to a terminal and change it to something like this:
/var/lib/snapd/snap/bin/npx playwright test --reporter /tmp/intellij-playwright-reporter3214380591270717897.js tests/example.spec.ts -g get started link$
it works.
OS: Linux (Fedora)
IDE: Webstorm 2022.3.2
Plugin Version: 1.3.1
The text was updated successfully, but these errors were encountered: