@@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 ...
@@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 ?
@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.
Snapshot aria testing is interesting
That’s a great feature to add to playwright. Thanks!
so awesome...
I can see change only on Node.js release notes for 1.49.0 and not on Java side will it take time ?
The other languages get updated usually 1-2 weeks after the normal release happens in order to pick up potential bugfixes.
@@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 ...
@@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 ?
You can"t compare the Debbie O'Brien"s videos with these slow motion videos.
Please highlight the language (node.js) in the title, nothing to see here if you are using playwright pytest
Дімон старається поняти шо відбуваєтсья, як може))
Та Дімон сидить в ахірє
Pleeease remove stale screenshots automatically.
What is Stale screenshots ?
@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.