@@ -105,7 +105,7 @@ describe('Cache Creation Wizard', () => {
105105 cy . get ( '[data-cy=option-typeahead-persistence]' ) . click ( ) ;
106106 cy . get ( '[data-cy=menu-toogle-categorySelector]' ) . click ( ) ;
107107
108- //Filling alias
108+ //Filling alias
109109 cy . get ( '[data-cy=menu-toogle-aliasesSelector]' ) . click ( ) . type ( 'securedAlias' ) . type ( '{enter}' ) ;
110110
111111 // Next
@@ -135,7 +135,7 @@ describe('Cache Creation Wizard', () => {
135135 cy . get ( '[data-cy=wizardNextButton]' ) . click ( ) ;
136136
137137 // Once the cache created, redirection to main page is done and the cache should be visible
138- cy . get ( '# cluster-manager-header' ) . should ( 'exist' ) ;
138+ cy . get ( '[data-cy= cluster-manager-header] ' ) . should ( 'exist' ) ;
139139 cy . get ( '[data-cy=cacheManagerStatus]' ) . should ( 'exist' ) ;
140140 cy . get ( '[data-cy=rebalancingSwitch]' ) . should ( 'exist' ) ;
141141 cy . contains ( 'asuper-cache' ) ;
@@ -167,7 +167,7 @@ describe('Cache Creation Wizard', () => {
167167 cy . contains ( 'Cache ' + cacheName + ' successfully created with e2e-test-template.' ) ;
168168 // Once the cache created, redirection to main page is done and the cache should be visible
169169 //Is redirected to Data Container page
170- cy . get ( '# cluster-manager-header' ) . should ( 'exist' ) ;
170+ cy . get ( '[data-cy= cluster-manager-header] ' ) . should ( 'exist' ) ;
171171 cy . get ( '[data-cy=cacheManagerStatus]' ) . should ( 'exist' ) ;
172172 cy . get ( '[data-cy=rebalancingSwitch]' ) . should ( 'exist' ) ;
173173 cy . contains ( cacheName ) ;
@@ -195,7 +195,7 @@ describe('Cache Creation Wizard', () => {
195195 cy . get ( '[data-cy=wizardNextButton]' ) . click ( ) ;
196196 cy . contains ( 'Cache aSimpleCache created with the provided configuration.' ) ;
197197 // Once the cache created, redirection to main page is done and the cache should be visible
198- cy . get ( '# cluster-manager-header' ) . should ( 'exist' ) ;
198+ cy . get ( '[data-cy= cluster-manager-header] ' ) . should ( 'exist' ) ;
199199 cy . get ( '[data-cy=cacheManagerStatus]' ) . should ( 'exist' ) ;
200200 cy . get ( '[data-cy=rebalancingSwitch]' ) . should ( 'exist' ) ;
201201 cy . contains ( 'aSimpleCache' ) ;
@@ -229,7 +229,7 @@ describe('Cache Creation Wizard', () => {
229229 cy . get ( '[data-cy=wizardNextButton]' ) . click ( ) ;
230230 cy . contains ( 'Cache aSimpleXmlCache created with the provided configuration.' ) ;
231231 // Once the cache created, redirection to main page is done and the cache should be visible
232- cy . get ( '# cluster-manager-header' ) . should ( 'exist' ) ;
232+ cy . get ( '[data-cy= cluster-manager-header] ' ) . should ( 'exist' ) ;
233233 cy . get ( '[data-cy=cacheManagerStatus]' ) . should ( 'exist' ) ;
234234 cy . get ( '[data-cy=rebalancingSwitch]' ) . should ( 'exist' ) ;
235235 cy . contains ( 'aSimpleXmlCache' ) ;
0 commit comments