File tree 1 file changed +8
-1
lines changed
tests/e2e/pageobjects/dashboard
1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ import { By } from 'selenium-webdriver';
14
14
import { DriverHelper } from '../../utils/DriverHelper' ;
15
15
import { Logger } from '../../utils/Logger' ;
16
16
import { GitProviderType } from '../../constants/FACTORY_TEST_CONSTANTS' ;
17
+ import { TIMEOUT_CONSTANTS } from '../../constants/TIMEOUT_CONSTANTS' ;
17
18
18
19
@injectable ( )
19
20
export class UserPreferences {
@@ -83,7 +84,13 @@ export class UserPreferences {
83
84
await this . driverHelper . waitVisibility ( UserPreferences . CONFIRMATION_WINDOW ) ;
84
85
await this . driverHelper . waitAndClick ( UserPreferences . DELETE_CONFIRMATION_CHECKBOX ) ;
85
86
await this . driverHelper . waitAndClick ( UserPreferences . DELETE_ITEM_BUTTON_ENABLED ) ;
86
- await this . driverHelper . waitDisappearance ( this . getServicesListItemLocator ( servicesName ) ) ;
87
+
88
+ await this . driverHelper . waitAttributeValue (
89
+ this . getServicesListItemLocator ( servicesName ) ,
90
+ 'disabled' ,
91
+ 'true' ,
92
+ TIMEOUT_CONSTANTS . TS_COMMON_DASHBOARD_WAIT_TIMEOUT
93
+ ) ;
87
94
}
88
95
89
96
async selectListItem ( servicesName : string ) : Promise < void > {
You can’t perform that action at this time.
0 commit comments