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')
 | 
			
		||||
  })
 | 
			
		||||
 | 
			
		||||
  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"')
 | 
			
		||||
  })
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user