@@ -10,22 +10,23 @@ describe('Settings > Application Settings > Details', () => {
10
10
} ) ;
11
11
12
12
describe ( 'Settings Details Tab' , ( ) => {
13
- it ( 'Region row is replaced by region form when clicked ' , ( ) => {
13
+ it ( 'Click row and reroute ' , ( ) => {
14
14
cy . get ( '.bx--front-line' ) . contains ( 'Region 0' ) . click ( { force : true } ) ;
15
15
cy . get ( '.bx--label' ) . contains ( 'Description' ) . should ( 'exist' ) ;
16
- } ) ;
17
- it ( 'Clicks on analysis profiles row and reroutes' , ( ) => {
16
+ cy . get ( '[data-nodeid="0.0"].node-treeview-settings_tree' ) . contains ( 'ManageIQ Region' ) . click ( ) ;
17
+
18
18
cy . get ( '.bx--front-line' ) . contains ( 'Analysis Profiles' ) . click ( { force : true } ) ;
19
19
cy . get ( '#explorer_title_text' ) . contains ( 'Settings Analysis Profiles' ) . should ( 'exist' ) ;
20
- } ) ;
21
- it ( 'Clicks on zones row and reroutes' , ( ) => {
20
+ cy . get ( '[data-nodeid="0.0"].node-treeview-settings_tree' ) . contains ( 'ManageIQ Region' ) . click ( ) ;
21
+
22
22
cy . get ( '.bx--front-line' ) . contains ( 'Zones' ) . click ( { force : true } ) ;
23
23
cy . get ( '#explorer_title_text' ) . contains ( 'Settings Zones' ) . should ( 'exist' ) ;
24
- } ) ;
25
- it ( 'Clicks on schedules row and reroutes' , ( ) => {
24
+ cy . get ( '[data-nodeid="0.0"].node-treeview-settings_tree' ) . contains ( 'ManageIQ Region' ) . click ( ) ;
25
+
26
26
cy . get ( '.bx--front-line' ) . contains ( 'Schedules' ) . click ( { force : true } ) ;
27
27
cy . get ( '#explorer_title_text' ) . contains ( 'Settings Schedules' ) . should ( 'exist' ) ;
28
28
} ) ;
29
+
29
30
it ( 'Updates region name when changed' , ( ) => {
30
31
cy . get ( '.bx--front-line' ) . contains ( 'Region 0' ) . click ( { force : true } ) ;
31
32
cy . get ( '#description' ) . clear ( ) . type ( 'Region 1' ) ;
0 commit comments