diff --git a/e2e/tauri/specs/auth.e2e.ts b/e2e/tauri/specs/auth.e2e.ts index 68365f13b..3bfb368e4 100644 --- a/e2e/tauri/specs/auth.e2e.ts +++ b/e2e/tauri/specs/auth.e2e.ts @@ -86,13 +86,11 @@ describe('ZMA (Tauri, Linux)', () => { expect(await homeSection.getText()).toContain('project-000') }) - it('opens the new file and expects an error on Linux', async () => { + it('opens the new file and expects a loading stream', async () => { const projectLink = await $('[data-testid="project-link"]') await click(projectLink) - const error = await $('h3') - expect(await error.getText()).toContain( - "Can't find variable: RTCPeerConnection" - ) + const loadingText = await $('[data-testid="loading-stream"]') + expect(await loadingText.getText()).toContain('Loading stream...') await browser.execute('window.location.href = "tauri://localhost/home"') })