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

[Bug]: Report failed to Render #75

Open
pedromaresteves opened this issue Aug 26, 2024 · 0 comments
Open

[Bug]: Report failed to Render #75

pedromaresteves opened this issue Aug 26, 2024 · 0 comments

Comments

@pedromaresteves
Copy link

Hi.

Whenever I run an e2e test that makes a get request at the beginning, if that request fails (500 response), the test fails (the test asserts for a 200 response), the report is badly generated and the nightwatch process doesn't terminate properly.

Error Details

TypeError: Cannot read properties of undefined (reading 'environments')
  at MS (file:///Users/pmarques/projects/idealista-website/idealista.com.automated.tests/logs/nightwatch-html-report/index.html:73:37952)
  at ZS (file:///Users/pmarques/projects/idealista-website/idealista.com.automated.tests/logs/nightwatch-html-report/index.html:73:37794)
  at xS (file:///Users/pmarques/projects/idealista-website/idealista.com.automated.tests/logs/nightwatch-html-report/index.html:73:39459)
  at Kr (file:///Users/pmarques/projects/idealista-website/idealista.com.automated.tests/logs/nightwatch-html-report/index.html:68:19518)
  at Qh (file:///Users/pmarques/projects/idealista-website/idealista.com.automated.tests/logs/nightwatch-html-report/index.html:70:43960)
  at Yh (file:///Users/pmarques/projects/idealista-website/idealista.com.automated.tests/logs/nightwatch-html-report/index.html:70:39724)
  at Wb (file:///Users/pmarques/projects/idealista-website/idealista.com.automated.tests/logs/nightwatch-html-report/index.html:70:39652)
  at ee (file:///Users/pmarques/projects/idealista-website/idealista.com.automated.tests/logs/nightwatch-html-report/index.html:70:39506)
  at cn (file:///Users/pmarques/projects/idealista-website/idealista.com.automated.tests/logs/nightwatch-html-report/index.html:70:35874)
  at Gh (file:///Users/pmarques/projects/idealista-website/idealista.com.automated.tests/logs/nightwatch-html-report/index.html:70:34825)
Nightwatch Report ```json ```
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