Skip to content
This repository has been archived by the owner on Sep 29, 2020. It is now read-only.

Running tests with multiple tags runs only 1st test. #32

Closed
bbonczek opened this issue Apr 1, 2019 · 1 comment
Closed

Running tests with multiple tags runs only 1st test. #32

bbonczek opened this issue Apr 1, 2019 · 1 comment

Comments

@bbonczek
Copy link

bbonczek commented Apr 1, 2019

We are currently upgrading testcafe and gherkin-testcafe to new version, and it seems like running tests with multiple tags is not working. We use only CLI interface. To run e2e tests we use this method:

gherkin-testcafe chrome e2e/*.feature e2e/step-definitions/*.js --tags @eHim @mobile @eHimLarge ~@ignore -a \"http-server -p 4200 ./dist/web-drive-profiles\" --appInitDelay 5000 -c 6

This command should run all tests decorated with @ehim @mobile & @eHIMLarge tags. What happens now, is only tests decorated with '@ehim' (1st tag) are ran.

@Lukas-Kullmann
Copy link
Contributor

Hey @bbonczek,

sorry for the late response.
You have to separate tags by comma for this to work:

gherkin-testcafe chrome e2e/*.feature e2e/step-definitions/*.js --tags @eHim,@mobile,@eHimLarge,~@ignore -a \"http-server -p 4200 ./dist/web-drive-profiles\" --appInitDelay 5000 -c 6

I upgraded the readme with your use-case.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants