Coder Social home page Coder Social logo

Comments (4)

wdio-bot avatar wdio-bot commented on May 25, 2024

Thanks for reporting!

We greatly appreciate any contributions that help resolve the bug. While we understand that active contributors have their own priorities, we kindly request your assistance if you rely on this bug being fixed. We encourage you to take a look at our contribution guidelines or join our friendly Discord development server, where you can ask any questions you may have. Thank you for your support, and cheers!

from webdriverio.

jemishgopani avatar jemishgopani commented on May 25, 2024

@alexradulescuqa can you please attach reproducible example here?

from webdriverio.

alexradulescuqa avatar alexradulescuqa commented on May 25, 2024

Hey @jemishgopani . Sure. I will do it in a few days. I'm a little caught up with work at the moment.

from webdriverio.

alexradulescuqa avatar alexradulescuqa commented on May 25, 2024

I looked into it some more. If I am not mistaken, this is happening due to how Mocha does things.
However, Browserstack marks the tests as failed instead of pending.
Mocha docs say that they should be pending. 🤔

Also, according to documentation:

Note: Code in skipped suites, that is placed outside of hooks or tests is still executed, as mocha will still invoke the suite function to build up the suite structure for visualization.

This basically means that we'll always spin up the device in Browserstack even though the tests are marked as skipped, when using Mocha, instead of not starting the test at all.

https://mochajs.org/#inclusive-tests

I think that this is an expected behavior rather than a bug as a whole. Perhaps an improvement Browserstack can make, but not an issue on WebDriver.io's side.

Closing because of reasons above.

from webdriverio.

Related Issues (20)

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.