What's new in Playwright v1.49: ARIA snapshots, chrome headless changes

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

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

  • @tririfandani1876
    @tririfandani1876 3 дня назад +4

    Snapshot aria testing is interesting

  • @powertester5596
    @powertester5596 3 дня назад +1

    That’s a great feature to add to playwright. Thanks!

  • @sl981s
    @sl981s 2 дня назад

    so awesome...

  • @sen86sen
    @sen86sen 3 дня назад +3

    I can see change only on Node.js release notes for 1.49.0 and not on Java side will it take time ?

    • @Playwrightdev
      @Playwrightdev  2 дня назад +1

      The other languages get updated usually 1-2 weeks after the normal release happens in order to pick up potential bugfixes.

    • @sen86sen
      @sen86sen 10 часов назад

      @@Playwrightdev Thank you I found the changes for Java and thanks for the quick push within 2 days. I believe the quicker from Playwright will helpful in SDET's to taste the features on their IDE's and the execution. Thanks Simon Knott & Dimtry ...

    • @sen86sen
      @sen86sen 2 часа назад

      @@Playwrightdev I tried snapshots with Java_Eclipse environment and it worked well for Positive scenarios but in case of failed tests I am not be able to see the error on the particular failure like you have achieved instead I got the error like below.
      Exception in thread "main" org.opentest4j.AssertionFailedError: Locator expected to match Aria snapshot: - banner:
      - heading "Playwright enables awasome end-to-end testing for modern web apps." [level=1]
      - link "Get started"
      - link "Star microsoft/playwright on GitHub"
      - link /[\d,.]+[bkmBKM]+\+ stargazers on GitHub/
      Received: {raw=- banner:
      - heading "Playwright enables reliable end-to-end testing for modern web apps." [level=1]
      - link "Get started"
      - link "Star microsoft/playwright on GitHub": Star
      - link "67k+ stargazers on GitHub": 67k+, regex=- banner:
      - heading "Playwright enables reliable end-to-end testing for modern web apps." [level=1]
      - link "Get started"
      - link "Star microsoft/playwright on GitHub"
      - link /[\d,.]+[bkmBKM]+\+ stargazers on GitHub/}
      Call log:
      - Locator.expect with timeout 5000ms
      - waiting for getByRole(AriaRole.BANNER)
      9 × locator resolved to …
      - unexpected value "- banner:
      - heading "Playwright enables reliable end-to-end testing for modern web apps." [level=1]
      - link "Get started"
      - link "Star microsoft/playwright on GitHub": Star
      - link "67k+ stargazers on GitHub": 67k+"
      at com.microsoft.playwright.impl.AssertionsBase.expectImpl(AssertionsBase.java:74)
      at com.microsoft.playwright.impl.LocatorAssertionsImpl.matchesAriaSnapshot(LocatorAssertionsImpl.java:336)
      at com.microsoft.playwright.assertions.LocatorAssertions.matchesAriaSnapshot(LocatorAssertions.java:2190)
      at rl149.Sanpshot149.main(Sanpshot149.java:38)
      Can anyone encounter the same kind of error on Java_Eclipse ?

  • @ArthurClairFR
    @ArthurClairFR 11 часов назад

    You can"t compare the Debbie O'Brien"s videos with these slow motion videos.

  • @E2EOnpremUser
    @E2EOnpremUser 2 дня назад

    Please highlight the language (node.js) in the title, nothing to see here if you are using playwright pytest

  • @garretwar
    @garretwar 3 дня назад +1

    Дімон старається поняти шо відбуваєтсья, як може))

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

    Pleeease remove stale screenshots automatically.

    • @sen86sen
      @sen86sen 2 часа назад

      What is Stale screenshots ?

    • @henriquealmeida348
      @henriquealmeida348 7 минут назад

      @sen86sen I meant screenshots that are no longer being taken. Playwright should delete all the screenshots that weren't taken in a all-tests run, if we provide a flag for it.