File tree Expand file tree Collapse file tree 3 files changed +3
-1
lines changed
dev-console/integration-tests/support/pages Expand file tree Collapse file tree 3 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -82,6 +82,7 @@ export const catalogPage = {
8282 throw new Error ( 'Card is not available in Catalog' ) ;
8383 }
8484 }
85+ catalogPage . verifyPageTitle ( type ) ;
8586 } ,
8687 selectTemplateCategory : ( templateCategoryTitle : string ) => {
8788 const selector =
Original file line number Diff line number Diff line change @@ -292,6 +292,7 @@ export const projectNameSpace = {
292292 // cy.testA11y('Create Project modal');
293293 cy . url ( ) . then ( ( $url ) => {
294294 if ( $url . includes ( 'topology/all-namespaces' ) ) {
295+ cy . get ( '[data-test="page-heading"]' , { timeout : 30000 } ) . should ( 'exist' ) ;
295296 cy . get ( '.odc-namespaced-page__content' ) . should ( 'be.visible' ) ;
296297 } else if ( $url . includes ( 'topology/ns' ) ) {
297298 cy . byLegacyTestID ( 'item-filter' ) . should ( 'be.visible' ) ;
Original file line number Diff line number Diff line change 11export const detailsPage = {
22 titleShouldContain : ( title : string ) => {
3- cy . get ( '[data-test="page-heading"]' , { timeout : 30000 } ) . should ( 'be.visible ' ) ;
3+ cy . get ( '[data-test="page-heading"]' , { timeout : 30000 } ) . should ( 'exist ' ) ;
44 return cy . get ( '[data-test="page-heading"]' ) . contains ( title , { timeout : 30000 } ) ;
55 } ,
66 sectionHeaderShouldExist : ( sectionHeading : string ) =>
You can’t perform that action at this time.
0 commit comments