@@ -237,7 +237,6 @@ const suspendCluster = (label: string) => {
237237 * @param initialLabel - cluster name
238238 * @param updateAttemptLabel - cluster updated name
239239 * @param errorMessage - error thrown for updating a suspended/resuming cluster
240- * @param hostnameRegex - connection settings hostname
241240 * @param allowedIp - ip for manage access actions
242241 */
243242
@@ -247,7 +246,6 @@ const validateSuspendResume = (
247246 initialLabel : string ,
248247 updateAttemptLabel : string ,
249248 errorMessage : string ,
250- hostnameRegex : RegExp ,
251249 allowedIp : string
252250) => {
253251 cy . visit ( `/databases/${ engine } /${ id } ` ) ;
@@ -263,8 +261,6 @@ const validateSuspendResume = (
263261 . click ( ) ;
264262
265263 cy . findByText ( 'Connection Details' ) ;
266- // DBaaS hostnames are not available when database/cluster is suspended or resuming.
267- cy . findByText ( hostnameRegex ) . should ( 'be.visible' ) ;
268264
269265 // DBaaS passwords cannot be revealed when database/cluster is suspended or resuming.
270266 ui . cdsButton . findButtonByTitle ( 'Show' ) . should ( 'be.enabled' ) ;
@@ -647,8 +643,6 @@ describe('Update database clusters', () => {
647643
648644 const errorMessage =
649645 'Your database is suspended; please wait until it becomes active to perform this operation.' ;
650- const hostnameRegex =
651- / y o u r h o s t n a m e s ? w i l l a p p e a r h e r e o n c e ( i t i s | t h e y a r e ) a v a i l a b l e ./ i;
652646
653647 mockGetAccount ( accountFactory . build ( ) ) . as ( 'getAccount' ) ;
654648 mockGetDatabase ( database ) . as ( 'getDatabase' ) ;
@@ -719,7 +713,6 @@ describe('Update database clusters', () => {
719713 initialLabel ,
720714 updateAttemptLabel ,
721715 errorMessage ,
722- hostnameRegex ,
723716 allowedIp
724717 ) ;
725718 } ) ;
@@ -756,8 +749,6 @@ describe('Update database clusters', () => {
756749 } ) ;
757750
758751 const errorMessage = `Your database is ${ action } ; please wait until it becomes active to perform this operation.` ;
759- const hostnameRegex =
760- / y o u r h o s t n a m e s ? w i l l a p p e a r h e r e o n c e ( i t i s | t h e y a r e ) a v a i l a b l e ./ i;
761752
762753 mockGetAccount ( accountFactory . build ( ) ) . as ( 'getAccount' ) ;
763754 mockGetDatabases ( [ database ] ) . as ( 'getDatabases' ) ;
@@ -846,7 +837,6 @@ describe('Update database clusters', () => {
846837 initialLabel ,
847838 updateAttemptLabel ,
848839 errorMessage ,
849- hostnameRegex ,
850840 allowedIp
851841 ) ;
852842 } ) ;
0 commit comments