From ff9952856c22bdfa29f7b8c1f69c0138d711f105 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E4=BA=9A=E7=90=AA?= Date: Mon, 27 May 2024 16:01:08 +0800 Subject: [PATCH] =?UTF-8?q?test:=20=E5=A2=9E=E5=8A=A0issue/2199=E6=B5=8B?= =?UTF-8?q?=E8=AF=95=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 7 ++++ .../component/list-view/issue-2199-item.uvue | 22 ++++++++++ pages/component/list-view/issue-2199.test.js | 15 +++++++ pages/component/list-view/issue-2199.uvue | 42 +++++++++++++++++++ 4 files changed, 86 insertions(+) create mode 100644 pages/component/list-view/issue-2199-item.uvue create mode 100644 pages/component/list-view/issue-2199.test.js create mode 100644 pages/component/list-view/issue-2199.uvue diff --git a/pages.json b/pages.json index 3d3004af..842f5b9f 100644 --- a/pages.json +++ b/pages.json @@ -1379,6 +1379,13 @@ "navigationBarTitleText": "nested-scroll-body" } }, + { + "path": "pages/component/list-view/issue-2199", + "style": { + "navigationBarTitleText": "issue-2199", + "enablePullDownRefresh": false + } + }, // #ifdef APP || WEB { "path": "pages/API/request-payment/request-payment", diff --git a/pages/component/list-view/issue-2199-item.uvue b/pages/component/list-view/issue-2199-item.uvue new file mode 100644 index 00000000..75e32079 --- /dev/null +++ b/pages/component/list-view/issue-2199-item.uvue @@ -0,0 +1,22 @@ + + + + + diff --git a/pages/component/list-view/issue-2199.test.js b/pages/component/list-view/issue-2199.test.js new file mode 100644 index 00000000..eec53ee0 --- /dev/null +++ b/pages/component/list-view/issue-2199.test.js @@ -0,0 +1,15 @@ +describe('issue-2199', () => { + let page + beforeAll(async () => { + page = await program.reLaunch('/pages/component/list-view/issue-2199') + await page.waitFor(600) + }) + + it('screenshot', async () => { + const image = await program.screenshot({ + fullPage: true + }); + expect(image).toSaveImageSnapshot(); + }) + +}) diff --git a/pages/component/list-view/issue-2199.uvue b/pages/component/list-view/issue-2199.uvue new file mode 100644 index 00000000..9794072f --- /dev/null +++ b/pages/component/list-view/issue-2199.uvue @@ -0,0 +1,42 @@ + + + + + -- GitLab