Skip to content

Command Line Arguments not working correctly after 1.15.1 release #6426

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

Closed
etobin opened this issue Jul 28, 2021 · 4 comments · Fixed by #6429
Closed

Command Line Arguments not working correctly after 1.15.1 release #6426

etobin opened this issue Jul 28, 2021 · 4 comments · Fixed by #6429
Assignees
Labels
FREQUENCY: level 2 TYPE: bug The described behavior is considered as wrong (bug).

Comments

@etobin
Copy link

etobin commented Jul 28, 2021

Are you requesting a feature or reporting a bug?

Reporting a bug

What is your Test Scenario?

I am running a testcafe command and passing an argument to specify what environment I want to run my test in. For example:
testcafe "browserstack:chrome@78.0:OS X Mojave" smoke-test.js --skip-js-errors --env=production

What is the Current behavior?

With version 1.15.1 when I include --env=production the command fails with error: unknown option '--env=production'

What is the Expected behavior?

With version 1.15.0 I was able to successfully pass my env command line argument with no problem.

How would you reproduce the current behavior (if this is a bug)?

Try to run command like the above with testcafe version 1.15.1

Provide the test code and the tested page URL (if applicable)

Not applicable since this is a command line problem

Your website URL (or attach your complete example):

Your complete test code (or attach your test files)

Your Environment details:

  • testcafe version: 1.15.1
  • node.js version:
  • command-line arguments: testcafe "browserstack:chrome@78.0:OS X Mojave" smoke-test.js --skip-js-errors --env=production
  • browser name and version:
  • platform and version:
  • other:
@need-response-app need-response-app bot added the STATE: Need response An issue that requires a response or attention from the team. label Jul 28, 2021
@felis2803 felis2803 added FREQUENCY: level 2 TYPE: bug The described behavior is considered as wrong (bug). and removed STATE: Need response An issue that requires a response or attention from the team. labels Jul 29, 2021
@felis2803
Copy link
Contributor

Thank you for your report. We will deal with this bug. Stay tuned for updates on this issue.

@EasyKAD-tester
Copy link

I have the same issue. Sharing GitHub action traces, maybe it can be helpful.

image

@need-response-app need-response-app bot added the STATE: Need response An issue that requires a response or attention from the team. label Jul 29, 2021
@Aleksey28 Aleksey28 self-assigned this Jul 30, 2021
@becciwatson
Copy link

Yes we have the same problem, pull request for this bug is not yet pulled/released.

@AlexanderMoiseev
Copy link
Contributor

Hi,

Thank you for your input, we'll get back to you when we have any results.

@need-response-app need-response-app bot removed the STATE: Need response An issue that requires a response or attention from the team. label Aug 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FREQUENCY: level 2 TYPE: bug The described behavior is considered as wrong (bug).
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants