playwright/packages/recorder
Dmitry Gozman cd53346594
fix(codegen): do not reset current source on every recorded action (#13925)
Currently, when I choose "Java" in the sources list and then
click on the page to generate the "click" action, sources reset
to "JavaScript". This is very inconvenient.

This changes the logic to only forcefully change files if either
old or new file is a user file, not a generated one.

Use cases considered:
- run `codegen`, click around, choose different language, click more;
- run script with inspector, pause, click "Record" and record an action;
- same as above, but then continue and see that user source is revealed.
2022-05-04 17:16:24 +01:00
..
public chore: migrate trace-viewer and recorder to vite (#13076) 2022-03-25 14:12:00 -07:00
src fix(codegen): do not reset current source on every recorded action (#13925) 2022-05-04 17:16:24 +01:00
.gitignore clean: speed up ct (#13915) 2022-05-03 21:25:50 -07:00
index.html chore: migrate trace-viewer and recorder to vite (#13076) 2022-03-25 14:12:00 -07:00
package.json chore: migrate trace-viewer and recorder to vite (#13076) 2022-03-25 14:12:00 -07:00
tsconfig.json chore: migrate trace-viewer and recorder to vite (#13076) 2022-03-25 14:12:00 -07:00
tsconfig.node.json chore: migrate trace-viewer and recorder to vite (#13076) 2022-03-25 14:12:00 -07:00
vite.config.ts chore: migrate trace-viewer and recorder to vite (#13076) 2022-03-25 14:12:00 -07:00