GithubHelp home page GithubHelp logo

Comments (5)

jakzal avatar jakzal commented on September 20, 2024

@jmauerhan this extension itself is configured to ignore @wip tags and it works fine. I also don't see how page object extension could affect excluding tags. Could you paste you behat.yml please?

from behatpageobjectextension.

jmauerhan avatar jmauerhan commented on September 20, 2024

Even if I run behat with --tags "~@wip" option it still runs the @wip tags features. This wasn't a problem until I installed the extension. My behat.yml has

filters:
    tags: "~@wip&&~@norun&&~@todo"

I've tried numerous combinations.

It still works fine if I want to run a specific tag, it runs only that tag, but I can't get it to exclude my @wip tags.

from behatpageobjectextension.

jakzal avatar jakzal commented on September 20, 2024

I just tried on my playground project which uses this extension: https://github.com/jakzal/behat-from-scratch

I annotated one of the scenarios with @wip, and both defining a filter on a suite and passing it as an option in cli works as expected.

Would you mind forking my project, trying it for yourself and maybe pushing an example which is broken?

from behatpageobjectextension.

jmauerhan avatar jmauerhan commented on September 20, 2024

I figured out the problem - If you have a comment on the tags line, the tags don't work. So I had my feature file like this: @wip #my comment here
And it can't see the @wip tag. If I move the comment to another line, it works as I expected.

from behatpageobjectextension.

jakzal avatar jakzal commented on September 20, 2024

In that case it's probably a bug in Gherkin. Might be worth to report it there.

from behatpageobjectextension.

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.