What's new in Playwright v1.44
7:23
What's new in Playwright v1.40
9:56
What's new in Playwright 1.39
18:38
What's new in Playwright 1.38
17:56
What's new in Playwright 1.35
14:20
What's new in Playwright 1.32
10:08
Viewing Playwright traces
5:32
Жыл бұрын
What's new in Playwright 1.31
16:14
What's new in Playwright 1.29
10:03
What's new in Playwright 1.28
13:49
2 жыл бұрын
What's new in Playwright v1.25
15:22
2 жыл бұрын
Пікірлер
@mandokir
@mandokir 3 күн бұрын
Yep. That's the sound of your lapel mic pop filter rubbing against your shirt.
@FNZ-wx2nz
@FNZ-wx2nz 6 күн бұрын
This is not very useful in real-world applications. When testing page structure, you want to verify the placement of web elements on the screen, their size, shape, and so on. Neither visual testing nor this API is optimal for that.
@itGuyInDeutschland
@itGuyInDeutschland 6 күн бұрын
And this will resolve that flaky snapshot comparison test :)
@powertester5596
@powertester5596 7 күн бұрын
Already started using this. Much more better alternative in terms of maintenance compared to snapshots since snapshots are OS / device dependent and very hard to maintain for runs on local/CI. This is perfect :).
@ibrahimblahblahyapyap
@ibrahimblahblahyapyap 8 күн бұрын
Crazy jump going from CucumberJS to Playwright, this is way better!
@sen86sen
@sen86sen 8 күн бұрын
Will playwright extensions support JAVA .. ??
@FPchie
@FPchie 11 күн бұрын
Can Aria snapshot test be used to replace all playwright's isVisible test for each element/component on a Dashboard UI?
@pranavbelgaonkar9617
@pranavbelgaonkar9617 14 күн бұрын
I am using Playwright with Cucumber JS; is the Aria snapshot feature supported in the Cucumber framework?
@ProfessorSauvaje
@ProfessorSauvaje 14 күн бұрын
first :D
@keninen2245
@keninen2245 15 күн бұрын
@Playwright Clear explanation and useful feature. Could you answer me one question: at 6:04 you import test from playwright/test instead of the location where you defined your fixtures, why is that? Is the page fixture already predefined?
@sen86sen
@sen86sen 15 күн бұрын
what is discord ?
@michaelquiros4768
@michaelquiros4768 15 күн бұрын
I´ll try snapshots on my project, thanks for the update💯
@bukresanin
@bukresanin 15 күн бұрын
"In our .gitHub folder"? Where?
@MrRoa28
@MrRoa28 16 күн бұрын
How I can setup needed tests by tag in the playwright.config file? Like I did it by filepath e.g. testMatch: ['path/to/test']?
@snehaangadi9316
@snehaangadi9316 16 күн бұрын
To run the playwright tests on cloud browsers , should the test application(application url) should also be on cloud? is it mandatory?
@snehaangadi9316
@snehaangadi9316 16 күн бұрын
To run the tests on cloud hosted browsers , should the test application also be on cloud? My test application is on on-prem , can I still run the tests with this service?
@patrick93ferreira
@patrick93ferreira 18 күн бұрын
It would be interesting if the Playwright/Microsoft team could create a tool to test mobile apps, for example developed in react native, as the market has a gap in this area
@Diablorf
@Diablorf 18 күн бұрын
indeed
@alleluiaizimpamvu9971
@alleluiaizimpamvu9971 15 күн бұрын
I upvote this idea, it a quite challenge to get an awesome tool to test native Mobile apps
@patrick93ferreira
@patrick93ferreira 15 күн бұрын
@@alleluiaizimpamvu9971 Neste momento utilizo o Detox para testar app desenvolvida em React Native e é como o Playwright na sintaxe
@JuanDavidDavilaMejia
@JuanDavidDavilaMejia 19 күн бұрын
Hi, I can not get run the test without headless mode, Can someone help me, please?
@ArthurClairFR
@ArthurClairFR 19 күн бұрын
You can"t compare the Debbie O'Brien"s videos with these slow motion videos.
@mourad-zitouni
@mourad-zitouni 20 күн бұрын
This is just amazing! Love the record at cursor feature, thank you!
@E2EOnpremUser
@E2EOnpremUser 21 күн бұрын
Please highlight the language (node.js) in the title, nothing to see here if you are using playwright pytest
@sl981s
@sl981s 21 күн бұрын
so awesome...
@nilson_nieto
@nilson_nieto 21 күн бұрын
I would like to know what should I do to apply to work in Playwright ? It's a great tool and I feel motivate to participate in such as high impacting tool.
@powertester5596
@powertester5596 22 күн бұрын
That’s a great feature to add to playwright. Thanks!
@henriquealmeida348
@henriquealmeida348 22 күн бұрын
Pleeease remove stale screenshots automatically.
@sen86sen
@sen86sen 19 күн бұрын
What is Stale screenshots ?
@henriquealmeida348
@henriquealmeida348 19 күн бұрын
@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.
@sen86sen
@sen86sen 19 күн бұрын
@ that’s a great idea actually .. and thanks for the explanation and your time
@garretwar
@garretwar 23 күн бұрын
Дімон старається поняти шо відбуваєтсья, як може))
@d1xonellaofficial
@d1xonellaofficial 22 күн бұрын
Та Дімон сидить в ахірє
@sen86sen
@sen86sen 23 күн бұрын
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 22 күн бұрын
The other languages get updated usually 1-2 weeks after the normal release happens in order to pick up potential bugfixes.
@sen86sen
@sen86sen 19 күн бұрын
@@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 19 күн бұрын
@@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 <header class="hero hero--primary heroBanner_UJJx">…</header> - 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 ?
@tririfandani1876
@tririfandani1876 23 күн бұрын
Snapshot aria testing is interesting
@AnonYmous-kf7uu
@AnonYmous-kf7uu 27 күн бұрын
Any idea when Playwright will support mobile device native apps and browsers? Responsive web is great and all but it's not the same as running on a real device.
@binitpatel
@binitpatel 28 күн бұрын
How do you compare, this service with browsersstack or saucelab? Can this be combined with slack reporting and would this work with drone CICD?
@dellavita3463
@dellavita3463 28 күн бұрын
How to setup normal playwright and playwright ct in same repo ? I work on monorepo so I need both playwright type 😢
@ValorHeart
@ValorHeart 28 күн бұрын
If my testable server is in local cloud environment, how the browsers can approach it?
@salva-dev
@salva-dev 29 күн бұрын
Awesome!!. Brilliant work. Congratulations. That's why I love playwright, you guys just keep making it better. 👍
@reeawn
@reeawn 29 күн бұрын
Pricing?
@soumyajit443
@soumyajit443 Ай бұрын
Amazing ! Kudos to the entire team for making Playwright equipped with more useful features. Keep going and thanks again for sharing the content so clearly.
@soumyajit443
@soumyajit443 Ай бұрын
Mam , Thanks for this amazing video. Can you share the code please or make a github repository and share all the test code.
@joshuayolles6962
@joshuayolles6962 Ай бұрын
Nice!!
@sarathr4495
@sarathr4495 Ай бұрын
Simple and effective .
@BiShop_Ma
@BiShop_Ma Ай бұрын
Thanks for sharing. What if my playwright.config.ts does not live under the root, how should I pass the customized playwright config path?
@Playwrightdev
@Playwrightdev Ай бұрын
npx playwright test --config foo/bar/playwright.config.ts See here: playwright.dev/docs/test-cli#reference
@vh3104
@vh3104 Ай бұрын
Please make a video about the playwright using the docker container. I've been trying to start Java tests on the server using the playwright container for 2 days and nothing works! =)
@daniel29009
@daniel29009 Ай бұрын
Thanks for you work, i like playwright from what I see. I can recommend not to use mocks in any testing framework, since you are potentially hard coding your REST layer assumtions that are potentially to change in the near future. My best advice is to look into something like talkback npm and record your back end communication automatically, that way you never deal with writing out mock logic and can update any time. Your test at runtime then is pointed to a mock back end, which is recorded from a real back end. So the tests never know what back end they are using...
@JeremyPolley
@JeremyPolley Ай бұрын
These videos are so great. Thanks for sharing them with us.
@2252kasia
@2252kasia Ай бұрын
Can we run headless with client cert?
@Playwrightdev
@Playwrightdev Ай бұрын
Yes it should all just work! If not - please file a bug on GitHub, thanks!
@vitaliypotapov8994
@vitaliypotapov8994 Ай бұрын
Do you have any plans to show diff between real and mocked responses on a single screen in UI mode? I think it would be helpful!
@vitaliypotapov8994
@vitaliypotapov8994 Ай бұрын
I think the approach should be used with caution for e2e testing. If one day response format change, for example the field gets renamed to `rating_avg`, the test will "live in own world" and report false positive result. As mentioned in other comments, it's useful to assert real response at least in one test. Or, as we do in our tests, assign values to API response with a helper function, that additionally checks the path-to-prop existence in real response structure.
@Kranael93
@Kranael93 Ай бұрын
And now its not only possible for REST APIs its also possible for Websocket!!! Love it!
@ratrtech
@ratrtech Ай бұрын
What about web applications with SSR? Especially those that are using e.g CMS as their backend where almost each day content makers can changed data?
@DebbieOBrien
@DebbieOBrien Ай бұрын
you have to decide what is important to test and what should be mocked. What is important for the user to see. For example a recommended movie might always change so this could be mocked cause it doesn't matter which movie is shown just that one is shown and is clickable etc. Again it all depends on the application you are testing
@ratrtech
@ratrtech Ай бұрын
The problem is not in what to mock, but how to mock cause with SSR and next Js apps there is no any api requests in the console that could be intercepted and mocked. You just get the whole page already rendered from the server
@kailashpathak9184
@kailashpathak9184 Ай бұрын
I always loves the mocking concept. Thanks Deb !!
@daniel29009
@daniel29009 Ай бұрын
White box mocking with assumtions about json and other http parts is a dangerous practice, see my comment at the top.
@laczupakabra13
@laczupakabra13 Ай бұрын
From one hand mocking API responses to check page behavior is great specially when we are not able to arrange test data, but... from the other hand hardcoded validations as on presented example are super bad think to do. In this particular example, I would extract rating value up to test preconditions setup and pass it to the API mock and assertion. Overall I found that super useful! Thumbs up!
@rostyslavznachenko7472
@rostyslavznachenko7472 Ай бұрын
I disagree on that one. You can mock the data to see if your frontend responds correctly to various scenarios, which gives you consistent/stable/quick results. Then, you can create a single test without mocking, but with intercept and validating the actual response schema is valid (and adding more tests for backend controller will give you more confidence). Once verified, it's "happy days"
@laczupakabra13
@laczupakabra13 Ай бұрын
@@rostyslavznachenko7472 I fully agree with your statement, but I cant see in which part you are disagree, let me rephrase my point: in my opinion the only bad think in this video is "magic string" in the assertion. Overall POC example is simple and clear.
@christophermccandless5351
@christophermccandless5351 Ай бұрын
My company recently switched from Selenium to Playwright. I did a lot of research, and rewriting of some of our existing selenium tests in Playwright so that I could demo to our senior testers why playwright is so much better! I immediately fell in love with playwright and so has most of our team now.