@@ -10,22 +10,23 @@ describe('Settings > Application Settings > Details', () => {
1010 } ) ;
1111
1212 describe ( 'Settings Details Tab' , ( ) => {
13- it ( 'Region row is replaced by region form when clicked ' , ( ) => {
13+ it ( 'Click row and reroute ' , ( ) => {
1414 cy . get ( '.bx--front-line' ) . contains ( 'Region 0' ) . click ( { force : true } ) ;
1515 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+
1818 cy . get ( '.bx--front-line' ) . contains ( 'Analysis Profiles' ) . click ( { force : true } ) ;
1919 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+
2222 cy . get ( '.bx--front-line' ) . contains ( 'Zones' ) . click ( { force : true } ) ;
2323 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+
2626 cy . get ( '.bx--front-line' ) . contains ( 'Schedules' ) . click ( { force : true } ) ;
2727 cy . get ( '#explorer_title_text' ) . contains ( 'Settings Schedules' ) . should ( 'exist' ) ;
2828 } ) ;
29+
2930 it ( 'Updates region name when changed' , ( ) => {
3031 cy . get ( '.bx--front-line' ) . contains ( 'Region 0' ) . click ( { force : true } ) ;
3132 cy . get ( '#description' ) . clear ( ) . type ( 'Region 1' ) ;
0 commit comments