Playwright Traceviewer Made Easy!

  Рет қаралды 2,832

CommitQuality

CommitQuality

Күн бұрын

In this video, we explore how to use Playwright Trace Viewer to troubleshoot your web applications. Playwright is a popular automation testing tool for web applications, and Trace Viewer helps you visualize your tests and track down issues more easily. We'll cover the basics of Trace Viewer and walk you through a step-by-step guide on how to use it effectively. Whether you're a seasoned Playwright user or new to the tool, this video is a must-watch!
trace.playwright.dev.
Code:
await page.goto("computer-datab...");
await page.getByText("Add a new computer").click();
await page.locator("#name").fill("CommitQuality");
await page.locator("#introduced").fill("1999-12-12");
await page.locator("#introduced").fill("1999-12-12");
await page.locator("#discontinued").fill("2000-12-12");
await page.locator("#company").selectOption({ label: "Apple Inc." });
await page.getByText("Createe this computer").click();
await expect(
page.getByText("Done ! Computer CommitQuality has been created")
).toBeVisible();
Load traces using: trace.playwrig...

Пікірлер: 6
@samuelgetachew5587
@samuelgetachew5587 Жыл бұрын
Hello Jared, Thank you for doing this, It is awesome! keep up the good work! I noticed that video number 4 appears to be a duplicate of the first video in the playlist.
@CommitQuality
@CommitQuality Жыл бұрын
Thank you for pointing this out. I will correct this
@AndrewLayton-jp4io
@AndrewLayton-jp4io 5 ай бұрын
Thanks
@CommitQuality
@CommitQuality 5 ай бұрын
Thank you very much for the super thanks! It's massively appreciated
@BatiStefcho
@BatiStefcho Жыл бұрын
Hello, with the introduction of the Playwright UI as of version 1.32, this might feel deprecated
@CommitQuality
@CommitQuality Жыл бұрын
Thanks for the comment. This is a bit of a misconception, although the introduction of the UI tool is a huge game changer this doesn't discount the need to understand the traceviewer tool. The UI tool will not replace traceviewer. A prime example will be executing tests in a pipeline. You can not use the UI tool to view tests executed in a CI/CD pipeline, therefore you would want to be able to understand how to view the traces that are generated, especially when you start to see failing tests in the pipeline
Playwright Test Generator: Create tests without writing Code!
14:26
CommitQuality
Рет қаралды 2,8 М.
Playwright Tutorial:  Re-use state & Re-use Authentication
16:34
CommitQuality
Рет қаралды 36 М.
Это было очень близко...
00:10
Аришнев
Рет қаралды 4,1 МЛН
didn't manage to catch the ball #tiktok
00:19
Анастасия Тарасова
Рет қаралды 33 МЛН
Synyptas 4 | Арамызда бір сатқын бар ! | 4 Bolim
17:24
C# in 100 Seconds
2:27
Fireship
Рет қаралды 2,1 МЛН
Python Playwright Masterclass
33:01
Lethcode
Рет қаралды 20 М.
Trace Viewer | Playwright (Java) - Part 10
19:38
LetCode with Koushik
Рет қаралды 1,4 М.
Reuse Playwright  Code across Files and Tests with Fixtures
5:54
Playwright Skip Login | Playwright Tutorial part - 31
11:06
LetCode with Koushik
Рет қаралды 23 М.
Testing modern web apps with Playwright and VS Code
48:13
Visual Studio Code
Рет қаралды 40 М.
Run Playwright Tests in Gitlab CI/CD Pipeline
12:10
Device Error Farm
Рет қаралды 2 М.