RUN a SPECIFIC test using CYPRESS-GREP (TAGS) | Cypress Tutorial For Beginners

Sdílet
Vložit
  • čas přidán 21. 08. 2024
  • 🚀 Let's meet this CYPRESS PLUGIN that can help you to GROUP a TEST SUITE and EXECUTE your TESTS using TAGS to FILTER them as per your needs.
    #cypress #javascript #testing
    Repo/Plugin: github.com/cyp...

Komentáře • 38

  • @joanmedia
    @joanmedia  Před 3 lety

    🤖DISCORD: discord.gg/2F9E2fRGaU
    ⭐PREMIUM Cypress + Typescript course: shorturl.at/dcnPn
    📣FREE Cypress videos: shorturl.at/h6iEX

  • @omanpios88
    @omanpios88 Před 2 měsíci

    Just what I was looking for! Thanks!

  • @sachinm93
    @sachinm93 Před 3 lety +3

    Your videos on Cypress are super helpful and I learn something new every time I watch them.
    Can you please do a video on how to test email using Cypress using Gmail test library.

    • @joanmedia
      @joanmedia  Před 3 lety +3

      Hi Sachin! Thanks for your comment and I am really happy to hear that. I will add it to my to-do list :)

  • @VictorUngur
    @VictorUngur Před 2 lety +2

    Thank you for this demo! Excellent explanation!

  • @FYPNLP
    @FYPNLP Před 3 lety +1

    Nearly 1000 subscribers. Congratulations 🎉🎉🎉

    • @joanmedia
      @joanmedia  Před 3 lety

      Thanks for the comment. 🎈🎈👌 Really happy about that 🙏

  • @cemalatayeter4726
    @cemalatayeter4726 Před rokem +1

    Really, you are very good a teacher. I'm grateful :)

    • @joanmedia
      @joanmedia  Před rokem

      Thanks for your feedback :D happy to hear you liked it :D

  • @poornapragnyas8703
    @poornapragnyas8703 Před 2 lety +1

    You've made my work simpler

    • @joanmedia
      @joanmedia  Před 2 lety

      haha right? Thanks for the comment!

  • @ChetanNaik-kc9cv
    @ChetanNaik-kc9cv Před rokem +2

    can you please make a video on how to use grep tag in cypress cucumber feature files?

  • @luckyyadav8904
    @luckyyadav8904 Před rokem

    Very helpful bro 👍👍👍
    Keep it up 🙂

  • @tonia2039
    @tonia2039 Před rokem

    This is exactly what I need. Thanks!

  • @k.sharathchandrakummari1720

    You did a great job

  • @HariGowtham_R
    @HariGowtham_R Před 2 lety

    Hi @JoanMedia please post a video with Cypress-grep with cucumber preprocesser

  • @user-he8qc4mr4i
    @user-he8qc4mr4i Před 2 lety +1

    Thx for sharing! Was not aware of this library. BTW what other libraries are out there that provides same or better features?

    • @joanmedia
      @joanmedia  Před 2 lety

      I need to do make videos about it, but I think you can see some plugins at: glebbahmutov.com/blog/
      He has a YT channel too, and develop constantly interesting plugins!

  • @manikantan2457
    @manikantan2457 Před rokem +1

    Hey Joan ,
    How can we run the Tags specific in BDD Cucumber feature with Cypress 10 + TypeScript.?

    • @joanmedia
      @joanmedia  Před rokem

      Hey Mani
      Check this repo:
      github.com/JoanEsquivel/cypress-cucumber-boilerplate
      There you have an example :D I'll try to make a video soon about it.

  • @sumanthpai6100
    @sumanthpai6100 Před 3 měsíci

    Cant you add tags to specific tests rather than the entire test suite i.e describe?, We may want to run some tests in a test suite for different purposes like regression , smoke , sanity etc

  • @rajatt95
    @rajatt95 Před 2 lety +1

    Very well explained.
    Appreciable.

  • @benjaminzarabiyan2191

    Hi
    for some reason, i can't setup it up in Cypress 10
    it has maybe a different configuration?

  • @hibabarakat3873
    @hibabarakat3873 Před 2 lety

    Hey There, I tried to run the exact same steps, but i. can see that all tests are skipped, Can you please help me with this ?

  • @ayodejijoseph6864
    @ayodejijoseph6864 Před rokem

    Great video, really love it, am trying to add tag to my test using { tags: '@sanity '} in my .ts but I get an error which I cannot resolve, don't know if you've come across this error and how you resolved it ?? ```Argument of type '{ tags: string; }' is not assignable to parameter of type 'TestConfigOverrides'.
    Object literal may only specify known properties, and 'tags' does not exist in type 'TestConfigOverrides'.```

  • @rezolution4340
    @rezolution4340 Před 4 měsíci +1

    is this still relevant for cypress 13X ?

    • @joanmedia
      @joanmedia  Před 4 měsíci

      I think so! Recently I used it

    • @rezolution4340
      @rezolution4340 Před 4 měsíci

      @@joanmedia thanks, I got it to work. But I can't use --tag the same way. i.e ... --tag = "regresion"

  • @princebautista
    @princebautista Před rokem

    Does this work with Cypress v10?

  • @jjdenny
    @jjdenny Před rokem +1

    Does it affect the cypress report?

    • @joanmedia
      @joanmedia  Před rokem

      When I tested it, the report just marked them as skipped.

    • @jjdenny
      @jjdenny Před rokem +1

      @@joanmedia Thanks for the reply. In my case, there is no html report generated, just the summary from the terminal

    • @joanmedia
      @joanmedia  Před rokem

      @@jjdenny great. The same then haha