What's new in Playwright 1.36 & 1.37

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

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

  • @phil561
    @phil561 Год назад +28

    I love the approach to creating videos alongside the release notes to demo changes, it adds a lot of helpful context, thank you!

  • @vijayacharya6158
    @vijayacharya6158 Год назад +8

    merge report is a great feature! and 25000 tests.. wow! Could you do a vlog on the various patterns used to develop these tests, please?

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

      💯 +1

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

      Playwright has around 4500 unique tests as of today. We run all our tests across all operating systems (win/ubuntu20/22/amd/arm64/macos11/macos12, arm etc) and browsers (wk/ff/cr and channels like Google Chrome or Edge) which we support. Some with video/tracing enabled. All our tests are inside the “tests” directory inside the project repository. We have the golden rule of always adding a test for every specific small feature or bug, so it does not regress, hope that helps!

  • @n4bb12
    @n4bb12 Год назад +5

    You two are a great duo.

  • @Zale370
    @Zale370 Год назад +9

    01:08 📙 Debian 12 is now fully supported across all browsers in Playwright 1.37.
    04:11 🛠 UI mode updates in Playwright 1.37 allow for project dependency support and provide better debugging capabilities with console logs.
    06:29 🖥 The console and network tabs in UI mode now show all the information across the test, making it easier to view logs and network requests.
    12:58 📊 The new CLI tool called merge reports in Playwright 1.37 allows for merging multiple blob reports into a single HTML report, making it easier to view the results of parallel test runs.
    18:41 🖥 The merge reports tool can be used in any CI environment and provides a convenient way to analyze test results and failures.

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

      All these features are available in other programming language bindings or it’s specifically for js

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

      @@nirmalchakraborty8608 From what I see, these improvements are mostly for the NodeJS ecosystem (except the Debian 12 support maybe, and the trace viewer improvements). It's kind of logical, since NodeJS is where the team developed their own feature-rich test runner/framework. Most of the focus went to that. The other ecosystems still have the library (which is pretty awesome by itself) and some basic integration with the de-facto test runners for those ecosystems.

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

      I think just for js
      @@nirmalchakraborty8608

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

    Awesome changes! waited for that UI mode dependencies support, now I can share it with the organization!

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

    Nice updates. Thank you for sharing the demo.

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

    This is great work, makes reading of test report easy.

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

    thanks guys a lot!

  • @dangnguyen.92
    @dangnguyen.92 Год назад

    thank debs thank aslushnikov much.

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

    Looks great!

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

    really awesome!!

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

    Really nice. But, sharding only works good if all test are taking approximately same time. IF 10 test are taking longer then another then overall build time will be a bit higher and most worker will be ideal. If we can add one more feature like AI-Sharding which can give pending test from one shard to another shard’s worker only if worker is ideal?

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

    👏

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

    I wanna introduce this new guy on my current job, any advice to add in my poc ?
    BTW this new features are good

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

    Has anyone noticed that when a test case has completed execution on Windows, it takes nearly 30 secs before the process exits? Maybe it's just me. But same thing is not noticed when executing on Linux platform. This has been happening since long time and not on any new versions

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

      If you have a reproduction for it, please file an issue on GitHub.
      Usually this is because it’s saving the trace after the test has been finished. For that change trace from on to on-first-retry.
      Hope that helps, thanks!

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

    So in Merge Reports do you have also integrated, that the date is written in the header?

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

      Please file a feature request for it, thanks!

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

    Cool! But I got one question.
    What about traces and screenshots that are stored in the test-results folder? How do we collect them across all shards?

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

      They are inside the blob and will be part of the final HTML report.

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

    Hi! How to update for v.1.37?

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

      -> npm install -D @playwright/test@latest
      playwright.dev/docs/best-practices#keep-your-playwright-dependency-up-to-date

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

    any tips work with firebase admin please ?