@@ -11,6 +11,7 @@ describe('Vue project manager', () => {
1111 } )
1212
1313 it ( 'Creates a new project (manual)' , ( ) => {
14+ cy . viewport ( 1400 , 800 )
1415 cy . visit ( '/project/select' )
1516 cy . get ( '.tab-button' ) . eq ( 1 ) . click ( )
1617 cy . get ( '.folder-explorer' ) . should ( 'be.visible' )
@@ -51,7 +52,7 @@ describe('Vue project manager', () => {
5152 } )
5253 cy . get ( '.loading-screen .vue-ui-loading-indicator' ) . should ( 'be.visible' )
5354 cy . get ( '.project-home' , { timeout : 250000 } ) . should ( 'be.visible' )
54- cy . get ( '.current-project' ) . should ( 'have.text ' , 'cli-ui-test' )
55+ cy . get ( '.top-bar . current-project' ) . should ( 'contain ' , 'cli-ui-test' )
5556 } )
5657
5758 it ( 'Favorites the project' , ( ) => {
@@ -63,6 +64,7 @@ describe('Vue project manager', () => {
6364 } )
6465
6566 it ( 'Imports a project' , ( ) => {
67+ cy . viewport ( 1400 , 800 )
6668 cy . visit ( '/project/select' )
6769 cy . get ( '.project-select-list-item' ) . eq ( 0 ) . get ( '[data-testid="delete-button"]' ) . click ( )
6870 cy . get ( '.project-select-list-item' ) . should ( 'not.exist' )
@@ -75,6 +77,6 @@ describe('Vue project manager', () => {
7577 cy . get ( '.import-project' ) . should ( 'not.have.class' , 'disabled' ) . click ( )
7678 } )
7779 cy . get ( '.project-home' ) . should ( 'be.visible' )
78- cy . get ( '.current-project' ) . should ( 'have.text ' , 'cli-ui-test' )
80+ cy . get ( '.top-bar . current-project' ) . should ( 'contain ' , 'cli-ui-test' )
7981 } )
8082} )
0 commit comments