playwright/src/dispatchers
Dmitry Gozman b34d9aba25
feat(trace): experimental traces for our tests (#3567)
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.
2020-08-28 10:51:55 -07:00
..
browserContextDispatcher.ts feat(rpc): simplify browser name detection on the client side (#3670) 2020-08-28 10:23:02 -07:00
browserDispatcher.ts feat(rpc): simplify browser name detection on the client side (#3670) 2020-08-28 10:23:02 -07:00
browserTypeDispatcher.ts chore: move last rpc files to their place (#3604) 2020-08-24 14:48:03 -07:00
cdpSessionDispatcher.ts chore: move last rpc files to their place (#3604) 2020-08-24 14:48:03 -07:00
consoleMessageDispatcher.ts chore: move last rpc files to their place (#3604) 2020-08-24 14:48:03 -07:00
dialogDispatcher.ts chore: move last rpc files to their place (#3604) 2020-08-24 14:48:03 -07:00
dispatcher.ts feat(trace): experimental traces for our tests (#3567) 2020-08-28 10:51:55 -07:00
downloadDispatcher.ts fix(downloads): make path/saveAs work when connected remotely (#3634) 2020-08-26 12:46:30 -07:00
electronDispatcher.ts chore: move last rpc files to their place (#3604) 2020-08-24 14:48:03 -07:00
elementHandlerDispatcher.ts chore: move last rpc files to their place (#3604) 2020-08-24 14:48:03 -07:00
frameDispatcher.ts chore: move last rpc files to their place (#3604) 2020-08-24 14:48:03 -07:00
jsHandleDispatcher.ts chore: move last rpc files to their place (#3604) 2020-08-24 14:48:03 -07:00
networkDispatchers.ts chore: move last rpc files to their place (#3604) 2020-08-24 14:48:03 -07:00
pageDispatcher.ts chore: move last rpc files to their place (#3604) 2020-08-24 14:48:03 -07:00
playwrightDispatcher.ts chore: move last rpc files to their place (#3604) 2020-08-24 14:48:03 -07:00
selectorsDispatcher.ts chore: move last rpc files to their place (#3604) 2020-08-24 14:48:03 -07:00
streamDispatcher.ts fix(downloads): make path/saveAs work when connected remotely (#3634) 2020-08-26 12:46:30 -07:00