nightwatch.js Questions
5
Solved
I have several tests which test the UI and also serve to create data along the way.
A separate set of tests rely on this data, meaning that these must run only after the first set have run.
I k...
Mullens asked 21/9, 2015 at 20:26
6
In the page I'm testing, two buttons may be displayed: BASIC or ADVANCED.
I want to be able to tell if the ADVANCED button is showing -- and if so, click it.
If the BASIC button is showing, I wan...
Fillip asked 28/7, 2015 at 21:2
1
We would love to adopt Nightwatch.js for testing on browsers, but we're stuck on one major caveat: at the time of this writing, Nightwatchjs does not support running different tests using the same ...
Loment asked 31/7, 2015 at 12:13
7
Solved
I am using nightwatch for e2etesting my app. One of the tests fails because it cannot scroll to the element that it is testing I suspect. Question do I need to scroll or is there another way to do ...
Cameroncameroon asked 28/3, 2017 at 1:57
3
I'm trying to use Nightwatch to test a React application. I'm using React-Router with it.
When running my test with Nightwatch window is undefined.
React uses the following snippet to test if th...
Ascarid asked 18/4, 2015 at 9:17
5
Running Nightwatch tests on CI in Chrome. Sometimes (about once in 5 builds) I encounter following error, in one of the tests. Every test before this one works fine.
I have the latest Chromedrive...
Blackberry asked 5/1, 2017 at 14:35
1
I'm writing a nightwatch test for a Backbone View that includes Google's "recaptcha" human check. Obviously, the test is a bot, and so it can't pass the test. So I'm trying to figure out a way to b...
Liscomb asked 12/12, 2015 at 12:10
3
Solved
We're using Nightwatch to automate some of our UI testing. Some of the current tests are rather brittle, mostly having to do with weird CSS selectors, and I'm trying to simplify them. But some of t...
Kieserite asked 5/5, 2015 at 17:18
6
How can I make a globally accessible variable in nightwatch.js? I'm using a variable to store a customized url (dependent on which store is loaded in our online product), but I need it to be access...
Coffer asked 31/7, 2014 at 19:29
1
I'm having an issue with Nightwatch and Chrome when it launches in headless mode. I've setup a script to take screenshots of my page which I later compare against in order to figure out what the di...
Stephenstephenie asked 1/2, 2019 at 17:43
3
I have been using nightwatch.js and always clicked around elements. Is there a way we can hover over a link or button?
Wheelock asked 5/6, 2015 at 18:21
1
I am using Nightwatch and was hoping to monitor the http requests that are being generated by my nightwatch steps. Is there a way to listen to the requests that are sent and the responses received....
Oppen asked 30/5, 2016 at 23:0
4
How can I check until an element is clickable using nightwatch js? I want to click on an element but when I run nightwatch, selenium does not click on the element because it is not clickable yet.
...
Merline asked 18/3, 2016 at 0:36
5
I am new to using nightwatch.js.
I want to get a list of elements and verify text value of each and every element with a given string.
I have tried :
function iter(elems) {
elems.value.forEach(fu...
Philpott asked 12/5, 2015 at 14:30
4
Solved
I'm using nightwatch to test the frontend of an application.
I'm testing that some buttons are clickable or not.
Is it possible with nightwatch, to know if there was a network
request made by the ...
Froebel asked 26/3, 2015 at 18:17
6
Solved
How do I run only Test 3 from the following tests?
module.exports = {
'Test 1':function(){},
'Test 2':function(){}
'Test 3':function(){}
}
Escargot asked 3/2, 2015 at 21:21
4
Solved
I've been reading a lot about e2e testing and one thing I cannot understand is how "real" should e2e tests be.
Regardless of the tools I use for the e2e tests, I've seen that most of the time they...
Spurn asked 10/3, 2019 at 22:24
4
Solved
All my page objects look something like this:
elements: {
header: {
locateStrategy: 'xpath',
selector: "//h3[text()='Welcome']"
},
loginButton: {
locateStrategy: 'xpath',
selector: "//butt...
Pam asked 22/3, 2016 at 6:53
6
Solved
I'm running front-end tests using nightwatch.js using the Chrome Driver. I need to test that image uploading works properly, presumably through the provided file input since there are callbacks tha...
Interrogatory asked 26/6, 2014 at 21:40
4
Solved
I've been using nightwatch.js for functional test automation. The problem is that the test is pausing when the test suite is finished. It doesn't end the process. The code looks like this :
var af...
Freestanding asked 29/10, 2015 at 9:1
5
Solved
I know how to send click events with nightwatch:
browser.click('#my-control');
But I have been unable to find a way to send key events. How is this done in nightwatch?
Gabbie asked 7/1, 2016 at 21:5
3
Solved
Is there any way to ensure that the browser does not change from the initial window size. There are several things that are clicked during testing that are causing the window to maximize but i woul...
Talkie asked 6/6, 2015 at 19:12
4
Solved
Say I have these elements on my web page.
<a href="/dynamic1">One</a>
<a href="/dynamic2">Two</a>
<a href="/dynamic3">Three</a>
I want to click on the link ...
Vinculum asked 23/7, 2016 at 5:15
6
I'm trying to test if a todo app has the right number of elements.
The docs seem to deal almost exclusively with single elements, so I had to use the Selenium Protocol functions. Would this be the...
Fer asked 23/9, 2015 at 20:46
2
Solved
I just started using nightwatch with browserstack and I'm noticing that when we get a failed test, nightwatch registers the failure, but browserstack does not.
sample test I am using.
Also I am u...
Goodoh asked 29/1, 2016 at 11:48
1 Next >
© 2022 - 2024 — McMap. All rights reserved.