diff --git a/pages/component/navigator/navigator.test.js b/pages/component/navigator/navigator.test.js index 6e68aba01a64aec7fe0ed5d550e442e2b1d9054a..6f0c9cb480f87c6c66679d30b41a1ea2c39645ee 100644 --- a/pages/component/navigator/navigator.test.js +++ b/pages/component/navigator/navigator.test.js @@ -15,7 +15,7 @@ describe('navigator', () => { page = await program.reLaunch(PAGE_PATH) await page.waitFor(500) - const btnNavigate = await page.$('.navigate') + const btnNavigate = await page.$('#navigate') await btnNavigate.tap() await page.waitFor(300) @@ -26,7 +26,7 @@ describe('navigator', () => { page = await program.reLaunch(PAGE_PATH) await page.waitFor(500) - const btnRedirect = await page.$('.redirect') + const btnRedirect = await page.$('#redirect') await btnRedirect.tap() await page.waitFor(300) diff --git a/pages/component/navigator/navigator.uvue b/pages/component/navigator/navigator.uvue index 023f90a4b2d4a6fe460b239062c8124423ddf712..2099b1b1cfef07c16334d19ace14ee7f70ec3bf2 100644 --- a/pages/component/navigator/navigator.uvue +++ b/pages/component/navigator/navigator.uvue @@ -1,10 +1,10 @@