@@ -78,7 +78,7 @@ describe('left panel', () => {
7878 const length : number = favoritesState . shortcuts . length
7979 cy . get ( '.favoritesPanel' ) . contains ( 'Shortcuts' ) . should ( 'be.visible' )
8080
81- cy . get ( '@shortcuts' ) . find ( '.bp4 -tree-node-content-1' ) . its ( 'length' ) . should ( 'equal' , length )
81+ cy . get ( '@shortcuts' ) . find ( '.bp5 -tree-node-content-1' ) . its ( 'length' ) . should ( 'equal' , length )
8282
8383 SHORTCUTS . forEach ( ( shortcut ) => {
8484 cy . get ( '@shortcuts' ) . contains ( shortcut ) . should ( 'be.visible' )
@@ -89,7 +89,7 @@ describe('left panel', () => {
8989 // const length: number = favoritesState.places.length
9090 // cy.get('.favoritesPanel').contains('Places').should('be.visible')
9191
92- // cy.get('@places').find('.bp4 -tree-node-content-1').its('length').should('equal', length)
92+ // cy.get('@places').find('.bp5 -tree-node-content-1').its('length').should('equal', length)
9393
9494 // favoritesState.places.forEach((place: any) => {
9595 // cy.get('@places').contains(place.label).should('be.visible')
@@ -112,7 +112,7 @@ describe('left panel', () => {
112112 // // wait 5 secs: this is the delay we wait before updating drive list
113113 // cy.wait(5000)
114114
115- // cy.get('@places').find('.bp4 -tree-node-content-1').its('length').should('equal', favoritesState.places.length)
115+ // cy.get('@places').find('.bp5 -tree-node-content-1').its('length').should('equal', favoritesState.places.length)
116116
117117 // favoritesState.places.forEach((place: any) => {
118118 // cy.get('@places').contains(place.label).should('be.visible')
@@ -123,7 +123,7 @@ describe('left panel', () => {
123123 const path = favoritesState . shortcuts [ 1 ] . path
124124 const label = SHORTCUTS [ 1 ]
125125
126- cy . get ( '.favoritesPanel > ul > li:eq(0) .bp4 -tree-node-content-1' ) . contains ( label ) . click ( )
126+ cy . get ( '.favoritesPanel > ul > li:eq(0) .bp5 -tree-node-content-1' ) . contains ( label ) . click ( )
127127
128128 cy . get ( '@stub_cd0' ) . should ( 'be.calledWith' , path )
129129 } )
0 commit comments