From 6c2c2cbd84cfba79e41c38b3291b5eb7393e502b Mon Sep 17 00:00:00 2001 From: yinjiacheng Date: Sat, 14 Dec 2024 18:16:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0dialogPage=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E5=8C=96=E6=B5=8B=E8=AF=95=E7=94=A8=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/API/dialog-page/dialog-page.test.js | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/pages/API/dialog-page/dialog-page.test.js b/pages/API/dialog-page/dialog-page.test.js index 852e1813..a69e760a 100644 --- a/pages/API/dialog-page/dialog-page.test.js +++ b/pages/API/dialog-page/dialog-page.test.js @@ -515,6 +515,23 @@ describe('dialog page', () => { await page.waitFor(2000); await page.callMethod('closeDialog2ForTest'); } + }); + + it('dialogPage androidThreeButtonNavigationTranslucent', async () => { + if (isAndroid) { + await page.callMethod('openDialog2ForTest'); + await page.waitFor(1000); + await page.callMethod('setPageStyleForTest', { + androidThreeButtonNavigationTranslucent: false + }); + await page.waitFor(2000); + const image = await program.screenshot({ + deviceShot: true + }); + expect(image).toSaveImageSnapshot(); + await page.waitFor(2000); + await page.callMethod('closeDialog2ForTest'); + } }); afterAll(async () => { -- GitLab