diff --git a/cypress/integration/components-tab.js b/cypress/integration/components-tab.js index 3e7f98436..e65f590d0 100644 --- a/cypress/integration/components-tab.js +++ b/cypress/integration/components-tab.js @@ -46,25 +46,25 @@ suite('components tab', () => { it('should expand child instance', () => { cy.get('.instance .instance:nth-child(2) .arrow-wrapper').click() - cy.get('.instance').should('have.length', baseInstanceCount + 2) + cy.get('.instance').should('have.length', baseInstanceCount + 7) }) it('should add/remove component from app side', () => { cy.get('#target').iframe().then(({ get }) => { get('.add').click({ force: true }) }) - cy.get('.instance').should('have.length', baseInstanceCount + 5) + cy.get('.instance').should('have.length', baseInstanceCount + 10) cy.get('#target').iframe().then(({ get }) => { get('.remove').click({ force: true }) }) - cy.get('.instance').should('have.length', baseInstanceCount + 4) + cy.get('.instance').should('have.length', baseInstanceCount + 9) }) it('should filter components', () => { cy.get('.left .search input').clear().type('counter') cy.get('.instance').should('have.length', 1) cy.get('.left .search input').clear().type('target') - cy.get('.instance').should('have.length', 5) + cy.get('.instance').should('have.length', 10) cy.get('.left .search input').clear() }) diff --git a/shells/dev/target/Functional.vue b/shells/dev/target/Functional.vue new file mode 100644 index 000000000..3fbc65fac --- /dev/null +++ b/shells/dev/target/Functional.vue @@ -0,0 +1,5 @@ + diff --git a/shells/dev/target/Target.vue b/shells/dev/target/Target.vue index 9598db6ff..6240ab3e2 100644 --- a/shells/dev/target/Target.vue +++ b/shells/dev/target/Target.vue @@ -18,14 +18,25 @@ >Inspect component Mouse over +
+ +