UI Testing with Jest & Puppeteer - Part 2

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

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

  • @talkohavy
    @talkohavy 2 года назад

    Hey, how were you able to use es6 import statement?
    Did you do something with babel?
    Could you show us exatly how to accomplish that please?

  • @fabianmerchan
    @fabianmerchan 5 лет назад +1

    Great tut, thank you so much!

    • @praveenkumarganesh
      @praveenkumarganesh 5 лет назад

      Did you get timeout - Async callback was not involved within the 10000ms timeout speciifed by jest.setTimeout.Timeout error. Can you please tell me how you solved it

  • @ra77le
    @ra77le 4 года назад +1

    have you wondered on any model to organize code better - like POM for selenium ?

    • @Classsed
      @Classsed  4 года назад

      You can either put every page in its folder along with the test for it or have a "pages" folder with all the pages and a "tests" folder with all the tests, what ever works for you and your team, hope this helps

  • @JGJA07
    @JGJA07 5 лет назад

    Super usefeul. Great stuff!

    • @praveenkumarganesh
      @praveenkumarganesh 5 лет назад

      Did you get timeout - Async callback was not involved within the 10000ms timeout speciifed by jest.setTimeout.Timeout error. Can you please tell me how you solved it

  • @PRIYANANDANALOK
    @PRIYANANDANALOK 4 года назад

    I am writing some pa11y test case using jest and pupeeter, and m new to it. Shall i use if statement inside the test block? I am stuck on one of the scenario

  • @testpassion1338
    @testpassion1338 4 года назад

    I would like to automate the performance record and stop in chrome dev tools but will Puppeteer give me a way to save the interactive timeline report? Can puppeteer be run in a headfull mode? in an incognito tab? I saw the developers page but no specific examples

  • @joelleon8712
    @joelleon8712 5 лет назад

    hi, can you do it with generic data, i mean comparing mocks or data comming fron services with the inputs, thank you in avance

  • @amlife180
    @amlife180 5 лет назад

    Thank you, I believe you can close only the page instead of whole browser, page.close()
    Will certainly be faster than booting up the browser on each test.
    Happy coding : D

    • @praveenkumarganesh
      @praveenkumarganesh 5 лет назад

      Did you get timeout - Async callback was not involved within the 10000ms timeout speciifed by jest.setTimeout.Timeout error. Can you please tell me how you solved it

  • @mohak1990y
    @mohak1990y 4 года назад

    I am facing weird UI Kitten issue when using mount while testing :
    Text: unsupported configuration.
    Using UI Kitten components is only possible with configuring ApplicationProvider.