Commit cd78380
refactor(lightspeed): split e2e, share suite for legacy and NFS (#2809)
- Replace monolithic lightspeed.test.ts with lightspeed.ui, .mcp, and
.conversation specs; add bootstrapLightspeedE2eSetup for shared mocks/login.
- Move e2e-tests to workspace root; Playwright testDir e2e-tests; fix translation
and fixture paths. Remove utils/login.ts; guest flow in setup helper.
- package.json: test:e2e:nfs, test:e2e:all, playwright script runs both modes.
- Guest post-login: assert Red Hat Catalog heading only when APP_MODE is not nfs.
- expectBackstagePageVisible no-ops on nfs (no legacy catalog chrome).
- Ignore e2e-tests in ESLint for lint-staged; update knip path.
Made-with: Cursor
Co-authored-by: HusneShabbir <husneshabbir447@gmail.com>1 parent 43c25e2 commit cd78380
File tree
34 files changed
+1028
-935
lines changed- workspaces/lightspeed
- e2e-tests
- fixtures
- uploads
- pages
- utils
- packages/app-legacy
- e2e-tests
- utils
34 files changed
+1028
-935
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
0 commit comments