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

Can not run test which contains special characters in test name using vscode-testcafe extension #42

Open
AM1988 opened this issue Apr 29, 2021 · 0 comments

Comments

@AM1988
Copy link

AM1988 commented Apr 29, 2021

Hello.

Looks like an extension does not properly parse the test name, which is why the test does not start.

If I run test from cli by npm run test where test script is specified in my package.json as
"test": "testcafe chrome tests/*.test.ts" it works fine.
Steps to reproduce:

Create a test like (note a single quote in test name)
test('Test\'name', async () => {})
and try to run it using the option 'Run Test(s) in Chrome'

OS: Windows
testcafe: 1.14.0

When I use the option 'Run Test(s) in Chrome' on my project directory the testcafe test can't find the needed test and logs the following information

Debugger attached.
The "filter" option from the configuration file will be ignored.
ERROR The specified filter settings exclude all tests.
Modify these settings to leave at least one available test.
For more information on how to specify filter settings, see https://devexpress.github.io/testcafe/documentation/using-testcafe/configuration-file.html#filter.
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

No branches or pull requests

1 participant