diff --git a/console/atest-ui/cypress/e2e/component-exist.cy.ts b/console/atest-ui/cypress/e2e/component-exist.cy.ts index 63596ad5b..3d305788c 100644 --- a/console/atest-ui/cypress/e2e/component-exist.cy.ts +++ b/console/atest-ui/cypress/e2e/component-exist.cy.ts @@ -10,6 +10,7 @@ describe('Suite Manage', () => { it('Create Suite', () => { cy.visit('/') + cy.get('.introjs-skipbutton').click() cy.contains('span', 'Tool Box') cy.get('[test-id="open-new-suite-dialog"]').click() @@ -29,6 +30,7 @@ describe('Suite Manage', () => { const caseAPI = "/api/v2" it('New Case', () => { cy.visit('/') + cy.get('.introjs-skipbutton').click() cy.get('span').contains(suiteName).should('be.visible').click() cy.get('[test-id="open-new-case-dialog"]').click() @@ -43,6 +45,7 @@ describe('Suite Manage', () => { it('Find Case', () => { cy.visit('/') + cy.get('.introjs-skipbutton').click() const searchInput = cy.get('[test-id="search"]') searchInput.type(caseName) searchInput.trigger('keydown', {key: 'Enter'}) @@ -56,6 +59,7 @@ describe('Suite Manage', () => { it('Delete Suite', () => { cy.visit('/') + cy.get('.introjs-skipbutton').click() cy.get('span').contains(suiteName).should('be.visible').click() cy.get('[test-id="suite-editor-api"]').should('have.value', sampleAPIAddress) cy.get('[test-id="suite-del-but"]').click() diff --git a/console/atest-ui/package-lock.json b/console/atest-ui/package-lock.json index d7be43b7f..cc11c2dc7 100644 --- a/console/atest-ui/package-lock.json +++ b/console/atest-ui/package-lock.json @@ -9,6 +9,7 @@ "version": "0.0.0", "dependencies": { "element-plus": "^2.3.7", + "intro.js": "^7.0.1", "vue": "^3.3.4", "vue-json-viewer": "^3.0.4", "vue-router": "^4.2.2" @@ -6421,6 +6422,11 @@ "node": ">= 0.4" } }, + "node_modules/intro.js": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/intro.js/-/intro.js-7.0.1.tgz", + "integrity": "sha512-1oqz6aOz9cGQ3CrtVYhCSo6AkjnXUn302kcIWLaZ3TI4kKssRXDwDSz4VRoGcfC1jN+WfaSJXRBrITz+QVEBzg==" + }, "node_modules/is-array-buffer": { "version": "3.0.2", "resolved": "https://registry.npmmirror.com/is-array-buffer/-/is-array-buffer-3.0.2.tgz", @@ -17072,6 +17078,11 @@ "side-channel": "^1.0.4" } }, + "intro.js": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/intro.js/-/intro.js-7.0.1.tgz", + "integrity": "sha512-1oqz6aOz9cGQ3CrtVYhCSo6AkjnXUn302kcIWLaZ3TI4kKssRXDwDSz4VRoGcfC1jN+WfaSJXRBrITz+QVEBzg==" + }, "is-array-buffer": { "version": "3.0.2", "resolved": "https://registry.npmmirror.com/is-array-buffer/-/is-array-buffer-3.0.2.tgz", diff --git a/console/atest-ui/package.json b/console/atest-ui/package.json index 069ec4d1c..d9aa3bf5d 100644 --- a/console/atest-ui/package.json +++ b/console/atest-ui/package.json @@ -17,6 +17,7 @@ }, "dependencies": { "element-plus": "^2.3.7", + "intro.js": "^7.0.1", "vue": "^3.3.4", "vue-json-viewer": "^3.0.4", "vue-router": "^4.2.2" diff --git a/console/atest-ui/src/App.vue b/console/atest-ui/src/App.vue index 100e59083..db6d18240 100644 --- a/console/atest-ui/src/App.vue +++ b/console/atest-ui/src/App.vue @@ -193,10 +193,12 @@ const viewName = ref('testcase')