Playwright's UI Mode: Watch mode and time travel debugging

  Рет қаралды 19,956

Playwright

Playwright

Жыл бұрын

Playwright's new UI Mode brings a watch mode together with the trace viewer to create a time-travel debugging experience.
Edit your tests in watch mode and upon saving your file the tests are rerun with a new trace of the tests. Walk through each action of your test and visually see what happened before and after each step of the test. Inspect the DOM snapshot, see network requests, the console and the log of your test.
Docs: playwright.dev/
Discord: aka.ms/playwright/discord

Пікірлер: 54
@natalisulcer974
@natalisulcer974 12 күн бұрын
You are amazing , the video was made simple and understandable , love it
@really727
@really727 4 ай бұрын
This is awesome, you just answered most of the questions I have in mind.
@SamPrince
@SamPrince Жыл бұрын
Great demo and explained it in plenty of detail. I'm not sure I'd want the frantic repeated running of watch mode on our (slow) tests, but merging trace viewer with a test runner seems like a sensible move. Was pretty happy with the vscode extension already so time will tell if ui mode gets much use...
@Playwrightdev
@Playwrightdev Жыл бұрын
thanks for the feedback
@maopuerta3430
@maopuerta3430 Жыл бұрын
Thank you Debbie, excellent content
@Playwrightdev
@Playwrightdev Жыл бұрын
You are so welcome
@NerdyThrowbackTech
@NerdyThrowbackTech Жыл бұрын
Fantastic work
@Playwrightdev
@Playwrightdev Жыл бұрын
Many thanks!
Жыл бұрын
Great demo!! Thanks!
@Playwrightdev
@Playwrightdev Жыл бұрын
thanks glad you liked it
@prasadpulaguntla9255
@prasadpulaguntla9255 10 ай бұрын
Really awesome videos explaining the features of playwright. Thank you! Could you also add some videos(or point to if already available somewhere)of running playwright in CI /CD environments for enterprise level applications ( particularly Azure DevOps) with features like (in nodejs) : 1) publishing test results and artifacts 2) Best practices (running in parallel?) 3) how to run in Docker, particularly building the app before running the tests: how to mount the volume so that we can later access the playwright-report folder 4) any other gotchas (I use cypress currently and it's a bit of a pain particularly in CI environment to start the server in the background and not pollute the terminal with app server logs and test logs)
@LuisOutOfOffice
@LuisOutOfOffice Жыл бұрын
I was prototyping this same concept at work. You guys just saved me so much time! ❤
@Playwrightdev
@Playwrightdev Жыл бұрын
good to know ;)
@MarcusNygrenSe
@MarcusNygrenSe Жыл бұрын
So cool and useful, we use it all the time now! Could I request that you also integrate a record button (Codegen) into UI Mode?
@Playwrightdev
@Playwrightdev Жыл бұрын
can you submit a feature request on GitHub, thanks
@goabeach1669
@goabeach1669 Жыл бұрын
Amazing 🥳
@Playwrightdev
@Playwrightdev Жыл бұрын
sure is
@SahilRajput03
@SahilRajput03 8 ай бұрын
Awesome!
@ashtonmiddlefield9819
@ashtonmiddlefield9819 Жыл бұрын
Very useful
@davidvardanyan7986
@davidvardanyan7986 Жыл бұрын
thank you Debbie
@Playwrightdev
@Playwrightdev Жыл бұрын
you're welcome
@paulhammond8583
@paulhammond8583 Жыл бұрын
More fantastic work. Question for you - is it possible to watch source code for changes and rerun tests (or even specific tests) on save? I'm a big fan of TDD and I use this feature in Jest all the time. If you could have something like Jest's watch mode in Playwright integrated with component testing, it might be possible to use Playwright for all manner of tests in a project. I'm keen to try this, but a watch mode based on changes to source code is vital for that workflow. Either way, the progress you're making at the moment is fantastic and I'm very keen to start using Playwright professionally! Great work!
@Playwrightdev
@Playwrightdev Жыл бұрын
would love you to join our discord server and ask your question there, thanks
@koolvoid
@koolvoid Жыл бұрын
Very nice tool, i hope my company start using it
@schantin
@schantin Жыл бұрын
Be the one that starts using it.
@Playwrightdev
@Playwrightdev Жыл бұрын
me too
@markky212
@markky212 10 ай бұрын
Nice demo! Do you plan to support webstorm with plugin as well?
@HelpMomRetire
@HelpMomRetire 11 ай бұрын
Awesome! This is working for me in Visual Studio Code but when i run the npx command in Visual Studio it doesn't find any tests to run. Any suggestions?
@leidybibiana5913
@leidybibiana5913 2 ай бұрын
Hi Debbie thank you this training! I cannot see the "Pick Locator" tab, any suggestion?
@rodavlas1981
@rodavlas1981 Жыл бұрын
That's awesome! Is there a plan to make this available also in python version?
@Playwrightdev
@Playwrightdev Жыл бұрын
please submit all feature requests on GitHub
@rodavlas1981
@rodavlas1981 Жыл бұрын
@@Playwrightdev oh, I thought that UI mode will be (at some point) part of all Playwright flavors
@vitalieandries7312
@vitalieandries7312 11 ай бұрын
It looks like playwright is watch tests only , and not the code , isn't it? Good video, btw!
@meg6pat
@meg6pat Жыл бұрын
Great addition to great tool. But I got a problem, I tried run on clean install, and it works fine. But then I try to run --ui with my older tests, there are no tests in UI mode. In config file I see only 1 place testDir: './tests', - which is identical in both configs. Any suggestions?
@Playwrightdev
@Playwrightdev Жыл бұрын
can you join our discord server and post your question there, thanks so much
@user-dt3zr4ch8k
@user-dt3zr4ch8k Жыл бұрын
hi,how can I embed this tool into a browser page?thx~
@kamylko
@kamylko Жыл бұрын
WOW!
@Playwrightdev
@Playwrightdev Жыл бұрын
yes
@DennisMinard
@DennisMinard 8 ай бұрын
Started trying out playwright to see its pros/cons vs the cypress I'm currently using. The demo tests are working fine as the videos show, but when I tried to run them in the UI mode as this video shows, I'm getting a "Playwright Test did not expect test() to be called here" error. Have not figured out if I'm doing something wrong or not.
@Playwrightdev
@Playwrightdev 8 ай бұрын
Don't hesitate to file a bug on GitHub with more details!
@amielnoy
@amielnoy Жыл бұрын
DO YOU SUPPORT IT ALSO ON PYTHON?
@Playwrightdev
@Playwrightdev Жыл бұрын
unfortunately not yet but feel free to fill out a feature request on GitHub
@thisawesomeworld
@thisawesomeworld Жыл бұрын
we need copilotX integration with playwright
@Playwrightdev
@Playwrightdev Жыл бұрын
we sure do
@marekpachno1422
@marekpachno1422 Жыл бұрын
Can we expect a nice Playwright plugin for WebStorm?
@schantin
@schantin Жыл бұрын
And for the new Aqua IDE please.
@Playwrightdev
@Playwrightdev Жыл бұрын
please submit all feature requests on GitHub, thanks
@nirmalchakraborty8608
@nirmalchakraborty8608 Жыл бұрын
Hi playwright team Is there any future plan to support mobile app automation using playwright
@Playwrightdev
@Playwrightdev Жыл бұрын
please post all feature request on GitHub, thanks
@ShadyBoy_
@ShadyBoy_ Жыл бұрын
Is the UI mode available in python as well?
@Playwrightdev
@Playwrightdev Жыл бұрын
unfortunately not, please fill out a feature request on GitHub or upvote if there is already one created
@ShadyBoy_
@ShadyBoy_ Жыл бұрын
@@Playwrightdev guess ill just migrate to node
@umer.on.youtube
@umer.on.youtube Жыл бұрын
The volume is not "wright".
@mindgr13
@mindgr13 8 ай бұрын
Light mode gave me a stroke
NEW PLAYWRIGHT UI WATCH MODE!
13:30
CommitQuality
Рет қаралды 2,2 М.
e2e testing with Playwright | OD111
15:52
Microsoft Developer
Рет қаралды 21 М.
Double Stacked Pizza @Lionfield @ChefRush
00:33
albert_cancook
Рет қаралды 85 МЛН
Who has won ?? 😀 #shortvideo #lizzyisaeva
00:24
Lizzy Isaeva
Рет қаралды 65 МЛН
Пранк пошел не по плану…🥲
00:59
Саша Квашеная
Рет қаралды 6 МЛН
THIS is Playwrights BEST Feature for Web Automation
9:45
John Watson Rooney
Рет қаралды 40 М.
What's new in Playwright 1.32
10:08
Playwright
Рет қаралды 19 М.
#2 - Time Travel Debugging - UI Mode Feature In Playwright - Typescript
12:51
Naveen AutomationLabs
Рет қаралды 7 М.
Everything You Need to Know about Debugging in VSCode
7:02
ArjanCodes
Рет қаралды 29 М.
What's new in Playwright 1.33 & 1.34
14:05
Playwright
Рет қаралды 7 М.
В самолете с мамой
0:54
Штукенция
Рет қаралды 3,5 МЛН
I only teach well, why am I a victim
0:42
TEO FRANCISKO
Рет қаралды 6 МЛН