@@ -11,6 +11,7 @@ describe('Vue project manager', () => {
11
11
} )
12
12
13
13
it ( 'Creates a new project (manual)' , ( ) => {
14
+ cy . viewport ( 1400 , 800 )
14
15
cy . visit ( '/project/select' )
15
16
cy . get ( '.tab-button' ) . eq ( 1 ) . click ( )
16
17
cy . get ( '.folder-explorer' ) . should ( 'be.visible' )
@@ -51,7 +52,7 @@ describe('Vue project manager', () => {
51
52
} )
52
53
cy . get ( '.loading-screen .vue-ui-loading-indicator' ) . should ( 'be.visible' )
53
54
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' )
55
56
} )
56
57
57
58
it ( 'Favorites the project' , ( ) => {
@@ -63,6 +64,7 @@ describe('Vue project manager', () => {
63
64
} )
64
65
65
66
it ( 'Imports a project' , ( ) => {
67
+ cy . viewport ( 1400 , 800 )
66
68
cy . visit ( '/project/select' )
67
69
cy . get ( '.project-select-list-item' ) . eq ( 0 ) . get ( '[data-testid="delete-button"]' ) . click ( )
68
70
cy . get ( '.project-select-list-item' ) . should ( 'not.exist' )
@@ -75,6 +77,6 @@ describe('Vue project manager', () => {
75
77
cy . get ( '.import-project' ) . should ( 'not.have.class' , 'disabled' ) . click ( )
76
78
} )
77
79
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' )
79
81
} )
80
82
} )
0 commit comments