Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
maier49 committed Sep 11, 2020
1 parent 8e60ee5 commit 3a6e793
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions tests/integration/build.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,11 @@ Currently Rendered by BTR: false`
cy.get('#app-root').should('contain', 'Lazy Widget using dojorc configuration');
cy.get('#div').should('have.css', 'background-color', 'rgba(0, 0, 0, 0.5)');
cy.get('#vars').should('have.css', 'outline-color', 'rgba(255, 0, 0, 0.5)');
cy.get('script[src^="lazy"]').should('exist');
cy.get('script[src^="widgets"]').should('exist');
cy.get('script[src^="src/Foo"]').should('exist');
cy.get('script[src^="src/RoutedWidget"]').should('exist');
cy.get('script[src^="src/ChildRoutedWidget"]').should('not.exist');
cy.get('script[src^="ignored"]').should('not.exist');
cy.get('link[href^="lazy"]').should('exist');
cy.get('link[href^="widgets"]').should('exist');
cy.get('link[href^="src/Foo"]').should('exist');
cy.get('link[href^="src/RoutedWidget"]').should('exist');
cy.get('link[href^="ignored"]').should('not.exist');
cy.get('#div[nodeenv=production]').should(isDist ? 'exist' : 'not.exist');
cy.get('#div[has-prod=prod]').should(isDist ? 'exist' : 'not.exist');
cy.get('#div[dojo-debug=true]').should(isDist ? 'not.exist' : 'exist');
Expand Down

0 comments on commit 3a6e793

Please sign in to comment.