From a6fa85938bf34ad45d55dab32e203f235abe21bf Mon Sep 17 00:00:00 2001 From: chiayin Date: Sat, 17 Jun 2023 13:52:42 +0800 Subject: [PATCH] fix E2E. --- cypress/e2e/saveLogAndFilter.cy.js | 2 +- cypress/{e2e => fixtures}/filterFunnel.cy.js | 0 cypress/{e2e => fixtures}/loginToLogout.cy.js | 0 .../Discover/Conformance/StatusBar.vue | 17 ++++++++++++++++- src/components/Navbar.vue | 6 ++---- 5 files changed, 19 insertions(+), 6 deletions(-) rename cypress/{e2e => fixtures}/filterFunnel.cy.js (100%) rename cypress/{e2e => fixtures}/loginToLogout.cy.js (100%) diff --git a/cypress/e2e/saveLogAndFilter.cy.js b/cypress/e2e/saveLogAndFilter.cy.js index 3cc8e4a..5ee5fc9 100644 --- a/cypress/e2e/saveLogAndFilter.cy.js +++ b/cypress/e2e/saveLogAndFilter.cy.js @@ -17,7 +17,7 @@ describe('Save Log and Filter', ()=>{ // select radio cy.get('#iconFilter').click(); // 選取 Filter sidebar - cy.get('input#').should('be.checked'); // 選取 Radio 'Sequence' + cy.get('input#Sequence0').should('be.checked'); // 選取 Radio 'Sequence' cy.contains('label', 'Have activity(s)') // 選取 Radio 'Have activity(s)' .prev(2) .find('input') diff --git a/cypress/e2e/filterFunnel.cy.js b/cypress/fixtures/filterFunnel.cy.js similarity index 100% rename from cypress/e2e/filterFunnel.cy.js rename to cypress/fixtures/filterFunnel.cy.js diff --git a/cypress/e2e/loginToLogout.cy.js b/cypress/fixtures/loginToLogout.cy.js similarity index 100% rename from cypress/e2e/loginToLogout.cy.js rename to cypress/fixtures/loginToLogout.cy.js diff --git a/src/components/Discover/Conformance/StatusBar.vue b/src/components/Discover/Conformance/StatusBar.vue index 1f2631e..e093b9c 100644 --- a/src/components/Discover/Conformance/StatusBar.vue +++ b/src/components/Discover/Conformance/StatusBar.vue @@ -1,6 +1,16 @@ + diff --git a/src/components/Navbar.vue b/src/components/Navbar.vue index 24499ef..6a30584 100644 --- a/src/components/Navbar.vue +++ b/src/components/Navbar.vue @@ -4,10 +4,8 @@
- - - - + + arrow_back