WIP: Desktop app shows bad network until a project is opened
Fixes #26103
This commit is contained in:
@ -69,6 +69,14 @@ describe('ZMA (Tauri)', () => {
|
||||
expect(await newFileButton.getText()).toEqual('New project')
|
||||
})
|
||||
|
||||
it('checks the network indicator status', async () => {
|
||||
const toggle = await $('[data-testid="network-toggle"]')
|
||||
await click(toggle)
|
||||
const status = await $('[data-testid="network"]')
|
||||
expect(await status.getText()).toEqual('CONNECTED')
|
||||
await click(toggle)
|
||||
})
|
||||
|
||||
it('opens the settings page, checks filesystem settings, and closes the settings page', async () => {
|
||||
const menuButton = await $('[data-testid="user-sidebar-toggle"]')
|
||||
await click(menuButton)
|
||||
|
||||
@ -123,9 +123,12 @@ const router = createBrowserRouter([
|
||||
path: paths.HOME,
|
||||
element: (
|
||||
<Auth>
|
||||
<Outlet />
|
||||
<Home />
|
||||
<CommandBar />
|
||||
<ModelingMachineProvider>
|
||||
<Outlet />
|
||||
<Home />
|
||||
<CommandBar />
|
||||
</ModelingMachineProvider>
|
||||
<WasmErrBanner />
|
||||
</Auth>
|
||||
),
|
||||
id: paths.HOME,
|
||||
|
||||
Reference in New Issue
Block a user