You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
running webpack bundled javascript file on Browser
What is the Current behavior?
Testcafe modified my javascript file, and throw error - variable declared twice.
I have a file - a.chunk.js which should be running on Client.
a.chunk.js works fine without any problem; however, when I hit same url via testCafe, it throw error because somehow testCafe modifies the code creating some new variables.
the error:
What is the Expected behavior?
No error should be thrown.
What is your web application and your TestCafe test code?
Your website URL (or attach your complete example):Your complete test code (or attach your test files):
Your complete configuration file (if any):
Your complete test report:
Screenshots:
Steps to Reproduce:
Go to my website ...
Execute this command...
See the error...
Your Environment details:
testcafe version: 1.9.4
node.js version: v12.18.3
command-line arguments: testcafe chrome test/
browser name and version: Chrome 87
platform and version: Windows 10
other:
The text was updated successfully, but these errors were encountered:
Thank you for the report. We modify client-side scripts so that TestCafe can manage the test page. However, in your case, there is a problem with processing a complex destructuring assignment. We'll take a look into it.
Below are the details that can help the team debug the report.
This minimal reproducible example is opened in a browser without errors:
What is your Test Scenario?
running webpack bundled javascript file on Browser
What is the Current behavior?
Testcafe modified my javascript file, and throw error - variable declared twice.
I have a file - a.chunk.js which should be running on Client.
a.chunk.js works fine without any problem; however, when I hit same url via testCafe, it throw error because somehow testCafe modifies the code creating some new variables.
the error:
What is the Expected behavior?
No error should be thrown.
What is your web application and your TestCafe test code?
Your website URL (or attach your complete example):
Your complete test code (or attach your test files):
Your complete configuration file (if any):
Your complete test report:
Screenshots:
Steps to Reproduce:
Your Environment details:
The text was updated successfully, but these errors were encountered: