mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
docs: explain attachments in ui mode (#23472)
This commit is contained in:
parent
dfe40de1fe
commit
dfd1518327
@ -50,6 +50,12 @@ As you hover over each action of your test the source code for the test is highl
|
|||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
### Attachments
|
||||||
|
|
||||||
|
The "Attachments" tab allows you to explore attachments. If you're doing [visual regression testing](./test-snapshots.md), you'll be able to compare screenshots by examining the image diff, the actual image and the expected image. When you click on the expected image you can use the slider to slide one image over the other so you can easily see the differences in your screenshots.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
### Pop out and inspect the DOM
|
### Pop out and inspect the DOM
|
||||||
|
|
||||||
Pop out the DOM snapshot into it's own window for a better debugging experience by clicking on the pop out icon above the DOM snapshot. From there you can open the browser DevTools and inspect the HTML, CSS, Console etc. Go back to UI Mode and click on another action and pop that one out to easily compare the two side by side or debug each individually.
|
Pop out the DOM snapshot into it's own window for a better debugging experience by clicking on the pop out icon above the DOM snapshot. From there you can open the browser DevTools and inspect the HTML, CSS, Console etc. Go back to UI Mode and click on another action and pop that one out to easily compare the two side by side or debug each individually.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user