fix: increase timeout of CreateTemplatePage initial render (#6694)

This might fix some test flakes we've been seeing!
This commit is contained in:
Kyle Carberry
2023-03-21 13:24:07 -03:00
committed by GitHub
parent 1b35ac80f2
commit 247470b1d6
@@ -24,7 +24,7 @@ const renderPage = async () => {
})
// It is lazy loaded, so we have to wait for it to be rendered to not get an
// act error
await screen.findByLabelText("Icon")
await screen.findByLabelText("Icon", undefined, { timeout: 5000 })
return result
}