Cypress with Cucumber Part 2: Parameters as a String | DataTable in Cucumber | Cypress

Поделиться
HTML-код
  • Опубликовано: 31 янв 2025

Комментарии • 18

  • @nikhathkousersyeda7975
    @nikhathkousersyeda7975 3 дня назад

    hi, thank you, nice tutorials

  • @Manish6059
    @Manish6059 Месяц назад

    You started talking suddenly in Telugu, still i can understand cypress somehow. It was just for 5 mins. No Problem

  • @chiragbansod4003
    @chiragbansod4003 Год назад

    i am facing issue when i load cypress after setting everything. it shows Your configFile threw an error from: cypress.config.js
    We stopped running your tests because your config file crashed. can you please help

    • @testingtutorialspoint
      @testingtutorialspoint  Год назад

      May be some configuration issue check with my code. Open any latest video click on description there you will find my git repo url open then find Cypress project repo compare your configuration and my configuration then run it will work

  • @nithinkumardatti5846
    @nithinkumardatti5846 7 месяцев назад

    can you help me now. after installing everything. While writing cucumber file it is taking as plane text, instead of color code. and after opening cypress app also, feature file not showing

  • @myhanhnguyen5198
    @myhanhnguyen5198 Год назад

    hello, how about the parameter password as NUMBER? I could not implement the test with the command: cy.get('name=password').type(1234) because type or fill doesn't support number type

    • @testingtutorialspoint
      @testingtutorialspoint  Год назад

      Hi, you can pass like this When provide valid 'mercury' and '1234' no need to change step defi file it will take as string in back end

    • @myhanhnguyen5198
      @myhanhnguyen5198 Год назад

      @@testingtutorialspoint The problem is that the input element itself on the website, it includes the type 'number' so when cypress gets the input element and then type a user ID number in it, the error appears
      cy.get("input[type='number']").type("9999")
      When(
      "User enters userID as {number}",
      (userID) => {
      cy.get("input[type='number']").type(userID);
      }
      );
      As I understand, the input field require the user to enter a number but it gets a string

    • @testingtutorialspoint
      @testingtutorialspoint  Год назад

      If you don't mind can you give your website url i will check and provide you

  • @JoolieEm
    @JoolieEm Год назад +2

    I can't believe you switched to the Hindu language in the middle of teaching.

    • @testingtutorialspoint
      @testingtutorialspoint  Год назад +1

      Sorry i have another youtube channel as well i forgot

    • @segunopaleye7243
      @segunopaleye7243 5 месяцев назад

      Same here.... Its so funny. And as much as i am not entitled, i was disappointed.

    • @sydney7400
      @sydney7400 4 месяца назад

      Haha yea it was so random

  • @SandipSuman-sz9yi
    @SandipSuman-sz9yi Год назад

    Why you switched from English to local language? is it a proper way of teaching??

    • @testingtutorialspoint
      @testingtutorialspoint  Год назад +2

      Sorry for that i have telugu youtube channel as well now again planning to recreate new video for only english once my mobile testing video complete