Skip to main content

Questions tagged [nightwatch.js]

Nightwatch.js is an easy to use Node.js based End-to-End (E2E) testing solution for browser based apps and websites.

nightwatch.js
0 votes
1 answer
38 views

allure reports not running, although allure is installed - allure command not found

I am using Nightwatch js, and have allure installed, and have been using reports successfully. However, something has changed, and now I get the following error: $ allure generate ./allure-results --...
LizN's user avatar
  • 1
0 votes
0 answers
17 views

Nightwatchjs + selenium grid + appium for native app testing

I have setup the NightwatchJS project with wikipedia sample app. I tried to run that on appium + android adv and it works fine. Then I tried to create selenium grid with hub and node setup and used ...
Yash Sorath's user avatar
0 votes
1 answer
38 views

How to allow a browser permission in NightWatch.js tests?

I'm using NightWatch.js to build e2e tests. One of my tests requires to grant the Chrome browser's microphone permission. When I run this test, I get a permission notification from the Chrome browser ...
skaihugger's user avatar
0 votes
1 answer
37 views

I can't get full chrome browser console logs in the NightWatch.js test

I'm trying to get full browser console logs in the NightWatch.js test. This is my test script. module.exports = { 'Console Log Test': function (browser) { browser // Navigate ...
skaihugger's user avatar
0 votes
0 answers
13 views

Uploading file via NightwatchJS results in "File not found"

I am having trouble uploading a jpg file into a Drupal form, and cannot work out why, or how best to debug it. My code appears to confirm the file is there, but NightwatchJS disagrees. The snippets of ...
retrodans's user avatar
  • 133
1 vote
0 answers
51 views

How to bypass "Your connection is not private" in Nightwatch.js?

I'm trying to test a site on https://localhost with a self-signed certificate. I keep getting the "Your connection is not private" with the Advanced and Back to safety buttons followed by ...
CJe's user avatar
  • 1,948
0 votes
0 answers
50 views

Nightwatchjs zooming out of browser

To zoom out of a browser ctrl & - can be used to reduce the zoom levels. I want to incorporate this into my automated testing suite where I have used nightwatchjs. This is to allow all objects on ...
Raymond Kelly's user avatar
0 votes
1 answer
25 views

Can't interact with browser pop-up with nightwatch.js

This is the last I've tried, but the problem is that once the popup is on the screen, I can't use the Console to get any of the selectors, I only see the html and body tags. PLEASE HELP! module....
Automaxion's user avatar
0 votes
1 answer
31 views

Nightwatchjs - Extracting value from globals file

I'm using nightwatchjs (v3.x) to run my test scripts, and I've just introduced some before and beforeEach hooks to help with these tests. So, in my globals.js file I have the following code (which is ...
Darren Harley's user avatar
0 votes
0 answers
38 views

How to handle 4xx status codes in auto-tests

I need to assert that any other order with the same data returns a 410 status code, but the problem is that it returns a 410 status code and the code automatically stops its execution, how can I ...
Stepash's user avatar
  • 23
0 votes
0 answers
26 views

Cannot access page object models from referenced project

I have a project web.testing.dependent, which refers to the page object models from web.testing.referenced project. web.testing.referenced project has been packaged and published to the local registry ...
jrao's user avatar
  • 47
0 votes
0 answers
26 views

Using Nightwatch: Text field takes more than a minute to read the long data but after 1 minute timeout error occurs

There is a text field in which a long data is sent. To read that data it takes 1:30 minute. But after 1 minute nightwatch throws timeout error and therefore, the next step doesn't execute and test ...
Dhruv Bhatnagar's user avatar
0 votes
0 answers
32 views

How to get the logs from IDE terminal

I want to check mixpanel events, so for this I intercept request with wanted url and I want after specific lines of code assert that right thing was printed in the console Here is my code: browser ....
Stepash's user avatar
  • 23
0 votes
0 answers
40 views

Getting error as ChromeDriver exited with code: 1 in nightwatch.js

When I am running the azure pipeline for regression any random test cases are getting failed due to this error "ChromeDriver exited with code: 1" My Chrome browser version is 117 & I ...
Dinesh Jangam's user avatar
0 votes
0 answers
101 views

How to intercept a request with nightwatch?

I work with Nightwatch, I need to intercept a query to then inspect its response and get some data from it. The action is triggered by my auto-test, so I just wanna intercept a request, I don't need ...
Stepash's user avatar
  • 23

15 30 50 per page
1
2 3 4 5
100