From 091180b85b554b0233b4d5c6358d1513f5c5fc78 Mon Sep 17 00:00:00 2001 From: Kevin Queiroz Date: Tue, 21 Nov 2023 14:50:26 -0300 Subject: [PATCH] LRQA-82281 Fix campaignName propertie to goToMDF macro --- .../testFunctional/tests/PRMMDFClaim.testcase | 22 +++++++++---------- .../tests/PRMMDFClaimEdit.testcase | 16 +++++++------- .../tests/PRMMDFRequest.testcase | 8 +++---- 3 files changed, 23 insertions(+), 23 deletions(-) diff --git a/modules/dxp/apps/osb/osb-site-initializer/osb-site-initializer-partner-portal/osb-site-initializer-partner-portal-test/src/testFunctional/tests/PRMMDFClaim.testcase b/modules/dxp/apps/osb/osb-site-initializer/osb-site-initializer-partner-portal/osb-site-initializer-partner-portal-test/src/testFunctional/tests/PRMMDFClaim.testcase index 1c056746a0193b..00b29e866a0c18 100644 --- a/modules/dxp/apps/osb/osb-site-initializer/osb-site-initializer-partner-portal/osb-site-initializer-partner-portal-test/src/testFunctional/tests/PRMMDFClaim.testcase +++ b/modules/dxp/apps/osb/osb-site-initializer/osb-site-initializer-partner-portal/osb-site-initializer-partner-portal-test/src/testFunctional/tests/PRMMDFClaim.testcase @@ -82,7 +82,7 @@ definition { task ("Given that the PMU goes to the created MDF") { PRMNavigator.openSitePage(pageName = "MDF Requests"); - PRMMDFRequest.goToMDF(campaignName = "Campaign Name"); + PRMMDFRequest.goToMDF(campaignName = "Campaign Name 1"); } task ("And creates two claims") { @@ -144,7 +144,7 @@ definition { JSONPRM.createMDFRequest( accountEntryName = "Company Name 2", activityName = "Activity Name 3", - campaignName = "Campaign Name 1", + campaignName = "Campaign Name 2", secondActivityName = "Activity Name 4", secondBudgetValueList = 1000); } @@ -160,7 +160,7 @@ definition { task ("And the CMM approves the MDF's") { PRMNavigator.openSitePage(pageName = "MDF Requests"); - PRMMDFRequest.goToMDF(campaignName = "Campaign Name 1"); + PRMMDFRequest.goToMDF(campaignName = "Campaign Name 2"); PRMMDFRequest.changeMDFStatus(key_statusButton = "Approve"); } @@ -173,8 +173,8 @@ definition { PRMNavigator.openSitePage(pageName = "MDF Requests"); } - task ("And the PMU user makes two claims for 'Campaign Name' MDF") { - PRMMDFRequest.goToMDF(campaignName = "Campaign Name"); + task ("And the PMU user makes two claims for 'Campaign Name 1' MDF") { + PRMMDFRequest.goToMDF(campaignName = "Campaign Name 1"); PRMMDFClaim.createNewClaim( listLeads = "Document_1.xlsx", @@ -188,10 +188,10 @@ definition { thirdInvoice = "Document_1.png"); } - task ("And the PMU user makes two Claims for 'Campaign Name 1' MDF") { + task ("And the PMU user makes two Claims for 'Campaign Name 2' MDF") { PRMNavigator.openSitePage(pageName = "MDF Requests"); - PRMMDFRequest.goToMDF(campaignName = "Campaign Name 1"); + PRMMDFRequest.goToMDF(campaignName = "Campaign Name 2"); PRMMDFClaim.createNewClaim( listLeads = "Document_1.xlsx", @@ -262,7 +262,7 @@ definition { task ("Given that the PMU goes to the created MDF") { PRMNavigator.openSitePage(pageName = "MDF Requests"); - PRMMDFRequest.goToMDF(campaignName = "Campaign Name"); + PRMMDFRequest.goToMDF(campaignName = "Campaign Name 1"); } task ("And creates two claims") { @@ -363,7 +363,7 @@ definition { task ("Given that the PMU goes to the created MDF") { PRMNavigator.openSitePage(pageName = "MDF Requests"); - PRMMDFRequest.goToMDF(campaignName = "Campaign Name"); + PRMMDFRequest.goToMDF(campaignName = "Campaign Name 1"); } task ("When the PMU claims just one MDF Activity") { @@ -519,7 +519,7 @@ definition { task ("Given that the PMU user goes to the created MDF") { PRMNavigator.openSitePage(pageName = "MDF Requests"); - PRMMDFRequest.goToMDF(campaignName = "Campaign Name"); + PRMMDFRequest.goToMDF(campaignName = "Campaign Name 1"); } task ("And creates a draft Claim") { @@ -560,7 +560,7 @@ definition { task ("Given that the PMU goes to the created MDF") { PRMNavigator.openSitePage(pageName = "MDF Requests"); - PRMMDFRequest.goToMDF(campaignName = "Campaign Name"); + PRMMDFRequest.goToMDF(campaignName = "Campaign Name 1"); } task ("When the PMU goes to create a new Claim") { diff --git a/modules/dxp/apps/osb/osb-site-initializer/osb-site-initializer-partner-portal/osb-site-initializer-partner-portal-test/src/testFunctional/tests/PRMMDFClaimEdit.testcase b/modules/dxp/apps/osb/osb-site-initializer/osb-site-initializer-partner-portal/osb-site-initializer-partner-portal-test/src/testFunctional/tests/PRMMDFClaimEdit.testcase index 08cd410c5a3b7d..08af351afafc8d 100644 --- a/modules/dxp/apps/osb/osb-site-initializer/osb-site-initializer-partner-portal/osb-site-initializer-partner-portal-test/src/testFunctional/tests/PRMMDFClaimEdit.testcase +++ b/modules/dxp/apps/osb/osb-site-initializer/osb-site-initializer-partner-portal/osb-site-initializer-partner-portal-test/src/testFunctional/tests/PRMMDFClaimEdit.testcase @@ -66,7 +66,7 @@ definition { PRMNavigator.openSitePage(pageName = "MDF Requests"); - PRMMDFRequest.goToMDF(campaignName = "Campaign Name"); + PRMMDFRequest.goToMDF(campaignName = "Campaign Name 1"); } } @@ -90,7 +90,7 @@ definition { task ("Given that the PMU creates a full claim with two activities") { PRMNavigator.openSitePage(pageName = "MDF Requests"); - PRMMDFRequest.goToMDF(campaignName = "Campaign Name"); + PRMMDFRequest.goToMDF(campaignName = "Campaign Name 1"); PRMMDFClaim.createNewClaim( activityIndex = "0,1", @@ -143,7 +143,7 @@ definition { task ("Given that the PMU creates a new claim") { PRMNavigator.openSitePage(pageName = "MDF Requests"); - PRMMDFRequest.goToMDF(campaignName = "Campaign Name"); + PRMMDFRequest.goToMDF(campaignName = "Campaign Name 1"); PRMMDFClaim.createNewClaim( allContents = "Document_2.jpg", @@ -209,7 +209,7 @@ definition { task ("Given that the partner creates a new claim") { PRMNavigator.openSitePage(pageName = "MDF Requests"); - PRMMDFRequest.goToMDF(campaignName = "Campaign Name"); + PRMMDFRequest.goToMDF(campaignName = "Campaign Name 1"); PRMMDFClaim.createNewClaim( listLeads = "Document_1.xlsx", @@ -266,7 +266,7 @@ definition { task ("Given that the partner creates a new claim") { PRMNavigator.openSitePage(pageName = "MDF Requests"); - PRMMDFRequest.goToMDF(campaignName = "Campaign Name"); + PRMMDFRequest.goToMDF(campaignName = "Campaign Name 1"); PRMMDFClaim.createNewClaim( listLeads = "Document_1.xlsx", @@ -323,7 +323,7 @@ definition { task ("Given that the partner creates a new claim") { PRMNavigator.openSitePage(pageName = "MDF Requests"); - PRMMDFRequest.goToMDF(campaignName = "Campaign Name"); + PRMMDFRequest.goToMDF(campaignName = "Campaign Name 1"); PRMMDFClaim.createNewClaim( listLeads = "Document_1.xlsx", @@ -380,7 +380,7 @@ definition { task ("Given that the partner creates a new claim") { PRMNavigator.openSitePage(pageName = "MDF Requests"); - PRMMDFRequest.goToMDF(campaignName = "Campaign Name"); + PRMMDFRequest.goToMDF(campaignName = "Campaign Name 1"); PRMMDFClaim.createNewClaim( listLeads = "Document_1.xlsx", @@ -437,7 +437,7 @@ definition { task ("Given that the partner creates a new claim") { PRMNavigator.openSitePage(pageName = "MDF Requests"); - PRMMDFRequest.goToMDF(campaignName = "Campaign Name"); + PRMMDFRequest.goToMDF(campaignName = "Campaign Name 1"); PRMMDFClaim.createNewClaim( listLeads = "Document_1.xlsx", diff --git a/modules/dxp/apps/osb/osb-site-initializer/osb-site-initializer-partner-portal/osb-site-initializer-partner-portal-test/src/testFunctional/tests/PRMMDFRequest.testcase b/modules/dxp/apps/osb/osb-site-initializer/osb-site-initializer-partner-portal/osb-site-initializer-partner-portal-test/src/testFunctional/tests/PRMMDFRequest.testcase index 718332bd0ba649..3b2e2141061c48 100644 --- a/modules/dxp/apps/osb/osb-site-initializer/osb-site-initializer-partner-portal/osb-site-initializer-partner-portal-test/src/testFunctional/tests/PRMMDFRequest.testcase +++ b/modules/dxp/apps/osb/osb-site-initializer/osb-site-initializer-partner-portal/osb-site-initializer-partner-portal-test/src/testFunctional/tests/PRMMDFRequest.testcase @@ -1070,7 +1070,7 @@ definition { buttonLink = "mdf-requests", buttonText = "MDFs"); - PRMMDFRequest.goToMDF(campaignName = "Campaign Name"); + PRMMDFRequest.goToMDF(campaignName = "Campaign Name 1"); PRMMDFRequest.changeMDFStatus(key_statusButton = "Approve"); } @@ -1086,7 +1086,7 @@ definition { buttonLink = "mdf-requests", buttonText = "MDFs"); - PRMMDFRequest.goToMDF(campaignName = "Campaign Name"); + PRMMDFRequest.goToMDF(campaignName = "Campaign Name 1"); PRMMDFClaim.createNewClaim( listLeads = "Document_1.xlsx", @@ -1124,7 +1124,7 @@ definition { buttonLink = "mdf-requests", buttonText = "MDFs"); - PRMMDFRequest.goToMDF(campaignName = "Campaign Name"); + PRMMDFRequest.goToMDF(campaignName = "Campaign Name 1"); PRMMDFRequest.changeMDFStatus(key_statusButton = "Approve"); } @@ -1140,7 +1140,7 @@ definition { buttonLink = "mdf-requests", buttonText = "MDFs"); - PRMMDFRequest.goToMDF(campaignName = "Campaign Name"); + PRMMDFRequest.goToMDF(campaignName = "Campaign Name 1"); PRMMDFClaim.createNewClaim( listLeads = "Document_1.xlsx",