From 136171b1d0346c27d3b7c9df022e7a6518ffe00f Mon Sep 17 00:00:00 2001 From: taohebin Date: Tue, 20 Aug 2024 16:29:29 +0800 Subject: [PATCH] =?UTF-8?q?test=EF=BC=9A=20overflow=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E5=A4=9A=E5=B1=82=E7=BA=A7=E6=B5=8B=E8=AF=95=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../overflow/overflow-visible-event.test.js | 12 +++++++ .../CSS/overflow/overflow-visible-event.uvue | 34 +++++++++++++++++-- 2 files changed, 43 insertions(+), 3 deletions(-) diff --git a/pages/CSS/overflow/overflow-visible-event.test.js b/pages/CSS/overflow/overflow-visible-event.test.js index 3d7af0ee..56404926 100644 --- a/pages/CSS/overflow/overflow-visible-event.test.js +++ b/pages/CSS/overflow/overflow-visible-event.test.js @@ -62,4 +62,16 @@ describe('/pages/CSS/overflow/overflow-visible-event.uvue', () => { res = await page.data('jest_result'); expect(res).toBe(true) }) + + it('Check Overflow Visible Deep Level Click', async () => { + await page.callMethod('jest_scrollToDeepOverflow') + await page.waitFor(500); + const point_x = await page.data('jest_click_x'); + const point_y = await page.data('jest_click_y'); + console.log("input tap" + " " + point_x + " " + point_y); + await program.adbCommand("input tap" + " " + point_x + " " + point_y) + await page.waitFor(500); + res = await page.data('jest_result'); + expect(res).toBe(true) + }) }); diff --git a/pages/CSS/overflow/overflow-visible-event.uvue b/pages/CSS/overflow/overflow-visible-event.uvue index 14d4d1d9..416573c3 100644 --- a/pages/CSS/overflow/overflow-visible-event.uvue +++ b/pages/CSS/overflow/overflow-visible-event.uvue @@ -1,7 +1,7 @@