Commit 8a1e893
authored
test: add comprehensive e2e scenario integration tests (#49)
* test: add comprehensive e2e scenario integration tests
Add 24 end-to-end tests covering the full FirefoxClient API against a
realistic multi-page web app fixture: todo CRUD, search, form submission,
click/dblclick/hover, browser history, viewport resize, console & network
monitoring, screenshots, tab management, stale UID detection, and error
handling. All tests are self-contained with no ordering dependencies.
Also update README with testing docs and known Firefox 148 startup crash
on macOS ARM64 (Bug 2027228).
* docs: move testing details to docs/testing.md, keep README concise
* fix: address PR review — simplify element predicates, remove stale docs table
Remove unnecessary data-testid/data-uid fallback conditions from element
lookup predicates since the implementation always stores id with priority.
Remove the "Covered scenarios" table from docs/testing.md to avoid staleness.1 parent 90f274d commit 8a1e893
File tree
4 files changed
+1104
-1
lines changed- docs
- tests
- fixtures
- integration
4 files changed
+1104
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
165 | 174 | | |
166 | 175 | | |
167 | 176 | | |
| |||
180 | 189 | | |
181 | 190 | | |
182 | 191 | | |
183 | | - | |
| 192 | + | |
184 | 193 | | |
185 | 194 | | |
186 | 195 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
0 commit comments