diff --git a/pages/lifecycle/page/page.test.js b/pages/lifecycle/page/page.test.js index 2e76811d60dff5e520599fef477a02c62c62bca9..047f032378919fe0d415bb0709aa13b60a7d868e 100644 --- a/pages/lifecycle/page/page.test.js +++ b/pages/lifecycle/page/page.test.js @@ -74,12 +74,12 @@ describe('app-lifecycle', () => { lifeCycleNum = await page.callMethod('getLifeCycleNum') expect(lifeCycleNum).toBe(1110) }) - it('onLastPageBackPress', async () => { + it('onLastPageBackPress', async () => { if (process.env.uniTestPlatformInfo.startsWith('android')) { page = await program.navigateBack() await page.waitFor(700) lifeCycleNum = await page.callMethod('getLifeCycleNum') - expect(lifeCycleNum).toBe(100) + expect(lifeCycleNum).toBe(110) } }) })