extend timeout

This commit is contained in:
Annie Huang committed 2023-11-23 17:00:30 +08:00
1 parent a7eeb8470a
commit 84cf74cdfc
1 file changed
+3 -1
+3 -1
View File
@@ -187,7 +187,9 @@ describe('example helloworld app', () => {
// Check survey dialog pop up
cy.CheckTextElement('#QuestCompleted', '關卡完成!', 'Quest Completed!')
cy.get('div[class="modal"]').find('p').should('be.visible')
cy.findByRole('link', { name: '回到地圖' }).should('be.visible')
cy.findByRole('link', { name: '回到地圖' }, { timeout: 30000 }).should(
'be.visible'
)
})
})
})