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

Upgrading to testcafe 0.20 breaks in new relic script #2686

Closed
bdwain opened this issue Aug 2, 2018 · 7 comments
Closed

Upgrading to testcafe 0.20 breaks in new relic script #2686

bdwain opened this issue Aug 2, 2018 · 7 comments
Assignees
Labels
STATE: Auto-locked An issue has been automatically locked by the Lock bot. SYSTEM: hammerhead
Milestone

Comments

@bdwain
Copy link
Contributor

bdwain commented Aug 2, 2018

Are you requesting a feature or reporting a bug?

Bug

What is the current behavior?

When I upgraded my version of testcafe from 0.18 - 0.20, I started seeing errors as soon as I tried to execute an action in my testcafe test. The error was in new relic's code.

Uncaught TypeError: Cannot read property 'cancelled' of null

The action I tried to take was just await t.typeText(Selector('.username', 'foo')

What is the expected behavior?

The app should not crash in my third party code.

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

Run a test with newrelic's browser code in the app.

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

await t.typeText(Selector('.username', 'foo')

I can't provide the app as it's internal. But it's just a plain react app and index.html contains the code provided by new relic to run in your browser.

Specify your

  • operating system: OS X High Sierra
  • testcafe version: 0.20.5
  • node.js version: 9.11.1
@miherlosev
Copy link
Collaborator

miherlosev commented Aug 2, 2018

@LavrovArtem

See the health monitor run for this site.

@miherlosev miherlosev added STATE: Need clarification An issue lacks information for further research. SYSTEM: hammerhead labels Aug 2, 2018
LavrovArtem added a commit to LavrovArtem/testcafe-hammerhead that referenced this issue Aug 6, 2018
LavrovArtem added a commit to LavrovArtem/testcafe-hammerhead that referenced this issue Aug 6, 2018
miherlosev pushed a commit to DevExpress/testcafe-hammerhead that referenced this issue Aug 7, 2018
@LavrovArtem LavrovArtem removed the STATE: Need clarification An issue lacks information for further research. label Aug 7, 2018
@LavrovArtem LavrovArtem added this to the Sprint #15 milestone Aug 7, 2018
@LavrovArtem
Copy link
Contributor

fixed in DevExpress/testcafe-hammerhead#1709

@bdwain
Copy link
Contributor Author

bdwain commented Aug 7, 2018

Sweet! Thanks! Do you know when this will be released?

@miherlosev
Copy link
Collaborator

@bdwain

We have plans to release a new version this week.

@bdwain
Copy link
Contributor Author

bdwain commented Aug 7, 2018

Sweet! Thanks!

@miherlosev
Copy link
Collaborator

Fixed in #2708

@lock
Copy link

lock bot commented Mar 28, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs or feature requests. For TestCafe API, usage and configuration inquiries, we recommend asking them on StackOverflow.

@lock lock bot added the STATE: Auto-locked An issue has been automatically locked by the Lock bot. label Mar 28, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Mar 28, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
STATE: Auto-locked An issue has been automatically locked by the Lock bot. SYSTEM: hammerhead
Projects
None yet
Development

No branches or pull requests

3 participants