Stabilize test by allowing more time before clicking object (#6495)

stabilize test by allowing more time before clicking object
This commit is contained in:
Andrew Varga
2025-04-25 14:55:32 +02:00
committed by GitHub
parent bbaaf86e4d
commit 0ef1483e11

View File

@ -29,7 +29,7 @@ test.describe('integrations tests', () => {
) )
}) })
const [clickObj] = await scene.makeMouseHelpers(726, 272) const [clickObj] = scene.makeMouseHelpers(726, 272)
await test.step('setup test', async () => { await test.step('setup test', async () => {
await homePage.expectState({ await homePage.expectState({
@ -73,7 +73,7 @@ test.describe('integrations tests', () => {
}) })
await test.step('setup for next assertion', async () => { await test.step('setup for next assertion', async () => {
await toolbar.openFile('main.kcl') await toolbar.openFile('main.kcl')
await page.waitForTimeout(1000) await page.waitForTimeout(2000)
await clickObj() await clickObj()
await page.waitForTimeout(1000) await page.waitForTimeout(1000)
await scene.moveNoWhere() await scene.moveNoWhere()