|
1 |
| -// https://docs.cypress.io/api/introduction/api.html |
2 |
| - |
3 | 1 | describe('Vue project manager', () => {
|
4 | 2 | it('Switches between tabs', () => {
|
5 | 3 | cy.visit('/project/select')
|
@@ -85,29 +83,3 @@ describe('Vue project manager', () => {
|
85 | 83 | cy.get('.current-project').should('have.text', 'cli-ui-test')
|
86 | 84 | })
|
87 | 85 | })
|
88 |
| - |
89 |
| -describe('Plugins', () => { |
90 |
| - it('Should display the plugins', () => { |
91 |
| - cy.visit('/') |
92 |
| - cy.get('.project-plugin-item').should('have.length', 2) |
93 |
| - }) |
94 |
| - |
95 |
| - it('Should add a plugin', () => { |
96 |
| - cy.visit('/') |
97 |
| - cy.get('[data-testid="add-plugin"]').click() |
98 |
| - cy.get('.project-plugins-add').should('be.visible') |
99 |
| - // Search |
100 |
| - cy.get('.package-search-item:contains("@vue/cli-plugin-pwa")').should('be.visible') |
101 |
| - cy.get('.instant-search-input input').clear().type('unit-jest') |
102 |
| - cy.get('.package-search-item:contains("@vue/cli-plugin-pwa")').should('be.not.visible') |
103 |
| - cy.get('.package-search-item:contains("@vue/cli-plugin-unit-jest")').should('be.visible') |
104 |
| - cy.get('.instant-search-input input').clear() |
105 |
| - // Install |
106 |
| - cy.get('.package-search-item:contains("@vue/cli-plugin-pwa") [data-testid="name"]').should('be.visible').click() |
107 |
| - cy.get('[data-testid="download-plugin"]:contains("@vue/cli-plugin-pwa")').should('not.have.class', 'disabled').click() |
108 |
| - cy.get('.loading-screen .vue-ui-loading-indicator').should('be.visible') |
109 |
| - cy.get('.prompts-list', { timeout: 250000 }).should('be.visible') |
110 |
| - cy.get('[data-testid="finish-install"]').should('not.have.class', 'disabled').click() |
111 |
| - cy.get('.project-plugin-item', { timeout: 250000 }).should('have.length', 3) |
112 |
| - }) |
113 |
| -}) |
0 commit comments