File tree Expand file tree Collapse file tree 2 files changed +5
-11
lines changed
lib/dashboard/manage/logger Expand file tree Collapse file tree 2 files changed +5
-11
lines changed Original file line number Diff line number Diff line change @@ -94,7 +94,7 @@ const verifyFullDataPageElements = () => {
9494
9595 verifyStaticElementsOfPage ( false ) ;
9696
97- cy . checkLoadingSpinner ( ) ;
97+ cy . checkPaceActive ( ) ;
9898
9999 cy
100100 . elementExists ( logsDataTableElements ( ) . EMPTY_TABLE_ICON ) //Data comes sometimes
@@ -179,12 +179,16 @@ const verifyLogsDataTable = ({
179179
180180 cy . clickElement ( logsDataTableElements ( index ) . REQUEST_RECEIVED ) ;
181181
182+ cy . clickElement ( logsDataTableElements ( ) . TAB_DATA ) ;
183+
182184 cy . verifyElement ( {
183185 labelElement : logsDataTableElements ( ) . TAB_DATA ,
184186 labelText : "Data" ,
185187 element : logsDataTableElements ( ) . EXPAND_DATA ,
186188 } ) ;
187189
190+ cy . clickElement ( logsDataTableElements ( ) . TAB_HEADER ) ;
191+
188192 cy . verifyElement ( {
189193 labelElement : logsDataTableElements ( ) . TAB_HEADER ,
190194 labelText : "Header" ,
Original file line number Diff line number Diff line change @@ -202,16 +202,6 @@ Cypress.Commands.add('checkPaceActive', () => {
202202 } ) ;
203203} ) ;
204204
205- Cypress . Commands . add ( 'checkLoadingSpinner' , ( ) => {
206- cy
207- . elementExists ( '.el-loading-spinner' )
208- . then ( ( isExists ) => {
209- if ( isExists ) {
210- cy . shouldNotExist ( '.el-loading-spinner' ) ;
211- }
212- } ) ;
213- } ) ;
214-
215205Cypress . Commands . add ( "scrollPageToBottom" , ( element = '.main-view' , index = 0 ) => {
216206 cy . get ( element ) . eq ( index ) . scrollTo ( 'bottom' , { ensureScrollable : false } ) ;
217207} ) ;
You can’t perform that action at this time.
0 commit comments