Exploring Playwright's Trace Viewer for debugging locally and on CI

Sdílet
Vložit
  • čas přidán 22. 08. 2024

Komentáře • 11

  • @gruttewibe76
    @gruttewibe76 Před měsícem +1

    Such an underrated and too often overlooked useful tool.

  • @MohammedAZahid
    @MohammedAZahid Před měsícem +2

    I was really tired with "Step In" and "Step Out" and "Step Over" since they have always killed time , it is always fortunate with trace option which allows you to go back to the previous Step while debugging and fixing the issue becomes very very easy.Thanks a lot for making our lives easier

  • @juanmaguero
    @juanmaguero Před měsícem +2

    Thank you Debbie and Playwright team!

  • @user-yr2ph9nn8n
    @user-yr2ph9nn8n Před měsícem +7

    where is Slushnikov?

  • @thisawesomeworld
    @thisawesomeworld Před měsícem +3

    How to open the trace viewer on CI? You missed the most important thing

    • @patrick93ferreira
      @patrick93ferreira Před měsícem

      npx playwright test --ui

    • @Playwrightdev
      @Playwrightdev  Před měsícem

      You run your Playwright tests on CI, then upload a Trace after the tests completed and open the Trace locally on trace.playwright.dev. See here: playwright.dev/docs/ci-intro
      Usually you upload the playwright-report directory, which contains the full HTML report including the traces.

  • @SheikhFaisalMiskhat
    @SheikhFaisalMiskhat Před měsícem

    thanks

  • @wendyliew7254
    @wendyliew7254 Před měsícem +1

    How to add color pkg to your trace viewer?

    • @Playwrightdev
      @Playwrightdev  Před 3 dny

      Please file a bug report on GitHub if you have feedback on Trace Viewer, thanks!