[COMPASS-7598] Compass Web E2E: Port Time To First Query tests to Chrome&Firefox Created: 29/Jan/24 Updated: 07/Feb/24 |
|
| Status: | In Progress |
| Project: | Compass |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Le Roux Bodenstein | Assignee: | Le Roux Bodenstein |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Developer Tools
|
| Epic Link: | COMPASS-7021 |
| Story Points: | 3 |
| Sprint: | Iteration Utahraptor |
| Description |
|
This involves refactoring our package.json, index.ts and helpers/compass.ts files a bit. Allow a new `--test-compass-web` CLI arg and a `BROWSER_NAME` env var. Add `test-web` and `test-web-noserver` scripts to package.json. We would have to skip every other test when testing compass-web. We can do this in the top-level describe's before() hook. Some selectors might have to be tweaked or the compass-web components so that we can use the same selectors. Some custom browser commands would require changes to be able to perform its task in both electron and browser cases. See the PoC for more details. For the purposes of this ticket just get it running locally, no new CI tasks for E2E testing compass-web yet. Just make sure that the existing E2E tests keep working. I'm saying three points because I've done the work once in the PoC, but otherwise it is really more like 5 just because of tediousness of skipping every file. Can't just find/replace. Can probably write a script, but can also just churn through it all like I did in the PoC and add skip everywhere. |