Giter Club home page Giter Club logo

cucumber-nightwatch's Introduction

cucumber-nightwatch's People

Contributors

renovate[bot] avatar tim-yao avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

henrytranvan

cucumber-nightwatch's Issues

Nightwatch API command won't throw error if test fail

The below command won't fail cucumber tests when it fails.

    // These won't fail
    await this.browser.waitForElementVisible(
      '#not-existing-element',
      1000,
      0,
      true,
      function (result) {
        console.log('result', result)
      }
    )
    await this.browser.waitForElementPresent(
      'css selector',
      '#not-existing-element'
    )
    await this.browser.click('#not-existing-element')
    await this.browser.ensure.elementIsVisible('#not-existing-element')

Below works.

    await this.browser!.expect.element('#not-existing-element').to.be.present;
    await this.browser!.expect.element('#not-existing-element').to.be.visible;
    await this.browser!.assert.visible('#not-existing-element')

`abortOnFailure` option is not working

The below examples will fail the test step even though abortOnFailure is false.

await this.browser.waitForElementPresent('.not-existing-element', 100, false)
await this.browser.waitForElementPresent({
      selector: '.not-existing-element',
      retryInterval: 1000,
      abortOnFailure: false
    });

This is also related to the bugs in Nightwatch.js programmatic API. I have reported it to the Nightwatch team to look at nightwatchjs/nightwatch#3499

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

github-actions
.github/workflows/npm-publish.yml
  • actions/checkout v4
  • actions/setup-node v4
.github/workflows/test.yml
  • actions/checkout v4
  • actions/setup-node v4
  • actions/upload-artifact v3
  • mikepenz/action-junit-report v4
npm
package.json
  • consola ^3.1.0
  • @cucumber/pretty-formatter ^1.0.0
  • @tsconfig/node18 ^18.2.0
  • @typescript-eslint/eslint-plugin ^6.0.0
  • @typescript-eslint/parser ^6.0.0
  • eslint ^8.39.0
  • eslint-config-prettier ^9.0.0
  • prettier ^3.0.0
  • typescript ^5.0.4
  • @cucumber/cucumber >=9.0.0
  • nightwatch ^3.1.0
  • node >=18.0.0

  • Check this box to trigger a request for Renovate to run again on this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.