Skip to content

Commit 3f00e71

Browse files
Backoff Reconnect (#6358)
* Add a Stop command that does a bit of cleanup in the engineStateMachine * Major network code startup refactor; backoff reconnect; many more logs for us * Save camera state after every user interaction in case of disconnection and restoral * Translate basic WebSocket error numbers into useful text * Add a RestartRequest event to the engineCommandManager * Adjust for a rebase * Add E2E test for stream pause behavior * Fix snapshot test * fmt, lint * small issue * Fix tests * Fix up idle test * One last fix * fixes * Remove circ dep * fix test * use a const for time * TEST -> isPlaywright instead * whoops
1 parent d3a4fd8 commit 3f00e71

File tree

12 files changed

+957
-543
lines changed

12 files changed

+957
-543
lines changed

e2e/playwright/snapshot-tests.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -766,7 +766,7 @@ test.describe('Grid visibility', { tag: '@snapshot' }, () => {
766766
})
767767
})
768768

769-
test('theme persists', async ({ page, context }) => {
769+
test('theme persists', async ({ page, context, homePage }) => {
770770
const u = await getUtils(page)
771771
await context.addInitScript(async () => {
772772
localStorage.setItem(
@@ -784,7 +784,7 @@ test('theme persists', async ({ page, context }) => {
784784

785785
await page.setViewportSize({ width: 1200, height: 500 })
786786

787-
await u.waitForAuthSkipAppStart()
787+
await homePage.goToModelingScene()
788788
await page.waitForTimeout(500)
789789

790790
// await page.getByRole('link', { name: 'Settings Settings (tooltip)' }).click()
@@ -812,7 +812,7 @@ test('theme persists', async ({ page, context }) => {
812812
// Disconnect and reconnect to check the theme persists through a reload
813813

814814
// Expect the network to be down
815-
await expect(networkToggle).toContainText('Offline')
815+
await expect(networkToggle).toContainText('Problem')
816816

817817
// simulate network up
818818
await u.emulateNetworkConditions({
Loading

0 commit comments

Comments
 (0)