diff --git a/pages/API/set-navigation-bar-color/set-custom-navigation-bar-color.test.js b/pages/API/set-navigation-bar-color/set-custom-navigation-bar-color.test.js index 08f72a9d10c0ff7f0d160d3426e3e0750dd54235..fe9993988daaf68755eadcf63a7593ea6a617a20 100644 --- a/pages/API/set-navigation-bar-color/set-custom-navigation-bar-color.test.js +++ b/pages/API/set-navigation-bar-color/set-custom-navigation-bar-color.test.js @@ -18,12 +18,14 @@ describe("setCustomNavigationBarColor", () => { it("setNavigationBarColor2", async () => { await page.callMethod("setNavigationBarColor2"); + await page.waitFor(1000) const image = await program.screenshot({adb: true, area:{x:1000, y: 0, width: 80, height: 88}}); expect(image).toMatchImageSnapshot(); }); it("setNavigationBarColor1", async () => { await page.callMethod("setNavigationBarColor1"); + await page.waitFor(1000) const image = await program.screenshot({adb: true, area:{x:1000, y: 0, width: 80, height: 88}}); expect(image).toMatchImageSnapshot(); });