diff --git a/pages/API/request/request.test.js b/pages/API/request/request.test.js index d4fbf9393b99effb2f4a21082783d14efae5091c..8639e985861886093a2c44f615b1c13e0b1730e6 100644 --- a/pages/API/request/request.test.js +++ b/pages/API/request/request.test.js @@ -79,16 +79,19 @@ describe('ExtApi-Request', () => { await request(page, 'HEAD'); }); - it('Check Set Cookie', async () => { - res = await page.callMethod('jest_set_cookie') - await page.waitFor(500); - res = await page.data('jest_result'); - expect(res).toBe(true) - }); - it('Check Delete Cookie', async () => { - res = await page.callMethod('jest_delete_cookie') - await page.waitFor(1000); - res = await page.data('jest_result'); - expect(res).toBe(true) - }); + + if (process.env.uniTestPlatformInfo.indexOf('web') === -1) { + it('Check Set Cookie', async () => { + res = await page.callMethod('jest_set_cookie') + await page.waitFor(500); + res = await page.data('jest_result'); + expect(res).toBe(true) + }); + it('Check Delete Cookie', async () => { + res = await page.callMethod('jest_delete_cookie') + await page.waitFor(1000); + res = await page.data('jest_result'); + expect(res).toBe(true) + }); + } }); diff --git a/pages/CSS/layout/position.uvue b/pages/CSS/layout/position.uvue index 130ff813b5fa2a0c393366552338a01281577630..2a013bfa4e2a0089ef34923d3c9e8dd3675373c9 100644 --- a/pages/CSS/layout/position.uvue +++ b/pages/CSS/layout/position.uvue @@ -7,6 +7,7 @@ position: relative position: absolute position: fixed - + diff --git a/pages/CSS/transform/scale.uvue b/pages/CSS/transform/scale.uvue index 72c97b82ad7f327ce081426638e2ba187b7d7a84..98ffc62a7376b359e0a21055d3d56e5ab27cd12e 100644 --- a/pages/CSS/transform/scale.uvue +++ b/pages/CSS/transform/scale.uvue @@ -1,5 +1,5 @@