Skip to content

Commit

Permalink
update cy test
Browse files Browse the repository at this point in the history
Signed-off-by: Huong Nguyen <huongg1409@gmail>
  • Loading branch information
Huong Nguyen committed Nov 19, 2024
1 parent 1f2c273 commit 431d1bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cypress/tests/ui/flowchart/banners.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ describe('Banners in Kedro-Viz', () => {

// Assert after action
cy.get('[data-test="flowchart-wrapper--lite-banner"]').should('exist');
cy.get('.banner-message-body').should('contains.text', 'please install the missing Kedro project dependencies')
cy.get('.banner-message-title').should('contains.text', 'Missing dependencies')
cy.get('.banner-message-body').should('contains.text', 'Some features might be disabled in --lite mode due to missing dependencies')
cy.get('.banner-message-title').should('contains.text', 'Lite mode enabled')

// Test Learn more link
cy.get(".banner a")
Expand Down

0 comments on commit 431d1bc

Please sign in to comment.