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

chore(deps): update dependency nightwatch to ^1.7.13 #298

Closed
wants to merge 453 commits into from

Conversation

garykim-dev-renovate[bot]
Copy link

@garykim-dev-renovate garykim-dev-renovate bot commented Jul 6, 2021

This PR contains the following updates:

Package Type Update Change
nightwatch (source) devDependencies minor ^1.3.6 -> ^1.7.13

Release Notes

nightwatchjs/nightwatch

v1.7.13

Compare Source

v1.7.12

Compare Source

v1.7.11

Compare Source

  • This version is only updating the proxy-agent dependency package to the latest version.

v1.7.10

Compare Source

  • Fixed #​2899 – an issue with setValue/sendKeys commands
  • Added new updateValue command

v1.7.9

Compare Source

  • Fixed an issue where selenium_host config property wasn't set (#​2892 )
  • Added support to set browserName to null in order to accommodate Appium (#​2882)

v1.7.8

Compare Source

  • Fixed #​2777 – an issue with using Chrome and Edge in parallel (#​2790)
  • Fixed #​2794 – using .verify asserts with await or waitFor commands with abortOnFailure=false didn't work in case of test failure (#​2802, #​2797)
  • Fixed #​2817 – inconsistent response format when using findElements command (#​2820)
  • Added support to send last error as failure reason in Browserstack transport (#​2778)

v1.7.7

Compare Source

  • Fixed #​2748 - tests not running in parallel when source folder is specified as cli argument

v1.7.6

Compare Source

  • Fixed #​2755 – npm postinstall issue on windows

v1.7.5

Compare Source

  • Fixed an issue with parallel running where the number of available workers wasn't set correctly in some cases - 7754054
  • Fixed xml output generation when running tests with multiple environments in parallel (#​2734)

v1.7.3

Compare Source

Nightwatch v1.7

New features

Nightwatch v1.7.0 introduces a few major new features and improvements for the test runner and also regarding the test syntax, such as:

Fluent API

It is now possible to use ES6 async/await syntax and also chain api commands together in the same test case; e.g.:

it('find elements example', async function(browser) {
    const resultElements = await browser
      .url('https://nightwatchjs.org')
      .findElements('.features-container li');

    resultElements.forEach(item => console.log('Element Id:', item.getId()))
});
Integrated support for Microsoft Edge

You can now use the newer (Chromium-based) Microsoft Edge browser to run your Nightwatch tests. The auto-generated nightwatch.conf.js already includes configuration, so you can just run by passing the edge environment:

$ nightwatch --env edge
Parallelism for Firefox, Chrome, Safari, and Edge

You can now run tests in parallel via workers in any browser. Not only that, but now you can also run via test workers across multiple browsers in parallel.

Example:

$ nightwatch --env edge,firefox,chrome --parallel

New API commands

  • .findElement() / .findElements() - these commands provide improved support for locating single/multiple elements on the page; the response contains the web element id and a .getId() convenience method.

Example:

const resultElements = await browser.findElements('.features-container li');
resultElements.forEach(item => console.log('Element Id:', item.getId()))

const resultElement = await browser.findElement('.features-container li:first-child');
console.log('Element Id:', resultElement.getId());
  • .setPassword - support to redact params in logs (#​2672)
  • .isSelected() element command and assert.selected() assertion
  • .isEnabled() element command and assert.enabled() assertion

Fixes & Improvements

  • Added support to recursively append properties from super-env in test-settings (#​2718)
  • Fixed #​2695 - use locate strategy from args when valid strategy is found for waitFor element commands (#​2716)
  • Fixed #​2677 - add option to disable loading of typescript tests
  • Fixed an issue where test status wasn't reported for parallel runs (#​2733)

v1.7.2

Compare Source

Minor update to the auto-generated nightwatch config.

v1.7.1

Compare Source

This is a minor update to increase the default timeout option for browserstack in the auto-generated nightwatch config.

v1.7.0

Compare Source

This is a pre-release version for v1.7.3

v1.6.4

Compare Source

  • Fixed #​2402 - screenshots are not captured in some cases when failure occurs
  • Fixed #​2508 - add timestamp in currentTest result
  • Fixed #​2001 - add stackTrace for no element found errors

v1.6.3

Compare Source

  • Fixed #​2532 - passing a custom message with only time(%d) placeholder
  • Fixed #​2627 - an issue with custom commands written in Typescript
  • Fixed an issue where passing timeout and retryInterval as element properties in assertions didn't work (#​2637)

v1.6.2

Compare Source

  • Added filename_format config option for setting the filename format of the screenshots -- #​2023 (see docs

v1.6.1

Compare Source

  • Fixed #​2624 - use locate strategy from config as default for page object elements

v1.6.0

Compare Source

  • Added #​2559 – support for using TypeScript (.ts) for test files
  • Added #​2616 – support for using config locate strategy as default for page object element selectors
  • Fixed #​2573 – an issue where result of element() and elements() commands where inconsistent when used on section elements
  • Fixed #​2522 – an issue where element results where incorrect for Safari in BrowserStack
  • Fixed #​2582 – making sure the test results are not discarded when an uncaught exception occurs.

v1.5.1

Compare Source

  • Fixed #​2529 - false warnings about settings being defined in globals

v1.5.0

Compare Source

Nightwatch v1.5 introduces support for using third-party automation libraries directly into Nightwatch tests, thus providing significantly more flexibility in writing custom commands/assertions and also the test itself. This functionality also aims to eliminate some of the burden in choosing between various frameworks, by providing the possibility to combine the functionality offered by other libraries, such as selenium-webdriver or WebdriverIO, with Nightwatch.

Other fixes and improvements:
  • Fixed #​2245 - test_settings is undefined in global before hook
  • Added --parallel cli flag for easier running of tests with test workers – 5cfc278
  • Added a config setting to display timestamps in iso format – 1dad022

v1.4.3

Compare Source

  • Fixed #​2489 - api commands throwing TypeError when called inside page section custom commands
  • Fixed #​1969 - element selectors from page sections not working when used in custom commands

v1.4.2

Compare Source

  • Fixed #​2488 - 'element not found' errors thrown by JsonWire protocol for /element requests were not ignored
  • Fixed an issue where the WebElement ID is not retrieved correctly when using chrome with selenium server and jsonwire transport

v1.4.1

Compare Source

  • Fixed #​2486 - mocha test runner was unavailable.

v1.4.0

Compare Source

This version significantly improves the network stability and performance of the test runner, by improving the underlying http retry mechanism and error detection and reporting of API commands – a particularly important update for when using cloud testing services.

Additionally, we have added better support for writing advanced custom commands to make it easier to extend Nightwatch, and improved support for using Nightwatch programmatically. See writing custom commands docs page.

The Developer Guide docs also have been updated.

Changelog:
  • Added improved http request retry mechanism and better error reporting for api commands – a04162c
  • Added enhancements to assist in writing of custom commands – c977b16
  • Added abortOnElementLocateError global property to control if the testcase in progress should continue in the event of an element locate error (as a result of a click, getText, etc. command) – #​2459
  • Fixed an issue with merging the config settings when passed programmatically – #​2483
  • Fixed an issue where transport was set incorrectly for Chrome when using chromeOptions.w3c:trued56a9db
  • Fixed an issue where the locator strategy was not taken into account when specifying first argument in a waitFor* command – #​2446
  • Fixed #​2458 - implemented proper handling of 5xx server errors sometimes encountered during element commands, usually when using cloud testing services or selenium grid

v1.3.7

Compare Source

Added new setting test_workers.node_options to enable passing node options to individual test worker processes.
Usage:

  • This will pass all of process.execArgv:
test_workers: {
    enabled: true,
    // automatically compute the number of workers based on CPU cores
    workers: 'auto',
    // pass node arguments to individual workers (all of the process.execArgv)
    node_options: 'inherit',
},
  • This will pass only the specified cli options:
test_workers: {
    enabled: true,
    workers: 'auto',
    // selectively pass node arguments to individual worker processes
    node_options: ['--inspect']
},

Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, click this checkbox.

gary-kim and others added 30 commits March 16, 2020 22:44
Signed-off-by: Gary Kim <gary@garykim.dev>
…e class

Signed-off-by: Suhas Hariharan <hariharan774531@sas.edu.sg>
Signed-off-by: Suhas Hariharan <hariharan774531@sas.edu.sg>
Signed-off-by: Suhas Hariharan <hariharan774531@sas.edu.sg>
…ious calculate_credit_hours function

Signed-off-by: Suhas Hariharan <hariharan774531@sas.edu.sg>
Signed-off-by: Suhas Hariharan <hariharan774531@sas.edu.sg>
…ive gpa message

Signed-off-by: Suhas Hariharan <hariharan774531@sas.edu.sg>
Hypothetical Assignment will show a NaN if
there is no value in the percentage input.

This is a fix for that issue. If there is no
value in the percentage field, it will be treated
as a zero.

Signed-off-by: Gary Kim <gary@garykim.dev>
Added function to calculate cumulative GPA(including unfinished semesters)
Signed-Off-by: Gary Kim Bot <bot@garykim.dev>
Signed-Off-by: Gary Kim Bot <bot@garykim.dev>
Signed-Off-by: Gary Kim Bot <bot@garykim.dev>
Signed-Off-by: Gary Kim Bot <bot@garykim.dev>
Signed-Off-by: Gary Kim Bot <bot@garykim.dev>
This commit makes several improvements.
It migrates the options page to Vue, changes the
author field and copyrights to include
The SAS PES Authors,
deduplicates some code,
and adds some missing information/fixes to the README.

Signed-off-by: Gary Kim <gary@garykim.dev>
Mozilla's Webextension Polyfill throws an error when
run in the unit test environment. This has been fixed
by mocking the browser environment using browser-env
and having a global `chrome` object.

Signed-off-by: Gary Kim <gary@garykim.dev>
Migrate options to Vue and go more community driven
Signed-Off-by: Gary Kim Bot <bot@garykim.dev>
Signed-off-by: Suhas Hariharan <hariharan774531@sas.edu.sg>
…orage API

Signed-off-by: Suhas Hariharan <hariharan774531@sas.edu.sg>
chore(deps): update dependency ava to ^3.5.1
chore(deps): update dependency webpack to ^4.42.0
…oJson method for class

Signed-off-by: Suhas Hariharan <hariharan774531@sas.edu.sg>
Signed-off-by: Suhas Hariharan <hariharan774531@sas.edu.sg>
chore(deps): update dependency vue-loader to ^15.9.1
chore(deps): update dependency eslint-plugin-vue to ^6.2.2
chore(deps): update dependency eslint-plugin-import to ^2.20.1
Signed-Off-by: Gary Kim Bot <bot@garykim.dev>
Suhas Hariharan and others added 21 commits October 12, 2021 13:48
Signed-off-by: Suhas Hariharan <hariharan774531@sas.edu.sg>
Signed-off-by: Suhas Hariharan <hariharan774531@sas.edu.sg>
Signed-off-by: Suhas Hariharan <hariharan774531@sas.edu.sg>
Signed-off-by: Suhas Hariharan <hariharan774531@sas.edu.sg>
Signed-off-by: Suhas Hariharan <hariharan774531@sas.edu.sg>
Signed-off-by: Suhas Hariharan <hariharan774531@sas.edu.sg>
Signed-off-by: Suhas Hariharan <hariharan774531@sas.edu.sg>
Signed-off-by: Suhas Hariharan <hariharan774531@sas.edu.sg>
Signed-off-by: Suhas Hariharan <hariharan774531@sas.edu.sg>
Re-adds percentages and fix powerschool changes. also fixes category weighting.
Signed-off-by: Suhas Hariharan <hariharan774531@sas.edu.sg>
Signed-off-by: fillnye <60429866+fillnye@users.noreply.github.com>
Signed-off-by: Suhas Hariharan <hariharan774531@sas.edu.sg>
Signed-off-by: Suhas Hariharan <hariharan774531@sas.edu.sg>
Signed-off-by: Suhas Hariharan <hariharan774531@sas.edu.sg>
Signed-off-by: Suhas Hariharan <hariharan774531@sas.edu.sg>
Signed-off-by: Suhas Hariharan <hariharan774531@sas.edu.sg>
Signed-off-by: Suhas Hariharan <hariharan774531@sas.edu.sg>
Fixed issues due to PowerSchool UI update and fixed category weighting bug
Signed-off-by: Suhas Hariharan <hariharan774531@sas.edu.sg>
@gary-kim-bot gary-kim-bot changed the title chore(deps): update dependency nightwatch to ^1.7.11 chore(deps): update dependency nightwatch to ^1.7.12 Nov 17, 2021
Suhas Hariharan and others added 2 commits November 21, 2021 21:37
fix: ignore queries for home page
Signed-off-by: Gary Kim Bot <bot@garykim.dev>
@gary-kim-bot gary-kim-bot changed the title chore(deps): update dependency nightwatch to ^1.7.12 chore(deps): update dependency nightwatch to ^1.7.13 Dec 15, 2021
@garykim-dev-renovate garykim-dev-renovate bot deleted the renovate/nightwatch-1.x branch January 9, 2024 06:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants