Integrated end-to-end testing framework written in Node.js and using W3C Webdriver API. Developed at @browserstack
MIT License
Bot releases are hidden (Show)
Published by beatfactor almost 2 years ago
.within(<selector>)
command which adds support for querying within elementsPublished by beatfactor almost 2 years ago
The v2.5.2 release adds API Testing capabilities to Nightwatch with the official plugin @nightwatch/apitesting
which enables:
Published by beatfactor almost 2 years ago
Run tests on Mobile web
@nightwatch/mobile-helper
Nx monorepo integration with the Nx plugin @nightwatch/nx
report_network_errors
is enabledenable_fail_fast
enabledasync
callback to browser.perform()
selenium-webdriver
to 4.5.0
Mobile Helper, Nx support (monorepos), API Testing and more: Nightwatch Release Walkthrough v2.5.0
Published by beatfactor almost 2 years ago
--open
cli argument wasn't working properly #3459
Published by beatfactor about 2 years ago
The v2.4.0 release brings improved support for Component Testing, which includes:
@nightwatch/storybook
play()
functiontest()
function in the Nightwatch contextaxe-core
suite of commandsvite-plugin-nightwatch
@nightwatch/vue
@nightwatch/react
JSX
directly--serial
to run tests in serial mode (disable parallelism)--workers
to specify the number of test workers to be used when running tests in parallel--reuse-browser
to reuse the browser session if running in serial mode--debug
– automatically pause the test execution after mounting the component and open the Nightwatch debug REPL interface.--story
- allows to specify which story to run from the current file (when using Storybook or JSX written in component story format)--preview
- used to preview a component story/test; automatically pause the test execution after mounting the component.--devtools
CLI flag in Edge and Safari to open the Dev Tools automaticallynightwatch.conf.ts
as config file and a few other improvements for running typescript tests PR #3316
Published by beatfactor about 2 years ago
Minor update for the axe-nightwatch-verbose
dependency.
Published by beatfactor about 2 years ago
nightwatch-axe-verbose
as a bundled dependency to enable accessibility testing out of the box #3389
Published by beatfactor about 2 years ago
expect.cookie
always returning undefined valueasync
/await
testcase e9e38c
Published by beatfactor about 2 years ago
it()
/ test()
is marked as skippedPublished by beatfactor about 2 years ago
--list-files
(#3246)buildname
to settings when running on BrowserstackPublished by beatfactor over 2 years ago
Added pause and debug capabilities - https://github.com/nightwatchjs/nightwatch/issues/3243
Add a pause() command to pause your tests indefinitely. In pause mode, you can check the state of your browser or use DevTools to debug. You can also see step-by-step execution from the paused state where the test automatically pauses at the next step.
Note: The current pause command usage stays as is. You can pass the duration of the pause and the test will pause only for that duration on the mentioned devices.
Add a debug() command to pause your test at that step. The debug mode also allows you to check the state of the browser and use DevTools. Furthermore, it offers you an interface to try out nightwatch commands and assertions while your test is paused.
Nightwatch release walkthough
Published by beatfactor over 2 years ago
chromeOptions
in older format didn't work.mockNetworkResponse()
to accept relative urls (to launch_url
setting)selenium-webdriver
version to 4.3.1 (#3278)Published by beatfactor over 2 years ago
expect.element().to.not.be.present
throws error when the element is not presentThe new Nightwatch init CLI tool is now available to use in order to kick-start a new Nightwatch test project in under 60 seconds.
Simply run:
npm init nightwatch
Release notes for create-nightwatch
:
https://github.com/nightwatchjs/create-nightwatch/releases/tag/v1.0.0
Published by beatfactor over 2 years ago
The latest release introduces a new built-in HTML reporter and several new API commands based on the Chrome Devtools Protocol for mocking network responses, capturing logs, and more.
Added new integrated HTML reporter with test status, assertion logs & raw HTTP logs - #3223; Read more
Added built-in API commands for working with the Chrome Devtools Protocol - #3208:
Added --mocha
cli flag to quickly switch the test runner to use Mocha
Added --open
cli flag to open the generated HTML report automatically
Added new integrated JSON reporter
Added support for using multiple reporters - #3003; to specify more reporters just add several --reporter
arguments, e.g.: nightwatch --reporter html --reporter junit --reporter custom-reporter
selenium-webdriver
to v4.2.0 - #3215Published by beatfactor over 2 years ago