Fix tauri tests in build-test-apps (#1328)
This commit is contained in:
@ -86,13 +86,11 @@ describe('ZMA (Tauri, Linux)', () => {
|
|||||||
expect(await homeSection.getText()).toContain('project-000')
|
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"]')
|
const projectLink = await $('[data-testid="project-link"]')
|
||||||
await click(projectLink)
|
await click(projectLink)
|
||||||
const error = await $('h3')
|
const loadingText = await $('[data-testid="loading-stream"]')
|
||||||
expect(await error.getText()).toContain(
|
expect(await loadingText.getText()).toContain('Loading stream...')
|
||||||
"Can't find variable: RTCPeerConnection"
|
|
||||||
)
|
|
||||||
await browser.execute('window.location.href = "tauri://localhost/home"')
|
await browser.execute('window.location.href = "tauri://localhost/home"')
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user