Files
teleport/e2e/scripts
ravicious 57ad0fca08 Add e2e tests for state restoration in Connect (#64769)
* Refactor launchApp to avoid `app.app` callsites

* Add tests for state restoration

* Add test for first launch

* Preserve app_state.json for the missing-tsh restart case

* Choose window bounds relative to the current display

* Account for work area, read bounds after setting them

* Assert absence of the restore modal after re-login

* Assert that telemetry dialog is dismissed

* setActiveWorkspace: Test if rootClusterUri and documents-reopen are set in same tick

* Disable jest/no-conditional-expect

* Assert the reopen dialog closes after restoring tabs

* Verify that documents-reopen was called

* Verify setBounds works
2026-03-20 12:03:11 +00:00
..