mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-14 21:53:35 +03:00
b34d9aba25
This introduces basic tracing enabled in our tests. What is captured: - network resources; - snapshots at the start of most actions; - snapshot after the test failure. How this integrates with test runner: - context fixture calls private method context._initSnapshotter() and uses Tracer to trace all events; - all tests share a single test-results/trace-storage directory to store blobs; - each test has its own trace file. - npm run show-trace opens a bare-minimum trace viewer that renders snapshots.
6 lines
77 B
CSS
6 lines
77 B
CSS
.imaged {
|
|
width: 200px;
|
|
height: 200px;
|
|
background: url(../pptr.png);
|
|
}
|