@@ -61,6 +61,39 @@ describe("Run Tile tests", () => {
6161 runPage . verifyStepInFlow ( "Mastering" , "master-person" , flowName ) ;
6262 runPage . addStep ( flowName ) ;
6363 runPage . addStepToFlow ( "generate-dictionary" ) ;
64+
65+ cy . log ( "**Verify all steps are selected (just one Load step selected)**" ) ;
66+ runPage . openStepsSelectDropdown ( "testPersonXML" ) ;
67+ runPage . controlCheckedStep ( "#loadPersonXML" ) ;
68+ runPage . controlCheckedStep ( "#mapPersonXML" ) ;
69+ runPage . controlCheckedStep ( "#match-xml-person" ) ;
70+ runPage . controlCheckedStep ( "#merge-xml-person" ) ;
71+ runPage . controlCheckedStep ( "#master-person" ) ;
72+ runPage . controlCheckedStep ( "#generate-dictionary" ) ;
73+ runPage . controlUncheckedStep ( "#ingest-orders" ) ;
74+
75+ cy . log ( "**Deselect all**" ) ;
76+ runPage . getSelectAll ( ) . parent ( ) . should ( "have.text" , "Deselect All" ) ;
77+ runPage . getSelectAll ( ) . click ( ) ;
78+ runPage . controlUncheckedStep ( "#loadPersonXML" ) ;
79+ runPage . controlUncheckedStep ( "#mapPersonXML" ) ;
80+ runPage . controlUncheckedStep ( "#match-xml-person" ) ;
81+ runPage . controlUncheckedStep ( "#merge-xml-person" ) ;
82+ runPage . controlUncheckedStep ( "#master-person" ) ;
83+ runPage . controlUncheckedStep ( "#generate-dictionary" ) ;
84+ runPage . controlUncheckedStep ( "#ingest-orders" ) ;
85+
86+ cy . log ( "**Select all (just one Load step should be selected)**" ) ;
87+ runPage . getSelectAll ( ) . parent ( ) . should ( "have.text" , "Select All" ) ;
88+ runPage . getSelectAll ( ) . click ( ) ;
89+ runPage . controlCheckedStep ( "#loadPersonXML" ) ;
90+ runPage . controlCheckedStep ( "#mapPersonXML" ) ;
91+ runPage . controlCheckedStep ( "#match-xml-person" ) ;
92+ runPage . controlCheckedStep ( "#merge-xml-person" ) ;
93+ runPage . controlCheckedStep ( "#master-person" ) ;
94+ runPage . controlCheckedStep ( "#generate-dictionary" ) ;
95+ runPage . controlUncheckedStep ( "#ingest-orders" ) ;
96+
6497 //Verify scrolling, last step should still be visible in the flow panel
6598 runPage . verifyStepInFlow ( "Custom" , "generate-dictionary" , flowName ) ;
6699 //confirm the first load step is no longer visible because panel scrolled to the end
@@ -71,8 +104,6 @@ describe("Run Tile tests", () => {
71104
72105 it ( "Verify selected steps in run flow dropdown are executed successfully " , { defaultCommandTimeout : 120000 } , ( ) => {
73106 cy . log ( "**Verify selected steps executed successfully**" ) ;
74- runPage . openStepsSelectDropdown ( flowName ) ;
75-
76107 cy . log ( "**Unclick All Steps**" ) ;
77108 // cy.get("#checkAll").click();
78109
0 commit comments