diff --git a/cypress/e2e/tests/vue.spec.cy.js b/cypress/e2e/tests/vue.spec.cy.js index ae0d881..162d839 100644 --- a/cypress/e2e/tests/vue.spec.cy.js +++ b/cypress/e2e/tests/vue.spec.cy.js @@ -7,11 +7,22 @@ describe('Test Login Scenario', () => { }) it('Use the search feature', ()=>{ + cy.get(data.searchButton).should('be.visible').click() + cy.get(data.searchField).should('exist').type('Dynamic Naming{enter}') + cy.get(data.searchedHeader).should('be.visible').and('contain.text', 'Dynamic Argument Syntax Constraints') }) it('Pick Quick Start from the Doc list and handle a tab redirect', ()=>{ + cy.get(data.docTab).should('be.visible').trigger('mouseenter') + cy.get(data.quickStartOption).contains('Quick Start').should('be.visible').click() + cy.get(data.quickStartHeader).should('be.visible').and('contain.text', 'Quick Start') + cy.get(data.playgroundLink).invoke('attr','target','_self').click() + cy.get(data.playgroundHeader).should('be.visible').and('contain.text', 'Vue SFC Playground') }) - it('Pick Quick Start from the Doc list', () => { + it('Pick Examples from the Doc list', () => { + cy.get(data.docTab).should('be.visible').trigger('mouseenter') + cy.get(data.exampleOption).should('be.visible').contains('Examples').click() + cy.get(data.APIref).contains('API Preference').click() }) }) \ No newline at end of file