From ac9059229c25c61368fdb6519d4f91abf18ee5f4 Mon Sep 17 00:00:00 2001 From: Nandini Chandra Date: Wed, 31 Jul 2024 15:54:13 -0500 Subject: [PATCH] [RFR] Fix questionnaire auto answer feature for applications(7.1) (#1183) * Fix questionnaire auto answer feature for applications(7.1) Signed-off-by: Nandini Chandra * Fix questionnaire auto answer feature for applications(7.1) Signed-off-by: Nandini Chandra --------- Signed-off-by: Nandini Chandra --- .../assessment/questionnaire_features.test.ts | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/cypress/e2e/tests/migration/applicationinventory/assessment/questionnaire_features.test.ts b/cypress/e2e/tests/migration/applicationinventory/assessment/questionnaire_features.test.ts index 72684fb45..9327fa9ad 100644 --- a/cypress/e2e/tests/migration/applicationinventory/assessment/questionnaire_features.test.ts +++ b/cypress/e2e/tests/migration/applicationinventory/assessment/questionnaire_features.test.ts @@ -94,12 +94,10 @@ describe(["@tier3"], "Tests for application questionnaire features", () => { // Automates Polarion MTA-505: Cancel assessment clickByText(button, "Cancel"); click(confirmButton); - application.selectKebabMenuItem("Discard assessment(s)"); - /* Needs further investigation; Occassionally fails - Assessment.verifyAssessmentTakeButtonEnabled(); */ + Assessment.verifyButtonEnabled("Take"); }); - it("1) Test auto answer feature of questionnaires; 2) Save assessment", function () { + it("Bug: MTA-3417 1) Test auto answer feature of questionnaires; 2) Save assessment", function () { //Automates Polarion MTA-388: Auto answer Application.open(); cy.wait(2 * SEC); @@ -135,8 +133,9 @@ describe(["@tier3"], "Tests for application questionnaire features", () => { }); after("Perform test data clean up", function () { + Application.open(true); + application.delete(); deleteByList(stakeholderList); AssessmentQuestionnaire.deleteAllQuestionnaires(); - application.delete(); }); });