From d9f44d6fdd983b7f7fee494cdf5332a80a8b610c Mon Sep 17 00:00:00 2001 From: anup-nehe <117707464+anup-nehe@users.noreply.github.com> Date: Thu, 9 Jan 2025 13:58:17 +0530 Subject: [PATCH] MOSIP-33299 added revamp test cases (#1078) * MOSIP-34116 Signed-off-by: Anup Nehe * resolve conflicts Signed-off-by: Anup Nehe * Update Kernel.properties Signed-off-by: anup-nehe <117707464+anup-nehe@users.noreply.github.com> --------- Signed-off-by: Anup Nehe Signed-off-by: anup-nehe <117707464+anup-nehe@users.noreply.github.com> --- .../main/resources/config/Kernel.properties | 4 +- .../kernel/util/KeycloakUserManager.java | 10 +- .../testrig/pmprevampui/pages/BasePage.java | 36 + .../pmprevampui/pages/DashboardPage.java | 22 + .../testrig/pmprevampui/pages/FtmPage.java | 695 ++++++++++++++++++ .../pages/PartnerCertificatePage.java | 116 ++- .../pmprevampui/pages/RegisterPage.java | 8 +- .../pmprevampui/testcase/AuthPartnerTest.java | 4 +- .../pmprevampui/testcase/FTMDeviceTest.java | 630 ++++++++++++++++ .../pmprevampui/testcase/NewUserPolicy.java | 2 +- .../pmprevampui/testcase/RegisterNewUser.java | 2 +- .../pmprevampui/utility/GlobalConstants.java | 40 +- .../pmprevampui/utility/TestRunner.java | 4 + .../resources/Screenshots/1736241854544.png | Bin 0 -> 28612 bytes .../config/partnerRevampDataDeleteQueries.txt | 9 +- .../partnerRevampDataDeleteQueriesForIDA.txt | 2 +- ...artnerRevampDataDeleteQueriesForKeyMgr.txt | 11 +- .../src/main/resources/testngFile/testng.xml | 1 + 18 files changed, 1565 insertions(+), 31 deletions(-) create mode 100644 uitest-pmprevamp/src/main/java/io/mosip/testrig/pmprevampui/pages/FtmPage.java create mode 100644 uitest-pmprevamp/src/main/resources/Screenshots/1736241854544.png diff --git a/uitest-pmp/src/main/resources/config/Kernel.properties b/uitest-pmp/src/main/resources/config/Kernel.properties index f91cce81c..376a186b0 100644 --- a/uitest-pmp/src/main/resources/config/Kernel.properties +++ b/uitest-pmp/src/main/resources/config/Kernel.properties @@ -127,11 +127,11 @@ splitdigit=7 jsonObjName=identity bulkwait=10000 sbivalidDate=12/27/2022 -sbiexpiryDate=12/27/2024 +sbiexpiryDate=12/27/2026 policyData={\"authTokenType\":\"policy\",\"allowedKycAttributes\":[{\"attributeName\":\"fullName\"},{\"attributeName\":\"gender\"},{\"attributeName\":\"residenceStatus\"},{\"attributeName\":\"dateOfBirth\"},{\"attributeName\":\"photo\"},{\"attributeName\":\"civilRegistryNumber\"},{\"attributeName\":\"birthCertificateNumber\"},{\"attributeName\":\"flagidcs\"},{\"attributeName\":\"listCountry\"},{\"attributeName\":\"placeOfBirth\"},{\"attributeName\":\"flagb\"},{\"attributeName\":\"passportNumber\"},{\"attributeName\":\"referenceResidencyNumber\"},{\"attributeName\":\"resOuPass\"}],\"allowedAuthTypes\":[{\"authSubType\":\"IRIS\",\"authType\":\"bio\",\"mandatory\":false},{\"authSubType\":\"FINGER\",\"authType\":\"bio\",\"mandatory\":false},{\"authSubType\":\"\",\"authType\":\"otp\",\"mandatory\":false},{\"authSubType\":\"FACE\",\"authType\":\"bio\",\"mandatory\":false},{\"authSubType\":\"\",\"authType\":\"otp-request\",\"mandatory\":false},{\"authSubType\":\"\",\"authType\":\"kyc\",\"mandatory\":false},{\"authSubType\":\"\",\"authType\":\"demo\",\"mandatory\":false}]} dataSharepolicyData={\"shareableAttributes\":[{\"attributeName\":\"fullName\",\"source\":[{\"attribute\":\"fullName\"}],\"encrypted\":true},{\"attributeName\":\"dateOfBirth\",\"source\":[{\"attribute\":\"dateOfBirth\"}],\"encrypted\":true},{\"attributeName\":\"gender\",\"source\":[{\"attribute\":\"gender\"}],\"encrypted\":true},{\"attributeName\":\"residenceStatus\",\"source\":[{\"attribute\":\"residenceStatus\"}],\"encrypted\":true},{\"attributeName\":\"phone\",\"source\":[{\"attribute\":\"phone\"}],\"encrypted\":true},{\"attributeName\":\"email\",\"source\":[{\"attribute\":\"email\"}],\"encrypted\":true},{\"attributeName\":\"dualCitizenshipAvailability\",\"source\":[{\"attribute\":\"dualCitizenshipAvailability\"}],\"encrypted\":true},{\"attributeName\":\"fatherName\",\"source\":[{\"attribute\":\"fatherName\"}],\"encrypted\":true},{\"attributeName\":\"shortenedPrintedName\",\"source\":[{\"attribute\":\"shortenedPrintedName\"}],\"encrypted\":true},{\"attributeName\":\"layName\",\"source\":[{\"attribute\":\"layName\"}],\"encrypted\":true},{\"attributeName\":\"nationalIdentityNumber\",\"source\":[{\"attribute\":\"nationalIdentityNumber\"}],\"encrypted\":true},{\"attributeName\":\"permanentAddress\",\"source\":[{\"attribute\":\"permanentAddress\"}],\"encrypted\":true},{\"attributeName\":\"temporaryAddress\",\"source\":[{\"attribute\":\"temporaryAddress\"}],\"encrypted\":true},{\"attributeName\":\"addressLine1\",\"source\":[{\"attribute\":\"addressLine1\"}],\"encrypted\":true},{\"attributeName\":\"addressLine2\",\"source\":[{\"attribute\":\"addressLine2\"}],\"encrypted\":true},{\"attributeName\":\"addressLine3\",\"source\":[{\"attribute\":\"addressLine3\"}],\"encrypted\":true},{\"attributeName\":\"region\",\"source\":[{\"attribute\":\"region\"}],\"encrypted\":true},{\"attributeName\":\"province\",\"source\":[{\"attribute\":\"province\"}],\"encrypted\":true},{\"attributeName\":\"profession\",\"source\":[{\"attribute\":\"profession\"}],\"encrypted\":true},{\"attributeName\":\"city\",\"source\":[{\"attribute\":\"city\"}],\"encrypted\":true},{\"attributeName\":\"postalCode\",\"source\":[{\"attribute\":\"postalCode\"}],\"encrypted\":true},{\"attributeName\":\"zone\",\"source\":[{\"attribute\":\"zone\"}],\"encrypted\":true},{\"attributeName\":\"preferredLang\",\"source\":[{\"attribute\":\"preferredLang\"}],\"encrypted\":false},{\"attributeName\":\"individualBiometrics\",\"group\":\"CBEFF\",\"source\":[{\"attribute\":\"individualBiometrics\"}],\"encrypted\":true,\"format\":\"extraction\"}],\"dataSharePolicies\":{\"typeOfShare\":\"Data Share\",\"validForInMinutes\":\"30\",\"transactionsAllowed\":\"2\",\"encryptionType\":\"Partner Based\",\"shareDomain\":\"datashare.datashare\",\"source\":\"IDRepository\"}} publicKey=ZAEACwACAHIAIINxl2dEhLP4GpDMjUal1yT9UtduBlILZPKh2hszFGmqABAAFwALCAAAAQABAQDCHegKJ3vRn__8h1knXKiLA8qfO5LebzBlRO2tAcI3HvLyL9rPkVrXWYQ6wAn4VQk015C1hViU-7k752dYE5WUAUbgsxOHvvDPH1t72CNHNj9dyE86wGqR9AtK3yz0yf1IP_xgtWpiaQ2V9t2d3LtgPYWnRuPJbcl97nLXXL6PGfh1mRwsQUi94coEBPMZ9YLLOAFckPuDZt-lEcXIMkj8r0uNwAZUSEvGifTNWbLjC5BRlJBmvScIlptXqIwBaq2kSMVK2X1KbQ6TM8zkA_co4LEAIZfcpMgPn6RdW0yFtcx24HqrCY8v0DHregwoCPPpw8HvB-r5aR09mXG64zsJ signPublicKey=AAZABAAEAHIAAAAQABQACwgAAAEAAQEAr93rKokeZGIzcCtFX3iyCvwpmfnd9jz0nF__0bxWr0mH8Zs0rhlG6vKRagx31I4CdrLAECOwMZ0r7Y3utTqHqelQE3MJLtboKITOqYRpBkqHSm1jGaEb8a1E9yoJri3tZrBCrAShimrN_SbtS1uKbJUG3cuVuE0gtGLI1d5wMfS_4PSz3RwvZtGHisEb3zbV6SLcJkgcDeMbUD7P25SVJd1xrJybuGIgyeSZxOgLzy1P-qHCiOXiAO9o06fwyIhIYbeZYz5th4rq7Rb6mRK9EWFpLrLvBL0F6USiidl8qNCxxZZFUp3W5xFANVYfRvgLKI33zBYniZ7aTE8PgrYa2w headless=yes docker=yes -langcode=[{"language":"tam","value":"தமிழà¯\uFFFD"},{"language":"kan","value":"à²\u2022ನà³\uFFFDನಡ"},{"language":"hin","value":"hin"},{"language":"eng1","value":"English"},{"language":"eng","value":"English"},{"language":"fra","value":"Français"},{"language":"ara","value":"Arabic"}] \ No newline at end of file +langcode=[{"language":"tam","value":"தமிழà¯\uFFFD"},{"language":"kan","value":"à²\u2022ನà³\uFFFDನಡ"},{"language":"hin","value":"hin"},{"language":"eng1","value":"English"},{"language":"eng","value":"English"},{"language":"fra","value":"Français"},{"language":"ara","value":"Arabic"}] diff --git a/uitest-pmprevamp/src/main/java/io/mosip/testrig/pmprevampui/kernel/util/KeycloakUserManager.java b/uitest-pmprevamp/src/main/java/io/mosip/testrig/pmprevampui/kernel/util/KeycloakUserManager.java index 7928b159c..959f3eb81 100644 --- a/uitest-pmprevamp/src/main/java/io/mosip/testrig/pmprevampui/kernel/util/KeycloakUserManager.java +++ b/uitest-pmprevamp/src/main/java/io/mosip/testrig/pmprevampui/kernel/util/KeycloakUserManager.java @@ -86,9 +86,16 @@ public static void createUsers() { moduleSpecificUser = needsToBeCreatedUser; } else if (needsToBeCreatedUser.equals("nocert")) { moduleSpecificUser = needsToBeCreatedUser; - } else if (needsToBeCreatedUser.equals("device")) { + }else if (needsToBeCreatedUser.equals("device")) { moduleSpecificUser = needsToBeCreatedUser; } + else if (needsToBeCreatedUser.equals("ftm")) { + moduleSpecificUser = needsToBeCreatedUser; + }else if (needsToBeCreatedUser.equals("ftmnocert")) { + moduleSpecificUser = needsToBeCreatedUser; + } + + else { moduleSpecificUser = BaseTestCaseFunc.currentModule + "-" + needsToBeCreatedUser; @@ -140,7 +147,6 @@ public static void createUsers() { } userResource.roles().realmLevel() // .add((availableRoles.isEmpty() ? allRoles : availableRoles)); - } } diff --git a/uitest-pmprevamp/src/main/java/io/mosip/testrig/pmprevampui/pages/BasePage.java b/uitest-pmprevamp/src/main/java/io/mosip/testrig/pmprevampui/pages/BasePage.java index b23c21bae..854248ed2 100644 --- a/uitest-pmprevamp/src/main/java/io/mosip/testrig/pmprevampui/pages/BasePage.java +++ b/uitest-pmprevamp/src/main/java/io/mosip/testrig/pmprevampui/pages/BasePage.java @@ -199,6 +199,23 @@ protected boolean isElementDisplayed(WebElement element) { return false; } } + + protected boolean isElementDisabled(WebElement element) { + try { + driver.manage().timeouts().implicitlyWait(Duration.ofSeconds(20)); + Thread.sleep(2000); + waitForElementToBeDisabled(element); + return true; + } catch (Exception e) { + try { + Reporter.log("

"); + } catch (IOException e1) { + e1.printStackTrace(); + } + return false; + } + } protected boolean isElementEnabled(WebElement element) { try { @@ -219,6 +236,11 @@ private void waitForElementToBeVisible(WebElement element) { WebDriverWait wait = new WebDriverWait(driver, Duration.ofSeconds(40)); wait.until(ExpectedConditions.visibilityOf(element)); } + + private void waitForElementToBeDisabled(WebElement element) { + WebDriverWait wait = new WebDriverWait(driver, Duration.ofSeconds(10)); + wait.until(ExpectedConditions.invisibilityOfAllElements(element)); + } public static void wait(int wait) { try { @@ -276,6 +298,19 @@ public static String getTestData() { return JsonUtil.readJsonFileText("TestData.json"); } + + public void refreshThePage() { + driver.navigate().refresh(); + } + + public static void NavigateBack() { + driver.navigate().back(); + } + + public static void NavigateForword() { + driver.navigate().forward(); + } + public void reload() { driver.navigate().refresh(); } @@ -296,6 +331,7 @@ public String cancelAlert() { String alertText = alert.getText(); alert.dismiss(); return alertText; + } } diff --git a/uitest-pmprevamp/src/main/java/io/mosip/testrig/pmprevampui/pages/DashboardPage.java b/uitest-pmprevamp/src/main/java/io/mosip/testrig/pmprevampui/pages/DashboardPage.java index 39c5873bf..591ae7f8d 100644 --- a/uitest-pmprevamp/src/main/java/io/mosip/testrig/pmprevampui/pages/DashboardPage.java +++ b/uitest-pmprevamp/src/main/java/io/mosip/testrig/pmprevampui/pages/DashboardPage.java @@ -92,6 +92,16 @@ public class DashboardPage extends BasePage { @FindBy(xpath = "//*[text()='Partner - Policy Linking']") private WebElement PartnerPolicyMappingTab; + @FindBy(id = "dashboard_partner_certificate_list_header") + private WebElement dashboardPartnerCertificateListHeader; + + @FindBy(xpath = "//*[text()='FTM Chip']") + private WebElement FTMChipTab; + + @FindBy(id = "dashboard_ftm_chip_provider_card_header") + private WebElement dashboardFtmChipproviderCardHeader; + + public DashboardPage(WebDriver driver) { super(driver); } @@ -236,6 +246,18 @@ public void clickOnPartnerPolicyMappingTab() { clickOnElement(PartnerPolicyMappingTab); } + public void clickOnDashboardPartnerCertificateListHeader() { + clickOnElement(dashboardPartnerCertificateListHeader); + } + + public void clickOnFTMChipTab() { + clickOnElement(FTMChipTab); + } + + public void clickOnDashboardFtmChipproviderCardHeader() { + clickOnElement(dashboardFtmChipproviderCardHeader); + } + public void clickOnHamburgerOpen() { clickOnElement(hamburgerOpen); } diff --git a/uitest-pmprevamp/src/main/java/io/mosip/testrig/pmprevampui/pages/FtmPage.java b/uitest-pmprevamp/src/main/java/io/mosip/testrig/pmprevampui/pages/FtmPage.java new file mode 100644 index 000000000..85fe54ab8 --- /dev/null +++ b/uitest-pmprevamp/src/main/java/io/mosip/testrig/pmprevampui/pages/FtmPage.java @@ -0,0 +1,695 @@ +package io.mosip.testrig.pmprevampui.pages; + +import org.openqa.selenium.By; +import org.openqa.selenium.WebDriver; +import org.openqa.selenium.WebElement; +import org.openqa.selenium.support.FindBy; + +import io.mosip.testrig.pmprevampui.utility.TestRunner; + +public class FtmPage extends BasePage { + + @FindBy(xpath = "//*[contains(text(), 'successfully')]") + private WebElement successMessageForFtmCert; + + @FindBy(id = "partnerDomain_selector_dropdown_option1") + private WebElement partnerDomainSelectorDropdownOptionFtm; + + @FindBy(id = "dashboard_ftm_chip_provider_card") + private WebElement dashboardFtmChipProviderCard; + + @FindBy(id = "side_nav_ftmchip_provider_service_icon") + private WebElement sideNavFtmchipProviderServiceIcon; + + @FindBy(id = "add_ftm") + private WebElement addFtmButton; + + + + @FindBy(xpath = "//*[contains(text(), 'Partner ID')]") + private WebElement partnerIdCoulumeHeader; + + @FindBy(xpath = "//*[contains(text(), 'Make')]") + private WebElement makeCoulumeHeader; + + @FindBy(xpath = "//*[contains(text(), 'Model')]") + private WebElement modelCoulumeHeader; + + @FindBy(xpath = "//*[contains(text(), 'Created Date')]") + private WebElement createdDateCoulumeHeader; + + @FindBy(xpath = "//*[contains(text(), 'Cert Time of Upload')]") + private WebElement certTimeofUploadCoulumeHeader; + + @FindBy(xpath = "//*[contains(text(), 'Cert Expiry Date & Time')]") + private WebElement certExpiryCoulumeHeader; + + + @FindBy(xpath = "//*[contains(text(), 'Cert Expiry Status')]") + private WebElement certExpiryStatusCoulumeHeader; + + @FindBy(xpath = "//*[contains(text(), 'Status')]") + private WebElement statusCoulumeHeader; + + @FindBy(xpath = "//*[contains(text(), 'Action')]") + private WebElement actionCoulumeHeader; + + + + @FindBy(id = "add_ftm_partner_id") + private WebElement addFtmPartnerId; + + @FindBy(id = "add_ftm_partner_id_option1") + private WebElement addFtmPartnerIdOption1; + + @FindBy(id = "add_ftm_make") + private WebElement addFtmMake; + + @FindBy(id = "add_ftm_model") + private WebElement addFtmModel; + + @FindBy(id = "add_ftm_submit_btn") + private WebElement addFtmSubmitButton; + + @FindBy(id = "confirmation_custom_btn") + private WebElement confirmationCustomButton; + + @FindBy(id = "certificate_upload_submit_btn") + private WebElement certificateUploadSubmitButton; + + @FindBy(id = "list_of_ftm") + private WebElement listOfFtm; + + @FindBy(id = "ftm_list_action1") + private WebElement ftmListAction1; + + @FindBy(id = "ftm_list_view") + private WebElement ftmListView; + + @FindBy(id = "title_back_icon") + private WebElement titleBackIcon; + + @FindBy(id = "sub_title_home_btn") + private WebElement subTitleHomeButton; + + @FindBy(id = "sub_title_btn") + private WebElement subTitleFtmButton; + + @FindBy(id = "ftm_chip_details_label_partner_id") + private WebElement ftmChipDetailsLabelPartnerId; + + @FindBy(id = "ftm_chip_details_context_partner_id") + private WebElement ftmChipDetailsContextPartnerId; + + @FindBy(id = "ftm_chip_details_label_make") + private WebElement ftmChipDetailsLabelMake; + + @FindBy(id = "ftm_chip_details_context_make") + private WebElement ftmChipDetailsContextMake; + + @FindBy(id = "ftm_chip_details_label_partner_type") + private WebElement ftmChipDetailsLabelPartnerType; + + @FindBy(id = "ftm_chip_details_context_ftm_chip_provider") + private WebElement ftmChipDetailsContextFtmChipProvider; + + @FindBy(id = "ftm_chip_details_label_model") + private WebElement ftmChipDetailsLabelModel; + + @FindBy(id = "ftm_chip_details_context_model") + private WebElement ftmChipdetailsContextModel; + + @FindBy(id = "ftm_chip_details__certificate_label") + private WebElement ftmChipDetailsCertificatelabel; + + @FindBy(id = "ftm_chip_details_certificate_context") + private WebElement ftmChipDetailsCertificateContext; + + @FindBy(id = "ftm_chip_details_partner_type_label") + private WebElement ftmChipDetailsPartnerTypeLabel; + + @FindBy(id = "ftm_chip_details_partner_type_context") + private WebElement ftmChipDetailsPartnerTypeContext; + + @FindBy(id = "ftm_chip_details_label_upload_date_time") + private WebElement ftmChipDetailsLabelUploadDateTime; + + @FindBy(id = "ftm_chip_details_context_upload_date_time") + private WebElement ftmChipDetailsContextUploadDateTime; + + @FindBy(id = "ftm_chip_details_label_expiry_date_time") + private WebElement ftmChipDetailsLabelExpiryDateTime; + + @FindBy(id = "ftm_chip_details_context_expiry_date_time") + private WebElement ftmChipDetailsContextExpiryDateTime; + + @FindBy(id = "download_btn") + private WebElement downloadButtonViewPage; + + @FindBy(id = "ftm_view_back_btn") + private WebElement ftmViewBackButton; + + @FindBy(id = "filter_btn") + private WebElement filterButton; + + @FindBy(id = "filter_reset_btn") + private WebElement filterResetButton; + + @FindBy(id = "ftm_partner_id_filter") + private WebElement ftmPartnerIdFilter; + + @FindBy(id = "ftm_partner_id_filter_option1") + private WebElement ftmPartnerIdFilterOption1; + + @FindBy(id = "ftm_make_name_filter") + private WebElement ftmMakeNameFilter; + + @FindBy(id = "ftm_make_name_filter_option1") + private WebElement ftmMakeNameFilterOption1; + + @FindBy(id = "ftm_model_name_filter") + private WebElement ftmModelNameFilter; + + @FindBy(id = "ftm_model_name_filter_option1") + private WebElement ftmModelNameFilterOption1; + + @FindBy(id = "ftm_certificate_expiry_filter") + private WebElement ftmCertificateExpiryFilter; + + @FindBy(id = "ftm_certificate_expiry_filter_option1") + private WebElement ftmCertificateExpiryFilterOption1; + + @FindBy(id = "ftm_status_filter") + private WebElement ftmStatusFilter; + + @FindBy(id = "ftm_status_filter_option1") + private WebElement ftmStatusFilterOption1; + + @FindBy(id = "ftm_status_filter_option2") + private WebElement ftmStatusFilterOption2; + + @FindBy(id = " ftm_status_filter_option3") + private WebElement ftmStatusFilterOption3; + + @FindBy(xpath = "//*[contains(text(), 'Pending For Approval')]") + private WebElement pendingForApproval; + + @FindBy(id = "partner_id_filter") + private WebElement partnerIdFilterBox; + + @FindBy(id = "apply_filter__btn") + private WebElement applyFilterButton; + + @FindBy(id = "ftm_list_action_menu1") + private WebElement ftmListActionMenuEllipsisButton; + + @FindBy(id = "ftm_list_approve_reject_option") + private WebElement ftmListApproveRejectOption; + + @FindBy(xpath = "//*[@class='text-sm font-bold']") + private WebElement makAndModeTitelForPopup; + + @FindBy(xpath = "//*[@class='text-base font-semibold text-black']") + private WebElement doYouWantToApproveAndRejecPopupHeader; + + @FindBy(xpath = "//*[@class='text-sm text-[#666666] py-3']") + private WebElement pleaseReviewTheFtmChipPopupSubHeader; + + + + @FindBy(xpath = "(//*[contains(text(), 'Approve')])[3]") + private WebElement approveButton; + + @FindBy(xpath = "(//*[contains(text(), 'Reject')])[3]") + private WebElement rejectButton; + + @FindBy(xpath = "//*[contains(text(), 'Approve')]") + private WebElement Approved; + + @FindBy(xpath = "//*[contains(text(), 'Rejected')]") + private WebElement rejectedText; + + @FindBy(id = "add_ftm_chip_btn") + private WebElement addFtmChipButton; + + @FindBy(id = "ftm_list_item1") + private WebElement ftmListItem1; + + @FindBy(id = "ftm_list_item2") + private WebElement ftmListItem2; + + @FindBy(id = "status_asc_icon") + private WebElement statusAscIcon; + + @FindBy(id = "status_desc_icon") + private WebElement statusDescIcon; + + @FindBy(xpath = "//*[contains(text(), 'FTM Chip details already exists')]") + private WebElement dublicateFtmChipErrorMessage; + + @FindBy(id = "add_ftm_clear_form") + private WebElement addFtmClearForm; + + @FindBy(id = "error_close_btn") + private WebElement errorCloseButton; + + @FindBy(xpath = "//*[contains(text(), 'No Data Available.')]") + private WebElement noDataAvailableMessage; + + @FindBy(xpath = "//*[contains(text(), 'Auto-populated')]") + private WebElement autoPopulatedMessage; + + @FindBy(id = "add_ftm_partner_id_info") + private WebElement addFtmPartnerIdInfo; + + @FindBy(xpath = "//*[@class='text-black text-sm']") + private WebElement infoMessage; + + @FindBy(id = "block_messsage_proceed") + private WebElement blockMesssageProceed; + + @FindBy(id = "block_message_cancel") + private WebElement blockMessageCancel; + + @FindBy(id = "side_nav_home_icon") + private WebElement sideNavHomeIcon; + + @FindBy(xpath = "//*[contains(text(), 'Pending For Certificate Upload')]") + private WebElement pendingForCertificateUploadText; + + @FindBy(id = "ftm_list_manage_certificate") + private WebElement ftmListManageCertificate; + + @FindBy(id = "fileInput") + private WebElement uploadFile; + + @FindBy(id = "certificate_reupload_btn") + private WebElement certificateReuploadButton; + + @FindBy(xpath = "//*[@class='font-semibold text-lg text-dark-blue']") + private WebElement manageFtmChipCertText; + + @FindBy(id = "ftm_list_deactivate_option") + private WebElement ftmListDeactivateOption; + + @FindBy(id = "deactivate_cancel_btn") + private WebElement deactivateCancelButton; + + @FindBy(id = "deactivate_submit_btn") + private WebElement deactivateSubmitButton; + + @FindBy(xpath = "//*[contains(text(), 'Deactivated')]") + private WebElement DeactivatedText; + + + @FindBy(id = "certificate_upload_close_btn") + private WebElement certificateUploadCloseButton; + + + public FtmPage(WebDriver driver) { + super(driver); + } + + public void clickOnAddFtmButton() { + clickOnElement(addFtmButton); + } + + public void clickOnAddFtmPartnerId() { + clickOnElement(addFtmPartnerId); + clickOnElement(addFtmPartnerIdOption1); + } + + public void clickOnAddFtmPartnerIdForNoCert() { + clickOnElement(addFtmPartnerId); + } + + public boolean isNoDataAvailableMessageDisplayed() { + return isElementDisplayed(noDataAvailableMessage); + } + + public void EnterInAddFtmMakeBox(String val) { + enter(addFtmMake,val); + } + + public void EnterInAddFtmModelBox(String val) { + enter(addFtmModel,val); + } + + public void clickOnAddFtmSubmitButton() { + clickOnElement(addFtmSubmitButton); + } + + public void clickOnConfirmationCustomButton() { + clickOnElement(confirmationCustomButton); + } + + public void clickOnCertificateUploadSubmitButton() { + clickOnElement(certificateUploadSubmitButton); + } + + public boolean isListOfFtmTextDisplayed() { + return isElementDisplayed(listOfFtm); + } + + public boolean islFtmListAction1Displayed() { + return isElementDisplayed(ftmListAction1); + } + + public void clickOnFtmListAction1Button() { + clickOnElement(ftmListAction1); + } + + public void clickOnFtmListViewButton() { + clickOnElement(ftmListView); + } + + public boolean isSubTitleHomeButtonDisplayed() { + return isElementDisplayed(subTitleHomeButton); + } + + public boolean isSubTitleFtmButtonDisplayed() { + return isElementDisplayed(subTitleFtmButton); + } + + public boolean isFtmChipDetailsLabelPartnerIdDisplayed() { + return isElementDisplayed(ftmChipDetailsLabelPartnerId); + } + + public boolean isFtmChipDetailsContextPartnerIdDisplayed() { + return isElementDisplayed(ftmChipDetailsContextPartnerId); + } + + public boolean isFtmChipDetailsLabelMakeDisplayed() { + return isElementDisplayed(ftmChipDetailsLabelMake); + } + + public boolean isFtmChipDetailsContextMakeDisplayed() { + return isElementDisplayed(ftmChipDetailsContextMake); + } + + public boolean isFtmChipDetailsLabelPartnerTypeDisplayed() { + return isElementDisplayed(ftmChipDetailsLabelPartnerType); + } + + public boolean isFtmChipDetailsContextFtmChipProviderDisplayed() { + return isElementDisplayed(ftmChipDetailsContextFtmChipProvider); + } + + public boolean isFtmChipDetailsLabelModelDisplayed() { + return isElementDisplayed(ftmChipDetailsLabelModel); + } + + public boolean isFtmChipdetailsContextModelDisplayed() { + return isElementDisplayed(ftmChipdetailsContextModel); + } + + public boolean isFtmChipDetailsCertificatelabelDisplayed() { + return isElementDisplayed(ftmChipDetailsCertificatelabel); + } + + public boolean isFtmChipDetailsPartnerTypeLabelDisplayed() { + return isElementDisplayed(ftmChipDetailsPartnerTypeLabel); + } + + public boolean isFtmChipDetailsPartnerTypeContextDisplayed() { + return isElementDisplayed(ftmChipDetailsPartnerTypeContext); + } + + public boolean isFtmChipDetailsLabelUploadDateTimeDisplayed() { + return isElementDisplayed(ftmChipDetailsLabelUploadDateTime); + } + + public boolean isFtmChipDetailsContextUploadDateTimeDisplayed() { + return isElementDisplayed(ftmChipDetailsContextUploadDateTime); + } + + public boolean isFtmChipDetailsLabelExpiryDateTimeDisplayed() { + return isElementDisplayed(ftmChipDetailsLabelExpiryDateTime); + } + + public boolean isFtmChipDetailsContextExpiryDateTimeDisplayed() { + return isElementDisplayed(ftmChipDetailsContextExpiryDateTime); + } + + public boolean isDownloadButtonViewPageDisplayed() { + return isElementDisplayed(downloadButtonViewPage); + } + + public boolean isFtmViewBackButtonDisplayed() { + return isElementDisplayed(ftmViewBackButton); + } + + public void clickOnFtmViewBackButton() { + clickOnElement(ftmViewBackButton); + } + + public void clickOnFilterButton() { + clickOnElement(filterButton); + } + + public void clickOnFtmPartnerIdFilter() { + clickOnElement(ftmPartnerIdFilter); + } + + public void clickOnFtmPartnerIdFilterOption1() { + clickOnElement(ftmPartnerIdFilterOption1); + } + + public void clickOnFtmMakeNameFilter() { + clickOnElement(ftmMakeNameFilter); + } + + public void clickOnFtmMakeNameFilterOption1() { + clickOnElement(ftmMakeNameFilterOption1); + } + + public void clickOnFtmModelNameFilter() { + clickOnElement(ftmModelNameFilter); + } + + public void clickOnFtmModelNameFilterOption1() { + clickOnElement(ftmModelNameFilterOption1); + } + + public void clickOnFtmCertificateExpiryFilter() { + clickOnElement(ftmCertificateExpiryFilter); + } + + public void clickOnFtmCertificateExpiryFilterOption1() { + clickOnElement(ftmCertificateExpiryFilterOption1); + } + + public void clickOnFtmStatusFilter() { + clickOnElement(ftmStatusFilter); + } + + public void clickOnFtmStatusFilterOption1() { + clickOnElement(ftmStatusFilterOption1); + } + + public void clickOnFtmStatusFilterOption2() { + clickOnElement(ftmStatusFilterOption2); + } + + public boolean isPendingForApprovalTextDisplayed() { + return isElementDisplayed(pendingForApproval); + } + + public boolean isFilterResetButtonDisplayed() { + return isElementDisplayed(filterResetButton); + } + + public void enterPartnerIdFilterBox(String value) { + enter(partnerIdFilterBox,value); + } + + public void clickOnApplyFilterButton() { + clickOnElement(applyFilterButton); + } + + public void clickOnFtmListActionMenuEllipsisButton() { + clickOnElement(ftmListActionMenuEllipsisButton); + } + + public void clickOnFtmListApproveRejectOption() { + clickOnElement(ftmListApproveRejectOption); + } + + public void clickOnApproveButton() { + clickOnElement(approveButton); + } + + public boolean isApprovedTextDisplayed() { + return isElementDisplayed(Approved); + } + + public void clickOnAddFtmChipButton() { + clickOnElement(addFtmChipButton); + } + + public void clickOnStatusAscIcon() { + clickOnElement(statusAscIcon); + } + + public void clickOnStatusDescIcon() { + clickOnElement(statusDescIcon); + } + + public boolean isDublicateFtmChipErrorMessageDisplayed() { + return isElementDisplayed(dublicateFtmChipErrorMessage); + } + + public void clickOnAddFtmClearForm() { + clickOnElement(addFtmClearForm); + } + + public boolean isAddFtmSubmitButtonDisabled() { + refreshThePage(); + WebElement submitButton= driver.findElement(By.id("add_ftm_submit_btn")); + return isElementEnabled(addFtmSubmitButton); + } + + public boolean isErrorCloseButtonDisplayed() { + return isElementDisplayed(errorCloseButton); + } + + public void clickOnAddFtmPartnerIdInfo() { + clickOnElement(addFtmPartnerIdInfo); + } + + public boolean isInfoMessageDisplayed() { + return isElementDisplayed(infoMessage); + } + + public boolean isAutoPopulatedMessageDisplayed() { + return isElementDisplayed(autoPopulatedMessage); + } + + public void clickOnBlockMesssageProceed() { + clickOnElement(blockMesssageProceed); + } + + public void clickOnBlockMessageCancel() { + clickOnElement(blockMessageCancel); + } + + public void clickOnSideNavHomeIcon() { + clickOnElement(sideNavHomeIcon); + } + + public void clickOnSubTitleFtmButton() { + clickOnElement(subTitleFtmButton); + } + + public boolean isPendingForCertificateUploadTextDisplayed() { + return isElementDisplayed(pendingForCertificateUploadText); + } + + public boolean isDownloadButtonViewPageDisabled() { + return isElementEnabled(downloadButtonViewPage); + } + + public void clickOnFtmListManageCertificate() { + clickOnElement(ftmListManageCertificate); + } + + public void uploadCertificateConfrmationForFtm() { + uploadImage(uploadFile, TestRunner.getResourcePath() + "\\pmp_revamp_cert\\Client.cer"); + } + + public boolean isCertificateReuploadButtonDisplayed() { + return isElementDisplayed(certificateReuploadButton); + } + + public boolean isFtmChipDetailsCertificateContextDisplayed() { + return isElementDisplayed(ftmChipDetailsCertificateContext); + } + + public boolean isManageFtmChipCertTextDisplayed() { + return isElementDisplayed(manageFtmChipCertText); + } + + public boolean isFtmListApproveRejectOptionIsEnabled() { + return isElementEnabled(ftmListApproveRejectOption); + } + + public void clickOnRejectButton() { + clickOnElement(rejectButton); + } + + public boolean isRejectedTextDisplayed() { + return isElementDisplayed(rejectedText); + } + + public void clickOnFtmListDeactivateOption() { + clickOnElement(ftmListDeactivateOption); + } + + public void clickOnDeactivateCancelButton() { + clickOnElement(deactivateCancelButton); + } + + public void clickOnDeactivateSubmitButton() { + clickOnElement(deactivateSubmitButton); + } + + public boolean isDeactivatedTextDisplayed() { + return isElementDisplayed(DeactivatedText); + } + + public boolean isMakAndModeTitelForPopupDisplayed() { + return isElementDisplayed(makAndModeTitelForPopup); + } + + public boolean isDoYouWantToApproveAndRejecPopupHeaderDisplayed() { + return isElementDisplayed(doYouWantToApproveAndRejecPopupHeader); + } + + public boolean isPleaseReviewTheFtmChipPopupSubHeaderDisplayed() { + return isElementDisplayed(pleaseReviewTheFtmChipPopupSubHeader); + } + + public boolean isDeactivateSubmitButtonDisplayed() { + return isElementDisplayed(deactivateSubmitButton); + } + + public boolean isPartnerIdCoulumeHeaderDisplayed() { + return isElementDisplayed(partnerIdCoulumeHeader); + } + + public boolean isMakeCoulumeHeaderDisplayed() { + return isElementDisplayed(makeCoulumeHeader); + } + + public boolean isModelCoulumeHeaderDisplayed() { + return isElementDisplayed(modelCoulumeHeader); + } + + public boolean isCreatedDateCoulumeHeaderDisplayed() { + return isElementDisplayed(createdDateCoulumeHeader); + } + + public boolean iscertTimeofUploadCoulumeHeaderDisplayed() { + return isElementDisplayed(certTimeofUploadCoulumeHeader); + } + + public boolean isCertExpiryCoulumeHeaderDisplayed() { + return isElementDisplayed(certExpiryCoulumeHeader); + } + public boolean isCertExpiryStatusCoulumeHeaderDisplayed() { + return isElementDisplayed(certExpiryStatusCoulumeHeader); + } + + public boolean isStatusCoulumeHeaderDisplayed() { + return isElementDisplayed(statusCoulumeHeader); + } + + public boolean isActionCoulumeHeaderDisplayed() { + return isElementDisplayed(actionCoulumeHeader); + } + + public void clickOnCertificateUploadCloseButton() { + clickOnElement(certificateUploadCloseButton); + } + +} diff --git a/uitest-pmprevamp/src/main/java/io/mosip/testrig/pmprevampui/pages/PartnerCertificatePage.java b/uitest-pmprevamp/src/main/java/io/mosip/testrig/pmprevampui/pages/PartnerCertificatePage.java index ede90a8c5..739750343 100644 --- a/uitest-pmprevamp/src/main/java/io/mosip/testrig/pmprevampui/pages/PartnerCertificatePage.java +++ b/uitest-pmprevamp/src/main/java/io/mosip/testrig/pmprevampui/pages/PartnerCertificatePage.java @@ -1,5 +1,6 @@ package io.mosip.testrig.pmprevampui.pages; +import org.openqa.selenium.By; import org.openqa.selenium.WebDriver; import org.openqa.selenium.WebElement; import org.openqa.selenium.support.FindBy; @@ -21,24 +22,34 @@ public class PartnerCertificatePage extends BasePage { private WebElement submitButton; @FindBy(xpath = "//*[text()='Partner certificate for Authentication Partner is uploaded successfully.']") - private WebElement sucessMessage; + private WebElement successMessage; @FindBy(xpath = "//*[text()='Partner certificate for Device Provider is uploaded successfully.']") private WebElement deviceProviderSuccessMessage; - + + @FindBy(xpath = "//*[contains(text(), 'successfully')]") + private WebElement successMessageForFtmCert; + @FindBy(id = "fileInput") private WebElement uploadFile; @FindBy(xpath = "//*[text()='Close']") private WebElement closeButton; - @FindBy(id = "success_msg_close") + @FindBy(id = "success_msg_close_icon") private WebElement successMsgCloseButton; - - @FindBy(xpath = "//*[text()='Re-Upload Partner Certificate']") private WebElement ReUploadPartnerCertificateText; + + @FindBy(xpath = "//*[text()='Please tap to select the certificate']") + private WebElement PleaseTabToSelectText; + + @FindBy(xpath = "//*[text()='Only .cer or .pem certificate formats are allowed for upload']") + private WebElement CertFormatesText; + + @FindBy(xpath = "//*[contains(text(), \"Last certificate was uploaded on\")]") + private WebElement lastUploadTimeAndDate; @FindBy(xpath = "//*[text()='Please select all fields and upload the certificate") private WebElement ReUploadPartnerCertificateSubText; @@ -88,19 +99,39 @@ public class PartnerCertificatePage extends BasePage { @FindBy(id = "partnerDomain_selector_dropdown_option1") private WebElement partnerDomainSelectorDropdownOptionAuth; + @FindBy(id = "partnerDomain_selector_dropdown_option2") + private WebElement partnerDomainSelectorDropdownOptionFtm; @FindBy(id = "partnerDomain_selector_dropdown_option3") - private WebElement deviceInPartnerDomainSelectorDropdown; + private WebElement deviceInPartnerDomainSelectorDropdown3; @FindBy(id = "upload_admin_certificate_btn") private WebElement SubmitButtonForAdmin; @FindBy(id = "confirmation_go_back_btn") private WebElement GoBackButton; - + + @FindBy(id = "dashboard_ftm_chip_provider_card") + private WebElement dashboardFtmChipProviderCard; + + @FindBy(id = "error_close_btn") + private WebElement errorCloseButton; + + @FindBy(id = "partnerDomain_selector_dropdown_option3") + private WebElement deviceInPartnerDomainSelectorDropdown; + + @FindBy(xpath = "//*[text()='Root CA/Intermediate CA Certificates not found.']") + private WebElement noRootCert; + + @FindBy(xpath = "//*[text()='Self Signed Certificate not allowed as partner.']") + private WebElement errorCodeForSelfSignedCer; + public PartnerCertificatePage(WebDriver driver) { super(driver); } - + public boolean isDeviceProviderSuccessMessage() { + return isElementDisplayed(deviceProviderSuccessMessage); + } + public boolean isPartnerCertificatePageDisplayed() { return isElementDisplayed(partnerCertificateTitle); } @@ -108,7 +139,7 @@ public boolean isPartnerCertificatePageDisplayed() { public void clickOnUploadButton() { clickOnElement(uploadButton); } - + public boolean isUploadPartnerCertificatePopUpDisplayed() { return isElementDisplayed(uploadPartnerCertificatePopUp); } @@ -122,17 +153,18 @@ public void uploadCertificateSubCa() { public void uploadCertificate() { uploadImage(uploadFile, TestRunner.getResourcePath() + "\\pmp_revamp_cert\\Client.cer"); } + + public void uploadCertificateForAnotherOrg() { + uploadImage(uploadFile, TestRunner.getResourcePath() + "\\pmp_revamp_cert\\FTM_ca.cer"); + } + public void clickOnSubmitButton() { clickOnElement(submitButton); } public boolean isSucessMessageDisplayed() { - return isElementDisplayed(sucessMessage); - } - - public boolean isDeviceProviderSuccessMessage() { - return isElementDisplayed(deviceProviderSuccessMessage); + return isElementDisplayed(successMessage); } public void clickOnCloseButton() { @@ -231,4 +263,60 @@ public void ClickOnsuccessMsgCloseButton() { clickOnElement(successMsgCloseButton); } + public void clickOnPartnerDomainSelectorDropdownOptionFtm() { + clickOnElement(partnerDomainSelectorDropdownOptionFtm); + } + + public boolean isDashboardFtmChipProviderCardDisplayed() { + return isElementDisplayed(dashboardFtmChipProviderCard); + } + + public boolean isSuccessMessageForFtmCertDisplayed() { + return isElementDisplayed(successMessageForFtmCert); + } + + public void clickOnFtmChipProviderCard() { + clickOnElement(dashboardFtmChipProviderCard); + } + + public void certifiCateUploadCancelButton() { + if(isElementDisplayed(certificateUploadCloseButton)) { + clickOnElement(certificateUploadCloseButton); + } + } + + public boolean VerifyTheStatusWithAsendingOrder() { + WebElement first= driver.findElement(By.xpath("//*[@id='ftm_list_item1']//*[contains(text(), 'Approved')]")); + return isElementDisplayed(first); + } + + public boolean VerifyTheStatusWithDesendingOrder() { + WebElement first= driver.findElement(By.xpath("//*[@id='ftm_list_item1']//*[contains(text(), 'Pending For Approval')]")); + return isElementDisplayed(first); + } + + public void clickOnErrorCloseButton() { + clickOnElement(errorCloseButton); + } + + public boolean isNoRootCertDisplayed() { + return isElementDisplayed(noRootCert); + } + + public boolean isErrorCodeForSelfSignedCerDisplayed() { + return isElementDisplayed(errorCodeForSelfSignedCer); + } + + public boolean isPleaseTabToSelectTextDisplayed() { + return isElementDisplayed(PleaseTabToSelectText); + } + + public boolean isCertFormatesTextDisplayed() { + return isElementDisplayed(CertFormatesText); + } + + public boolean isLastUploadTimeAndDateTextDisplayed() { + return isElementDisplayed(lastUploadTimeAndDate); + } + } diff --git a/uitest-pmprevamp/src/main/java/io/mosip/testrig/pmprevampui/pages/RegisterPage.java b/uitest-pmprevamp/src/main/java/io/mosip/testrig/pmprevampui/pages/RegisterPage.java index 1959b58df..80b9ba544 100644 --- a/uitest-pmprevamp/src/main/java/io/mosip/testrig/pmprevampui/pages/RegisterPage.java +++ b/uitest-pmprevamp/src/main/java/io/mosip/testrig/pmprevampui/pages/RegisterPage.java @@ -47,6 +47,9 @@ public class RegisterPage extends BasePage { @FindBy(xpath = "//input[@type='submit']") private WebElement submitButton; + + @FindBy(xpath = "//*[@value='FTM_PROVIDER']") + private WebElement FtmProvider; public RegisterPage(WebDriver driver) { super(driver); @@ -72,8 +75,8 @@ public boolean isPartnerTypeDropdownDisplayed() { return isElementDisplayed(partnerTypeDropdown); } - public void selectPartnerTypeDropdown() { - dropdownByIndex(partnerTypeDropdown, 2); + public void selectPartnerTypeDropdown(int val) { + dropdownByIndex(partnerTypeDropdown, val); } public void selectDeviceProviderInPartnerTypeDropdown() { @@ -194,6 +197,7 @@ public void refreshThePage() { driver.navigate().refresh(); } + public void CloseTheTab() { driver.close(); } diff --git a/uitest-pmprevamp/src/main/java/io/mosip/testrig/pmprevampui/testcase/AuthPartnerTest.java b/uitest-pmprevamp/src/main/java/io/mosip/testrig/pmprevampui/testcase/AuthPartnerTest.java index dd055282b..578baffc2 100644 --- a/uitest-pmprevamp/src/main/java/io/mosip/testrig/pmprevampui/testcase/AuthPartnerTest.java +++ b/uitest-pmprevamp/src/main/java/io/mosip/testrig/pmprevampui/testcase/AuthPartnerTest.java @@ -58,7 +58,7 @@ public void registerNewUser() throws InterruptedException { registerPage.enterOrganizationName("AABBCC"); assertTrue(registerPage.isPartnerTypeDropdownDisplayed(), GlobalConstants.isPartnerTypeDropdownDisplayed); - registerPage.selectPartnerTypeDropdown(); + registerPage.selectPartnerTypeDropdown(2); assertTrue(registerPage.isAddressTextBoxDisplayed(), GlobalConstants.isAddressTextBoxDisplayed); registerPage.enterAddress("0"+ data); @@ -549,7 +549,7 @@ public void RequestNewPolicyWithouUploadingCertificates() throws InterruptedExce registerPage.enterOrganizationName("AABBCC"); assertTrue(registerPage.isPartnerTypeDropdownDisplayed(), GlobalConstants.isPartnerTypeDropdownDisplayed); - registerPage.selectPartnerTypeDropdown(); + registerPage.selectPartnerTypeDropdown(2); assertTrue(registerPage.isAddressTextBoxDisplayed(), GlobalConstants.isAddressTextBoxDisplayed); registerPage.enterAddress("0"+ data); diff --git a/uitest-pmprevamp/src/main/java/io/mosip/testrig/pmprevampui/testcase/FTMDeviceTest.java b/uitest-pmprevamp/src/main/java/io/mosip/testrig/pmprevampui/testcase/FTMDeviceTest.java index eafa0cbe4..ae737f626 100644 --- a/uitest-pmprevamp/src/main/java/io/mosip/testrig/pmprevampui/testcase/FTMDeviceTest.java +++ b/uitest-pmprevamp/src/main/java/io/mosip/testrig/pmprevampui/testcase/FTMDeviceTest.java @@ -6,7 +6,9 @@ import io.mosip.testrig.pmprevampui.kernel.util.ConfigManager; import io.mosip.testrig.pmprevampui.pages.ApiKeyPage; +import io.mosip.testrig.pmprevampui.pages.BasePage; import io.mosip.testrig.pmprevampui.pages.DashboardPage; +import io.mosip.testrig.pmprevampui.pages.FtmPage; import io.mosip.testrig.pmprevampui.pages.LoginPage; import io.mosip.testrig.pmprevampui.pages.OidcClientPage; import io.mosip.testrig.pmprevampui.pages.PartnerCertificatePage; @@ -16,6 +18,634 @@ import io.mosip.testrig.pmprevampui.utility.GlobalConstants; public class FTMDeviceTest extends BaseClass { + + + @Test(priority = 1) + public void registerNewUserForFtmNoCert() throws InterruptedException { + DashboardPage dashboardpage = new DashboardPage(driver); + PartnerCertificatePage partnerCertificatePage = new PartnerCertificatePage(driver); + RegisterPage registerPage = new RegisterPage(driver); + FtmPage ftmPage = new FtmPage(driver); + + dashboardpage.clickOnProfileDropdown(); + assertTrue(dashboardpage.isLogoutButtonDisplayed(), GlobalConstants.isLogoutButtonDisplayed); + LoginPage loginpage = dashboardpage.clickOnLogoutButton(); + assertTrue(loginpage.isLoginPageDisplayed(), GlobalConstants.isLoginPageDisplayed); + + loginpage.clickRegisterButton(); + + registerPage.enterFirstName("pmpui-ftmnocert"); + assertTrue(registerPage.isLastNameTextBoxDisplayed(), GlobalConstants.isLastNameTextBoxDisplayed); + registerPage.enterLastName("pmpui-ftmnocert"); + assertTrue(registerPage.isOrganizationNameDisplayed(), GlobalConstants.isOrganizationNameDisplayed); + registerPage.enterOrganizationName("AABBCC"); + + assertTrue(registerPage.isPartnerTypeDropdownDisplayed(), GlobalConstants.isPartnerTypeDropdownDisplayed); + registerPage.selectPartnerTypeDropdown(1); + + assertTrue(registerPage.isAddressTextBoxDisplayed(), GlobalConstants.isAddressTextBoxDisplayed); + registerPage.enterAddress("0"+ data); + + assertTrue(registerPage.isEmailTextBoxDisplayed(), GlobalConstants.isEmailTextBoxDisplayed); + registerPage.enterEmail("0"+ data +"ftmnocert"+"@gmail.com"); + + assertTrue(registerPage.isPhoneNumberTextboxDisplayed(), GlobalConstants.isPhoneNumberTextboxDisplayed); + registerPage.enterPhone("9876544211"); + + assertTrue(registerPage.isNotificationLanguageDropdownDisplayed(), GlobalConstants.isNotificationLanguageDropdownDisplayed); + registerPage.selectNotificationLanguageDropdown(); + + assertTrue(registerPage.isUsernameTextBoxDisplayed(), GlobalConstants.isUsernameTextBoxDisplayed); + registerPage.enterUsername("pmpui-ftmnocert"); + + assertTrue(registerPage.isPasswordTextBoxDisplayed(), GlobalConstants.isPasswordTextBoxDisplayed); + registerPage.enterPassword("mosip123"); + + assertTrue(registerPage.isPasswordConfirmTextBoxDisplayed(), GlobalConstants.isPasswordConfirmTextBoxDisplayed); + registerPage.enterPasswordConfirm("mosip123"); + + assertTrue(registerPage.isSubmitButtonDisplayed(), GlobalConstants.isSubmitButtonDisplayed); + dashboardpage = registerPage.clickSubmitButton(); + + assertTrue(dashboardpage.isTermsAndConditionsPopUppDisplayed(), GlobalConstants.isTermsAndConditionsPopUppDisplayed); + dashboardpage.clickOnCheckbox(); + + assertTrue(dashboardpage.isProceedButtonDisplayed(), GlobalConstants.isProceedButtonDisplayed); + dashboardpage.clickOnProceedButton(); + + dashboardpage.clickOnDashboardPartnerCertificateListHeader(); + + assertTrue(partnerCertificatePage.isPartnerCertificatePageDisplayed(), GlobalConstants.isPartnerCertificatePageDisplayed); + partnerCertificatePage.clickOnUploadButton(); + + assertTrue(partnerCertificatePage.isUploadPartnerCertificatePopUpDisplayed(), GlobalConstants.isUploadPartnerCertificatePopUpDisplayed); + partnerCertificatePage.uploadCertificate(); + partnerCertificatePage.clickOnSubmitButton(); + assertTrue(partnerCertificatePage.isNoRootCertDisplayed(), GlobalConstants.isPartnerCertificatePageDisplayed); + partnerCertificatePage.clickOnErrorCloseButton(); + partnerCertificatePage.clickOnRemoveCertificateButton(); + + + partnerCertificatePage.uploadCertificateForAnotherOrg(); + partnerCertificatePage.clickOnSubmitButton(); + assertTrue(partnerCertificatePage.isErrorCodeForSelfSignedCerDisplayed(), GlobalConstants.isPartnerCertificatePageDisplayed); + partnerCertificatePage.clickOnErrorCloseButton(); + partnerCertificatePage.clickOnCertificateUploadCancelButton(); + partnerCertificatePage.clickOnHomeButton(); + + assertTrue(partnerCertificatePage.isDashboardFtmChipProviderCardDisplayed(), GlobalConstants.isProceedButtonDisplayed); + + partnerCertificatePage.clickOnFtmChipProviderCard(); + ftmPage.clickOnAddFtmButton(); + + ftmPage.clickOnAddFtmPartnerIdForNoCert(); + assertTrue(ftmPage.isNoDataAvailableMessageDisplayed(), GlobalConstants.isNoDataTextDisplaed); + + + ftmPage.EnterInAddFtmMakeBox(data); + assertTrue(ftmPage.isAutoPopulatedMessageDisplayed(), GlobalConstants.isAutoPopulatedTextDisplaed); + + ftmPage.EnterInAddFtmModelBox(data); + ftmPage.clickOnAddFtmSubmitButton(); + + ftmPage.clickOnAddFtmPartnerIdInfo(); + assertTrue(ftmPage.isInfoMessageDisplayed(), GlobalConstants.isInfoMessageDisplayed); + + ftmPage.EnterInAddFtmMakeBox(" "); + ftmPage.EnterInAddFtmModelBox(" "); + ftmPage.clickOnAddFtmSubmitButton(); + assertTrue(ftmPage.isInfoMessageDisplayed(), GlobalConstants.isInfoMessageDisplayed); + + ftmPage.EnterInAddFtmMakeBox(data); + ftmPage.EnterInAddFtmModelBox(data); + BasePage.NavigateBack(); + + ftmPage.clickOnBlockMesssageProceed(); + assertTrue(partnerCertificatePage.isPartnerCertificatePageDisplayed(), GlobalConstants.isPartnerCertificatePageDisplayed); + + ftmPage.clickOnAddFtmButton(); + ftmPage.EnterInAddFtmMakeBox(data); + ftmPage.EnterInAddFtmModelBox(data); + + ftmPage.clickOnSideNavHomeIcon(); + ftmPage.clickOnBlockMesssageProceed(); + + assertTrue(partnerCertificatePage.isDashboardFtmChipProviderCardDisplayed(), GlobalConstants.isProceedButtonDisplayed); + } + + @Test(priority = 2) + public void registerNewUserForFtm() throws InterruptedException { + DashboardPage dashboardpage = new DashboardPage(driver); + PartnerCertificatePage partnerCertificatePage = new PartnerCertificatePage(driver); + RegisterPage registerPage = new RegisterPage(driver); + FtmPage ftmPage = new FtmPage(driver); + + assertTrue(dashboardpage.isTermsAndConditionsPopUppDisplayed(), GlobalConstants.isTermsAndConditionsPopUppDisplayed); + dashboardpage.clickOnCheckbox(); + + assertTrue(dashboardpage.isProceedButtonDisplayed(), GlobalConstants.isProceedButtonDisplayed); + dashboardpage.clickOnProceedButton(); + + dashboardpage.clickOnRootOFTrustCertText(); + dashboardpage.clickOnRootCertificateUploadButton(); + partnerCertificatePage.clickOnpartnerDomainSelectorDropdown(); + partnerCertificatePage.clickOnPartnerDomainSelectorDropdownOptionFtm(); + partnerCertificatePage.uploadCertificateRootCa(); + partnerCertificatePage.ClickonSubmitButtonForAdmin(); + partnerCertificatePage.ClickOnGoBackButton(); + dashboardpage.clickOnRootCertificateUploadButton(); + partnerCertificatePage.clickOnpartnerDomainSelectorDropdown(); + partnerCertificatePage.clickOnPartnerDomainSelectorDropdownOptionFtm(); + partnerCertificatePage.uploadCertificateSubCa(); + partnerCertificatePage.ClickonSubmitButtonForAdmin(); + partnerCertificatePage.ClickOnGoBackButton(); + + dashboardpage.clickOnProfileDropdown(); + assertTrue(dashboardpage.isLogoutButtonDisplayed(), GlobalConstants.isLogoutButtonDisplayed); + + LoginPage loginpage = dashboardpage.clickOnLogoutButton(); + assertTrue(loginpage.isLoginPageDisplayed(), GlobalConstants.isLoginPageDisplayed); + + loginpage.clickRegisterButton(); + + registerPage.enterFirstName("pmpui-ftm"); + assertTrue(registerPage.isLastNameTextBoxDisplayed(), GlobalConstants.isLastNameTextBoxDisplayed); + registerPage.enterLastName("pmpui-ftm"); + + assertTrue(registerPage.isOrganizationNameDisplayed(), GlobalConstants.isOrganizationNameDisplayed); + registerPage.enterOrganizationName("AABBCC"); + + assertTrue(registerPage.isPartnerTypeDropdownDisplayed(), GlobalConstants.isPartnerTypeDropdownDisplayed); + registerPage.selectPartnerTypeDropdown(1); + + assertTrue(registerPage.isAddressTextBoxDisplayed(), GlobalConstants.isAddressTextBoxDisplayed); + registerPage.enterAddress("0"+ data); + + assertTrue(registerPage.isEmailTextBoxDisplayed(), GlobalConstants.isEmailTextBoxDisplayed); + registerPage.enterEmail("0"+ data +"ftm"+"@gmail.com"); + + assertTrue(registerPage.isPhoneNumberTextboxDisplayed(), GlobalConstants.isPhoneNumberTextboxDisplayed); + registerPage.enterPhone("9876544210"); + + assertTrue(registerPage.isNotificationLanguageDropdownDisplayed(), GlobalConstants.isNotificationLanguageDropdownDisplayed); + registerPage.selectNotificationLanguageDropdown(); + + assertTrue(registerPage.isUsernameTextBoxDisplayed(), GlobalConstants.isUsernameTextBoxDisplayed); + registerPage.enterUsername("pmpui-ftm"); + + assertTrue(registerPage.isPasswordTextBoxDisplayed(), GlobalConstants.isPasswordTextBoxDisplayed); + registerPage.enterPassword("mosip123"); + + assertTrue(registerPage.isPasswordConfirmTextBoxDisplayed(), GlobalConstants.isPasswordConfirmTextBoxDisplayed); + registerPage.enterPasswordConfirm("mosip123"); + + assertTrue(registerPage.isSubmitButtonDisplayed(), GlobalConstants.isSubmitButtonDisplayed); + dashboardpage = registerPage.clickSubmitButton(); + + assertTrue(dashboardpage.isTermsAndConditionsPopUppDisplayed(), GlobalConstants.isTermsAndConditionsPopUppDisplayed); + dashboardpage.clickOnCheckbox(); + + assertTrue(dashboardpage.isProceedButtonDisplayed(), GlobalConstants.isProceedButtonDisplayed); + dashboardpage.clickOnProceedButton(); + + dashboardpage.clickOnDashboardPartnerCertificateListHeader(); + + assertTrue(partnerCertificatePage.isPartnerCertificatePageDisplayed(), GlobalConstants.isPartnerCertificatePageDisplayed); + partnerCertificatePage.clickOnUploadButton(); + + assertTrue(partnerCertificatePage.isUploadPartnerCertificatePopUpDisplayed(), GlobalConstants.isUploadPartnerCertificatePopUpDisplayed); + partnerCertificatePage.uploadCertificate(); + partnerCertificatePage.clickOnSubmitButton(); + + assertTrue(partnerCertificatePage.isSuccessMessageForFtmCertDisplayed(), GlobalConstants.isSucessMessageDisplayed); + partnerCertificatePage.ClickOnsuccessMsgCloseButton(); + partnerCertificatePage.certifiCateUploadCancelButton(); + dashboardpage = partnerCertificatePage.clickOnHomeButton(); + + dashboardpage.clickOnPartnerCertificateTitle(); + partnerCertificatePage.clickOnPartnerCertificateReuploadButton(); + + assertTrue(partnerCertificatePage.isReUploadPartnerCertificateTextDisplayed(), GlobalConstants.iReUploadPartnerCertificateTextDisplayed); +// assertTrue(partnerCertificatePage.isReUploadPartnerCertificateSubTextDisplayed(), GlobalConstants.isReUploadPartnerCertificateSubTextDisplayed); + + assertTrue(partnerCertificatePage.isPleaseTabToSelectTextDisplayed(), GlobalConstants.isPleaseTabTextDisplayed); + assertTrue(partnerCertificatePage.isCertFormatesTextDisplayed(), GlobalConstants.isCertFormateDisplayed); + assertTrue(partnerCertificatePage.isLastUploadTimeAndDateTextDisplayed(), GlobalConstants.isLastUploadTimeAndDateDisplayed); + + assertTrue(partnerCertificatePage.isPartnerDomainTypeDisplayed(), GlobalConstants.iReUploadPartnerCertificateTextDisplayed); + assertTrue(partnerCertificatePage.isPartnerCertOvelayDisplayed(), GlobalConstants.iReUploadPartnerCertificateTextDisplayed); + + partnerCertificatePage.uploadCertificate(); + partnerCertificatePage.clickOnSubmitButton(); + assertTrue(partnerCertificatePage.isSuccessMessageForFtmCertDisplayed(), GlobalConstants.isSucessMessageDisplayed); + partnerCertificatePage.clickOnRemoveCertificateButton(); + + partnerCertificatePage.uploadCertificateInvalidCert(); + assertTrue(partnerCertificatePage.isInvalidFormatErrorPopupDisplayed(), GlobalConstants.isInvalidCertFormatePopupDisplayed); + + partnerCertificatePage.clickOnCertificateUploadCancelButton(); + } + + + @Test(priority = 3) + public void AddFtm() throws InterruptedException { + DashboardPage dashboardpage = new DashboardPage(driver); + PartnerCertificatePage partnerCertificatePage = new PartnerCertificatePage(driver); + RegisterPage registerPage = new RegisterPage(driver); + FtmPage ftmPage = new FtmPage(driver); + + dashboardpage.clickOnProfileDropdown(); + assertTrue(dashboardpage.isLogoutButtonDisplayed(), GlobalConstants.isLogoutButtonDisplayed); + + LoginPage loginpage = dashboardpage.clickOnLogoutButton(); + + loginpage.enterUserName("pmpui-ftm"); + loginpage.enterPassword(password); + loginpage.ClickOnLoginButton(); + + partnerCertificatePage.isDashboardFtmChipProviderCardDisplayed(); + partnerCertificatePage.clickOnFtmChipProviderCard(); + + assertTrue(ftmPage.isPartnerIdCoulumeHeaderDisplayed(), GlobalConstants.isFtmTablHeadersDisplaed); + assertTrue(ftmPage.isMakeCoulumeHeaderDisplayed(), GlobalConstants.isFtmTablHeadersDisplaed); + assertTrue(ftmPage.isModelCoulumeHeaderDisplayed(), GlobalConstants.isFtmTablHeadersDisplaed); + assertTrue(ftmPage.isCreatedDateCoulumeHeaderDisplayed(), GlobalConstants.isFtmTablHeadersDisplaed); + assertTrue(ftmPage.iscertTimeofUploadCoulumeHeaderDisplayed(), GlobalConstants.isFtmTablHeadersDisplaed); + assertTrue(ftmPage.isCertExpiryCoulumeHeaderDisplayed(), GlobalConstants.isFtmTablHeadersDisplaed); + assertTrue(ftmPage.isCertExpiryStatusCoulumeHeaderDisplayed(), GlobalConstants.isFtmTablHeadersDisplaed); + assertTrue(ftmPage.isStatusCoulumeHeaderDisplayed(), GlobalConstants.isFtmTablHeadersDisplaed); + assertTrue(ftmPage.isActionCoulumeHeaderDisplayed(), GlobalConstants.isFtmTablHeadersDisplaed); + + + ftmPage.clickOnAddFtmButton(); + + ftmPage.clickOnAddFtmPartnerId(); + ftmPage.EnterInAddFtmMakeBox(data); + ftmPage.EnterInAddFtmModelBox(data); + ftmPage.clickOnAddFtmSubmitButton(); + ftmPage.clickOnConfirmationCustomButton(); + ftmPage.uploadCertificateConfrmationForFtm(); + ftmPage.clickOnCertificateUploadSubmitButton(); + assertTrue(partnerCertificatePage.isSuccessMessageForFtmCertDisplayed(), GlobalConstants.isSucessMessageDisplayed); + partnerCertificatePage.clickOncertificateUploadCloseButton(); + + assertTrue(ftmPage.isListOfFtmTextDisplayed(), GlobalConstants.isSucessMessageDisplayed); + assertTrue(ftmPage.islFtmListAction1Displayed(), GlobalConstants.isSucessMessageDisplayed); + ftmPage.clickOnFtmListAction1Button(); + ftmPage.clickOnFtmListViewButton(); + + assertTrue(ftmPage.isSubTitleHomeButtonDisplayed(), GlobalConstants.isSubTitleHomeDisplayed); + assertTrue(ftmPage.isSubTitleFtmButtonDisplayed(), GlobalConstants.isSubTitleDisplayed); + assertTrue(ftmPage.isFtmChipDetailsLabelPartnerIdDisplayed(), GlobalConstants.isPartnerIdLableDisplayed); + assertTrue(ftmPage.isFtmChipDetailsContextPartnerIdDisplayed(), GlobalConstants.isPartnerIdDropdownDisplayed); + assertTrue(ftmPage.isFtmChipDetailsLabelMakeDisplayed(), GlobalConstants.isFtmChipMakeLableDisplayed); + assertTrue(ftmPage.isFtmChipDetailsContextMakeDisplayed(), GlobalConstants.isFtmChipMakeValueDisplayed); + assertTrue(ftmPage.isFtmChipDetailsLabelPartnerTypeDisplayed(), GlobalConstants.isPartnerTypeLableDisplayed); + assertTrue(ftmPage.isFtmChipDetailsContextFtmChipProviderDisplayed(), GlobalConstants.isPartnerTypeValueDisplayed); + assertTrue(ftmPage.isFtmChipDetailsLabelModelDisplayed(), GlobalConstants.isFtmModelLableDisplayed); + assertTrue(ftmPage.isFtmChipdetailsContextModelDisplayed(), GlobalConstants.isFtmModelValueDisplayed); + assertTrue(ftmPage.isFtmChipDetailsCertificatelabelDisplayed(), GlobalConstants.isFtmModelCertifiateLableDisplayed); + assertTrue(ftmPage.isFtmChipDetailsPartnerTypeLabelDisplayed(), GlobalConstants.isPartnerTypeLableDisplayed); + assertTrue(ftmPage.isFtmChipDetailsPartnerTypeContextDisplayed(), GlobalConstants.isPartnerTypeValueDisplayed); + assertTrue(ftmPage.isFtmChipDetailsLabelUploadDateTimeDisplayed(), GlobalConstants.isTimeOfUploadLableDisplayed); + assertTrue(ftmPage.isFtmChipDetailsContextUploadDateTimeDisplayed(), GlobalConstants.isTimeOfUploadValueDisplayed); + assertTrue(ftmPage.isFtmChipDetailsLabelExpiryDateTimeDisplayed(), GlobalConstants.isExpiryDateLableDisplayed); + assertTrue(ftmPage.isFtmChipDetailsContextExpiryDateTimeDisplayed(), GlobalConstants.isExpiryDateValueDisplayed); + assertTrue(ftmPage.isDownloadButtonViewPageDisplayed(), GlobalConstants.isDownlaodButtonDisplayed); + assertTrue(ftmPage.isFtmViewBackButtonDisplayed(), GlobalConstants.isBackButton); + + ftmPage.clickOnFtmViewBackButton(); + ftmPage.clickOnFilterButton(); + + ftmPage.clickOnFtmStatusFilter(); + ftmPage.clickOnFtmStatusFilterOption1(); + + assertTrue(ftmPage.isPendingForApprovalTextDisplayed(), GlobalConstants.isPendingForApprovalTextDisplayed); + + dashboardpage.clickOnProfileDropdown(); + assertTrue(dashboardpage.isLogoutButtonDisplayed(), GlobalConstants.isLogoutButtonDisplayed); + + dashboardpage.clickOnLogoutButton(); + + loginpage.enterUserName(userid); + loginpage.enterPassword(password); + loginpage.ClickOnLoginButton(); + dashboardpage.clickOnFTMChipTab(); + ftmPage.clickOnFilterButton(); + assertTrue(ftmPage.isFilterResetButtonDisplayed(), GlobalConstants.isResetFiletrButtonDisplayed); + ftmPage.enterPartnerIdFilterBox("pmpui-ftm"); + + ftmPage.clickOnApplyFilterButton(); + + ftmPage.clickOnFtmListActionMenuEllipsisButton(); + ftmPage.clickOnFtmListApproveRejectOption(); + + ftmPage.clickOnApproveButton(); + dashboardpage.clickOnProfileDropdown(); + assertTrue(dashboardpage.isLogoutButtonDisplayed(), GlobalConstants.isLogoutButtonDisplayed); + + dashboardpage.clickOnLogoutButton(); + + loginpage.enterUserName("pmpui-ftm"); + loginpage.enterPassword(password); + loginpage.ClickOnLoginButton(); + + dashboardpage.clickOnDashboardFtmChipproviderCardHeader(); + assertTrue(ftmPage.isApprovedTextDisplayed(), GlobalConstants.isApproveTextDisplayed); + ftmPage.clickOnAddFtmChipButton(); + + ftmPage.clickOnAddFtmPartnerId(); + ftmPage.EnterInAddFtmMakeBox(data+"1"); + ftmPage.EnterInAddFtmModelBox(data+"1"); + ftmPage.clickOnAddFtmSubmitButton(); + ftmPage.clickOnConfirmationCustomButton(); + ftmPage.uploadCertificateConfrmationForFtm(); + ftmPage.clickOnCertificateUploadSubmitButton(); + assertTrue(partnerCertificatePage.isSuccessMessageForFtmCertDisplayed(), GlobalConstants.isSucessMessageDisplayed); + partnerCertificatePage.clickOncertificateUploadCloseButton(); + + assertTrue(ftmPage.isApprovedTextDisplayed(), GlobalConstants.isApproveTextDisplayed); + assertTrue(ftmPage.isPendingForApprovalTextDisplayed(), GlobalConstants.isPendingForApprovalTextDisplayed); + + ftmPage.clickOnStatusAscIcon(); + assertTrue(partnerCertificatePage.VerifyTheStatusWithAsendingOrder(), GlobalConstants.isApproveTextDisplayed); + + ftmPage.clickOnStatusDescIcon(); + assertTrue(partnerCertificatePage.VerifyTheStatusWithDesendingOrder(), GlobalConstants.isPendingForApprovalTextDisplayed); + + ftmPage.clickOnAddFtmChipButton(); + ftmPage.clickOnAddFtmPartnerId(); + ftmPage.EnterInAddFtmMakeBox(data+"1"); + ftmPage.EnterInAddFtmModelBox(data+"1"); + ftmPage.clickOnAddFtmSubmitButton(); + assertTrue(ftmPage.isDublicateFtmChipErrorMessageDisplayed(), GlobalConstants.isDublicateFTMErrorMessageDisplayed); + + assertTrue(ftmPage.isErrorCloseButtonDisplayed(), GlobalConstants.isErrorCrossButtonDisplayed); + + ftmPage.clickOnAddFtmClearForm(); +// assertFalse(partnerCertificatePage.isAddFtmSubmitButtonDisabled(), GlobalConstants.isElementIsDisabled); + + } + + @Test(priority = 4) + public void AddFtmAndreject() throws InterruptedException { + DashboardPage dashboardpage = new DashboardPage(driver); + PartnerCertificatePage partnerCertificatePage = new PartnerCertificatePage(driver); + RegisterPage registerPage = new RegisterPage(driver); + FtmPage ftmPage = new FtmPage(driver); + + dashboardpage.clickOnProfileDropdown(); + assertTrue(dashboardpage.isLogoutButtonDisplayed(), GlobalConstants.isLogoutButtonDisplayed); + + LoginPage loginpage = dashboardpage.clickOnLogoutButton(); + + loginpage.enterUserName("pmpui-ftm"); + loginpage.enterPassword(password); + loginpage.ClickOnLoginButton(); + + partnerCertificatePage.isDashboardFtmChipProviderCardDisplayed(); + partnerCertificatePage.clickOnFtmChipProviderCard(); + ftmPage.clickOnAddFtmChipButton(); + + ftmPage.clickOnAddFtmPartnerId(); + ftmPage.EnterInAddFtmMakeBox(data+"reject"); + ftmPage.EnterInAddFtmModelBox(data+"reject"); + ftmPage.clickOnAddFtmSubmitButton(); + ftmPage.clickOnConfirmationCustomButton(); + ftmPage.uploadCertificateConfrmationForFtm(); + ftmPage.clickOnCertificateUploadSubmitButton(); + assertTrue(partnerCertificatePage.isSuccessMessageForFtmCertDisplayed(), GlobalConstants.isSucessMessageDisplayed); + partnerCertificatePage.clickOncertificateUploadCloseButton(); + + assertTrue(ftmPage.isListOfFtmTextDisplayed(), GlobalConstants.isSucessMessageDisplayed); + assertTrue(ftmPage.islFtmListAction1Displayed(), GlobalConstants.isSucessMessageDisplayed); + ftmPage.clickOnFtmListAction1Button(); + ftmPage.clickOnFtmListViewButton(); + + assertTrue(ftmPage.isSubTitleHomeButtonDisplayed(), GlobalConstants.isSubTitleHomeDisplayed); + assertTrue(ftmPage.isSubTitleFtmButtonDisplayed(), GlobalConstants.isSubTitleDisplayed); + ftmPage.clickOnFtmViewBackButton(); + ftmPage.clickOnFilterButton(); + + ftmPage.clickOnFtmStatusFilter(); + ftmPage.clickOnFtmStatusFilterOption1(); + + assertTrue(ftmPage.isPendingForApprovalTextDisplayed(), GlobalConstants.isPendingForApprovalTextDisplayed); + + dashboardpage.clickOnProfileDropdown(); + assertTrue(dashboardpage.isLogoutButtonDisplayed(), GlobalConstants.isLogoutButtonDisplayed); + + dashboardpage.clickOnLogoutButton(); + + loginpage.enterUserName(userid); + loginpage.enterPassword(password); + loginpage.ClickOnLoginButton(); + dashboardpage.clickOnFTMChipTab(); + ftmPage.clickOnFilterButton(); + assertTrue(ftmPage.isFilterResetButtonDisplayed(), GlobalConstants.isResetFiletrButtonDisplayed); + ftmPage.enterPartnerIdFilterBox("pmpui-ftm"); + + ftmPage.clickOnApplyFilterButton(); + + ftmPage.clickOnFtmListActionMenuEllipsisButton(); + ftmPage.clickOnFtmListApproveRejectOption(); + + assertTrue(ftmPage.isMakAndModeTitelForPopupDisplayed(), GlobalConstants.isMakeAndModelTitleDisplayed); + assertTrue(ftmPage.isDoYouWantToApproveAndRejecPopupHeaderDisplayed(), GlobalConstants.isApproveRejectPopupHeaderDisplayed); + assertTrue(ftmPage.isPleaseReviewTheFtmChipPopupSubHeaderDisplayed(), GlobalConstants.isApproveRejectPopupSubHeaderDisplayed); + + ftmPage.clickOnRejectButton(); + dashboardpage.clickOnProfileDropdown(); + assertTrue(dashboardpage.isLogoutButtonDisplayed(), GlobalConstants.isLogoutButtonDisplayed); + + dashboardpage.clickOnLogoutButton(); + + loginpage.enterUserName("pmpui-ftm"); + loginpage.enterPassword(password); + loginpage.ClickOnLoginButton(); + + dashboardpage.clickOnDashboardFtmChipproviderCardHeader(); + assertTrue(ftmPage.isRejectedTextDisplayed(), GlobalConstants.isRejectedTextDisplayed); + + ftmPage.clickOnAddFtmChipButton(); + + ftmPage.clickOnAddFtmPartnerId(); + ftmPage.EnterInAddFtmMakeBox(data+"reject"); + ftmPage.EnterInAddFtmModelBox(data+"reject"); + ftmPage.clickOnAddFtmSubmitButton(); + ftmPage.clickOnConfirmationCustomButton(); + ftmPage.uploadCertificateConfrmationForFtm(); + ftmPage.clickOnCertificateUploadSubmitButton(); + assertTrue(partnerCertificatePage.isSuccessMessageForFtmCertDisplayed(), GlobalConstants.isSucessMessageDisplayed); + } + + @Test(priority = 5) + public void AddFtmAndDeactive() throws InterruptedException { + DashboardPage dashboardpage = new DashboardPage(driver); + PartnerCertificatePage partnerCertificatePage = new PartnerCertificatePage(driver); + RegisterPage registerPage = new RegisterPage(driver); + FtmPage ftmPage = new FtmPage(driver); + + dashboardpage.clickOnProfileDropdown(); + assertTrue(dashboardpage.isLogoutButtonDisplayed(), GlobalConstants.isLogoutButtonDisplayed); + + LoginPage loginpage = dashboardpage.clickOnLogoutButton(); + + loginpage.enterUserName("pmpui-ftm"); + loginpage.enterPassword(password); + loginpage.ClickOnLoginButton(); + + partnerCertificatePage.isDashboardFtmChipProviderCardDisplayed(); + partnerCertificatePage.clickOnFtmChipProviderCard(); + ftmPage.clickOnAddFtmPartnerId(); + + ftmPage.clickOnAddFtmPartnerId(); + ftmPage.EnterInAddFtmMakeBox(data+"deactivate"); + ftmPage.EnterInAddFtmModelBox(data+"deactivate"); + ftmPage.clickOnAddFtmSubmitButton(); + ftmPage.clickOnConfirmationCustomButton(); + ftmPage.uploadCertificateConfrmationForFtm(); + ftmPage.clickOnCertificateUploadSubmitButton(); + assertTrue(partnerCertificatePage.isSuccessMessageForFtmCertDisplayed(), GlobalConstants.isSucessMessageDisplayed); + partnerCertificatePage.clickOncertificateUploadCloseButton(); + + assertTrue(ftmPage.isListOfFtmTextDisplayed(), GlobalConstants.isSucessMessageDisplayed); + assertTrue(ftmPage.islFtmListAction1Displayed(), GlobalConstants.isSucessMessageDisplayed); + ftmPage.clickOnFtmListAction1Button(); + ftmPage.clickOnFtmListViewButton(); + + assertTrue(ftmPage.isSubTitleHomeButtonDisplayed(), GlobalConstants.isSubTitleHomeDisplayed); + assertTrue(ftmPage.isSubTitleFtmButtonDisplayed(), GlobalConstants.isSubTitleDisplayed); + ftmPage.clickOnFtmViewBackButton(); + ftmPage.clickOnFilterButton(); + + ftmPage.clickOnFtmStatusFilter(); + ftmPage.clickOnFtmStatusFilterOption1(); + + assertTrue(ftmPage.isPendingForApprovalTextDisplayed(), GlobalConstants.isPendingForApprovalTextDisplayed); + + dashboardpage.clickOnProfileDropdown(); + assertTrue(dashboardpage.isLogoutButtonDisplayed(), GlobalConstants.isLogoutButtonDisplayed); + + dashboardpage.clickOnLogoutButton(); + + loginpage.enterUserName(userid); + loginpage.enterPassword(password); + loginpage.ClickOnLoginButton(); + dashboardpage.clickOnFTMChipTab(); + ftmPage.clickOnFilterButton(); + assertTrue(ftmPage.isFilterResetButtonDisplayed(), GlobalConstants.isResetFiletrButtonDisplayed); + ftmPage.enterPartnerIdFilterBox("pmpui-ftm"); + + ftmPage.clickOnApplyFilterButton(); + + ftmPage.clickOnFtmListActionMenuEllipsisButton(); + ftmPage.clickOnFtmListApproveRejectOption(); + + ftmPage.clickOnApproveButton(); + + ftmPage.clickOnFtmListActionMenuEllipsisButton(); + ftmPage.clickOnFtmListDeactivateOption(); + assertTrue(ftmPage.isDeactivateSubmitButtonDisplayed(), GlobalConstants.isElementIsDisabled); + ftmPage.clickOnDeactivateSubmitButton(); + + BasePage.NavigateBack(); + BasePage.NavigateForword(); + assertTrue(ftmPage.isDeactivatedTextDisplayed(), GlobalConstants.isDeactivatedTextDisplayed); + + dashboardpage.clickOnProfileDropdown(); + assertTrue(dashboardpage.isLogoutButtonDisplayed(), GlobalConstants.isLogoutButtonDisplayed); + + dashboardpage.clickOnLogoutButton(); + + loginpage.enterUserName("pmpui-ftm"); + loginpage.enterPassword(password); + loginpage.ClickOnLoginButton(); + + dashboardpage.clickOnDashboardFtmChipproviderCardHeader(); + assertTrue(ftmPage.isDeactivatedTextDisplayed(), GlobalConstants.isDeactivatedTextDisplayed); + + ftmPage.clickOnFtmListAction1Button(); + ftmPage.clickOnFtmListManageCertificate(); + assertTrue(ftmPage.isDeactivatedTextDisplayed(), GlobalConstants.isDeactivatedTextDisplayed); + + ftmPage.clickOnAddFtmChipButton(); + + ftmPage.clickOnAddFtmPartnerId(); + ftmPage.EnterInAddFtmMakeBox(data+"deactivate"); + ftmPage.EnterInAddFtmModelBox(data+"deactivate"); + ftmPage.clickOnAddFtmSubmitButton(); + ftmPage.clickOnConfirmationCustomButton(); + ftmPage.uploadCertificateConfrmationForFtm(); + ftmPage.clickOnCertificateUploadSubmitButton(); + assertTrue(partnerCertificatePage.isSuccessMessageForFtmCertDisplayed(), GlobalConstants.isSucessMessageDisplayed); + ftmPage.clickOnCertificateUploadCloseButton(); + ftmPage.clickOnFilterButton(); + ftmPage.clickOnFtmStatusFilter(); + ftmPage.clickOnFtmStatusFilterOption2(); + assertTrue(ftmPage.isDeactivatedTextDisplayed(), GlobalConstants.isDeactivatedTextDisplayed); + } + + @Test(priority = 6) + public void addFtmWithoutUploadingFtmChipCert() throws InterruptedException { + DashboardPage dashboardpage = new DashboardPage(driver); + PartnerCertificatePage partnerCertificatePage = new PartnerCertificatePage(driver); + RegisterPage registerPage = new RegisterPage(driver); + FtmPage ftmPage = new FtmPage(driver); + + dashboardpage.clickOnProfileDropdown(); + assertTrue(dashboardpage.isLogoutButtonDisplayed(), GlobalConstants.isLogoutButtonDisplayed); + + LoginPage loginpage = dashboardpage.clickOnLogoutButton(); + + loginpage.enterUserName("pmpui-ftm"); + loginpage.enterPassword(password); + loginpage.ClickOnLoginButton(); + + partnerCertificatePage.isDashboardFtmChipProviderCardDisplayed(); + partnerCertificatePage.clickOnFtmChipProviderCard(); + ftmPage.clickOnAddFtmChipButton(); + ftmPage.clickOnAddFtmPartnerId(); + ftmPage.EnterInAddFtmMakeBox(data+"withoutcertUpload"); + ftmPage.EnterInAddFtmModelBox(data+"withoutcertUpload"); + ftmPage.clickOnAddFtmSubmitButton(); + ftmPage.clickOnConfirmationCustomButton(); + + ftmPage.clickOnSubTitleFtmButton(); + assertTrue(ftmPage.isPendingForCertificateUploadTextDisplayed(), GlobalConstants.isPendingForUploadCertTextDisplayed); + + ftmPage.clickOnFtmListAction1Button(); + ftmPage.clickOnFtmListManageCertificate(); + assertTrue(ftmPage.isDownloadButtonViewPageDisabled(), GlobalConstants.isElementIsDisabled); + + assertTrue(ftmPage.isFtmChipDetailsCertificatelabelDisplayed(), GlobalConstants.isFtmModelCertifiateLableDisplayed); + assertTrue(ftmPage.isFtmChipDetailsCertificateContextDisplayed(), GlobalConstants.isFtmModelCertifiateLableDisplayed); + assertTrue(ftmPage.isManageFtmChipCertTextDisplayed(), GlobalConstants.isManageFtmChipCertDisplaed); + + assertTrue(ftmPage.isFtmChipDetailsPartnerTypeContextDisplayed(), GlobalConstants.isPartnerTypeValueDisplayed); + assertTrue(ftmPage.isFtmChipDetailsLabelUploadDateTimeDisplayed(), GlobalConstants.isTimeOfUploadLableDisplayed); + assertTrue(ftmPage.isFtmChipDetailsContextUploadDateTimeDisplayed(), GlobalConstants.isTimeOfUploadValueDisplayed); + assertTrue(ftmPage.isFtmChipDetailsLabelExpiryDateTimeDisplayed(), GlobalConstants.isExpiryDateLableDisplayed); + assertTrue(ftmPage.isFtmChipDetailsContextExpiryDateTimeDisplayed(), GlobalConstants.isExpiryDateValueDisplayed); + + assertTrue(ftmPage.isCertificateReuploadButtonDisplayed(), GlobalConstants.iReUploadPartnerCertificateTextDisplayed); + + dashboardpage.clickOnProfileDropdown(); + assertTrue(dashboardpage.isLogoutButtonDisplayed(), GlobalConstants.isLogoutButtonDisplayed); + dashboardpage.clickOnLogoutButton(); + + loginpage.enterUserName("pmpui-revamp"); + loginpage.enterPassword(password); + loginpage.ClickOnLoginButton(); + dashboardpage.clickOnFTMChipTab(); + + ftmPage.clickOnFtmListActionMenuEllipsisButton(); + ftmPage.clickOnFtmListApproveRejectOption(); + + assertTrue(ftmPage.isFtmListApproveRejectOptionIsEnabled(), GlobalConstants.isElementIsDisabled); + + } + } diff --git a/uitest-pmprevamp/src/main/java/io/mosip/testrig/pmprevampui/testcase/NewUserPolicy.java b/uitest-pmprevamp/src/main/java/io/mosip/testrig/pmprevampui/testcase/NewUserPolicy.java index 1d33741ec..c481da1d4 100644 --- a/uitest-pmprevamp/src/main/java/io/mosip/testrig/pmprevampui/testcase/NewUserPolicy.java +++ b/uitest-pmprevamp/src/main/java/io/mosip/testrig/pmprevampui/testcase/NewUserPolicy.java @@ -89,7 +89,7 @@ public void RequestNewPolicyWithouUploadingCertificates() { registerPage.enterOrganizationName("xyz"); assertTrue(registerPage.isPartnerTypeDropdownDisplayed(), GlobalConstants.isPartnerTypeDropdownDisplayed); - registerPage.selectPartnerTypeDropdown(); + registerPage.selectPartnerTypeDropdown(2); assertTrue(registerPage.isAddressTextBoxDisplayed(), GlobalConstants.isAddressTextBoxDisplayed); registerPage.enterAddress("0"+ data+"n"); diff --git a/uitest-pmprevamp/src/main/java/io/mosip/testrig/pmprevampui/testcase/RegisterNewUser.java b/uitest-pmprevamp/src/main/java/io/mosip/testrig/pmprevampui/testcase/RegisterNewUser.java index a686e278a..9611acf18 100644 --- a/uitest-pmprevamp/src/main/java/io/mosip/testrig/pmprevampui/testcase/RegisterNewUser.java +++ b/uitest-pmprevamp/src/main/java/io/mosip/testrig/pmprevampui/testcase/RegisterNewUser.java @@ -87,7 +87,7 @@ public void registerNewUser() { registerPage.enterOrganizationName("xyz"); assertTrue(registerPage.isPartnerTypeDropdownDisplayed(), GlobalConstants.isPartnerTypeDropdownDisplayed); - registerPage.selectPartnerTypeDropdown(); + registerPage.selectPartnerTypeDropdown(2); assertTrue(registerPage.isAddressTextBoxDisplayed(), GlobalConstants.isAddressTextBoxDisplayed); registerPage.enterAddress("0"+ data); diff --git a/uitest-pmprevamp/src/main/java/io/mosip/testrig/pmprevampui/utility/GlobalConstants.java b/uitest-pmprevamp/src/main/java/io/mosip/testrig/pmprevampui/utility/GlobalConstants.java index 86775c0a1..ab4a5f5ed 100644 --- a/uitest-pmprevamp/src/main/java/io/mosip/testrig/pmprevampui/utility/GlobalConstants.java +++ b/uitest-pmprevamp/src/main/java/io/mosip/testrig/pmprevampui/utility/GlobalConstants.java @@ -24,11 +24,12 @@ public class GlobalConstants { public static final String isPartnerCertificateTitleDisplayed = "Verify if partner certificate title is displayed"; public static final String isPartnerCertificatePageDisplayed = "Verify if partner certificate page is displayed"; public static final String isUploadPartnerCertificatePopUpDisplayed = "Verify if upload partner certificate pop up is displayed"; - public static final String isSucessMessageDisplayed = "Verify if Partner certificate for Authentication Partner is uploaded successfully."; public static final String isDeviceProviderSucessMessageDisplayed = "Verify if Partner certificate for device provider is uploaded successfully."; + public static final String isSucessMessageDisplayed = "Verify if Partner certificate for Authentication Partner is uploaded successfully."; public static final String isPoliciesTitleDisplayed = "Verify if policies title is displayed"; public static final String isPoliciesPageDisplayed = "Verify if policies page is displayed after click on policies title"; public static final String isPartnerIdDropdownDisplayed = "Verify if partner id dropdown is displayed."; + public static final String isPartnerIdLableDisplayed = "Verify if partner id dropdown is displayed."; public static final String isPolicyNameDropdownDisplayed = "Verify if policy name dropdown displayed"; public static final String isPolicySubmittedSuccessfullyDisplayed = "Verify if Policy Submitted Successfully displayed"; public static final String isNoDataTextDisplaed = "Verify if Policy dropdown no policy data text displayed"; @@ -78,6 +79,9 @@ public class GlobalConstants { public static final String isOriginalCertificateDownloadPopupDisplayed = "Verify if Originally uploaded CA signed certificate downloaded successfully displayed"; public static final String isMosipCertificateDownloadPopupDisplayed = "Verify if mosip signed certificate downloaded successfully displayed"; public static final String iReUploadPartnerCertificateTextDisplayed = "Verify if Re-Upload partner certificate title displayed"; + public static final String isLastUploadTimeAndDateDisplayed = "Verify last upload time and date displayed"; + public static final String isCertFormateDisplayed = "Verify cert formates displayed"; + public static final String isPleaseTabTextDisplayed = "Verify please tab to select text displayed"; public static final String isReUploadPartnerCertificateSubTextDisplayed = "Verify if please select all fields and upload the certificate text displayed"; public static final String isInvalidCertFormatePopupDisplayed = "Verify if The certificate uploaded is not in the correct format. Only certificates having format .cer or .pem is allowed for upload text displayed"; public static final String ADD_SBI_PARTNER_ID_INFO_MESSAGE = "Only those partner IDs of Device Provider whose partner certificate is uploaded is available in the dropdown. If you don't find your partner ID, please upload partner certificate first"; @@ -98,6 +102,11 @@ public class GlobalConstants { public static final String SERVICE_NOT_DEPLOYED = "Service not deployed"; public static final String SERVICE_NOT_DEPLOYED_MESSAGE = "Service not deployed. Hence skipping the testcase"; public static final String KNOWN_ISSUES = "known issue. Hence skipping the testcase"; + public static final String isResetFiletrButtonDisplayed = "Verify if rest filter button displayed"; + public static final String isApproveRejectPopupHeaderDisplayed = "Verify if approve reject popup header displayed"; + public static final String isApproveRejectPopupSubHeaderDisplayed = "Verify if approve reject popup subheader displayed"; + public static final String isMakeAndModelTitleDisplayed = "Verify if make and model title for popup displayed"; + public static final String isFiletrButtonDisplayedOrEnabled = "Verify if filter button displayed"; public static final String isfilterResetButtonDisplayed = "Verify if rest filter button displayed"; public static final String isFilterButtonButtonEnabled = "Verify if filter button displayed"; public static final String isGoBackButtonDisplayed = "Verify if go back button displayed"; @@ -107,7 +116,36 @@ public class GlobalConstants { public static final String isHomeButtonInAuthenticationDisplayed = "Verify if home button in authentication page displayed"; public static final String isSubmitButtonEnabled = "Verify if submit button is enabled"; public static final String isPolicyCommentBoxTextDisplayed = "Mention the purpose of requesting the policy"; + public static final String isFtmChipMakeLableDisplayed = "Verify if ftm chipe make lable displayed"; + public static final String isFtmChipMakeValueDisplayed = "Verify if ftm chipe make value displayed"; + public static final String isPartnerTypeLableDisplayed = "Verify if ftm chipe partner type lable displayed"; + public static final String isPartnerTypeValueDisplayed = "Verify if ftm chipe partner type value displayed"; + + public static final String isFtmModelLableDisplayed = "Verify if ftm chipe model lable displayed"; + public static final String isFtmModelValueDisplayed = "Verify if ftm chipe model value displayed"; + public static final String isFtmModelCertifiateLableDisplayed = "Verify if ftm chipe certificate lable displayed"; + + public static final String isTimeOfUploadLableDisplayed = "Verify if ftm chipe certificate time of upload lable displayed"; + public static final String isTimeOfUploadValueDisplayed = "Verify if ftm chipe certificate time of upload value displayed"; + public static final String isExpiryDateLableDisplayed = "Verify if ftm chipe certificate time of upload value displayed"; + public static final String isExpiryDateValueDisplayed = "Verify if ftm chipe certificate time of upload value displayed"; + public static final String isDownlaodButtonDisplayed = "Verify if ftm chipe certificate download buttton displayed"; + public static final String isBackButton = "Verify if back button displayed"; + public static final String isPendingForApprovalTextDisplayed = "Verify if pending for approval text displayed"; + + public static final String isPendingForUploadCertTextDisplayed = "Verify if pending for upload cert text displayed"; + public static final String isApproveTextDisplayed = "Verify if approve text displayed"; + public static final String isRejectedTextDisplayed = "Verify if rejected text displayed"; + public static final String isDeactivatedTextDisplayed = "Verify if deactivated text displayed"; + public static final String isDublicateFTMErrorMessageDisplayed = "Verify if dublicate ftm error message displayed"; + public static final String isErrorCrossButtonDisplayed = "Verify if cross of error message displayed"; + public static final String isElementIsDisabled = "Verify if element is disabled displayed"; + public static final String isPolicyNameBoxTextDisplayed = "Select policy name"; + public static final String isInfoMessageDisplayed = "Verify if info message is displayed"; + public static final String isAutoPopulatedTextDisplaed = "Verify if auto-populated for partner type text displayed"; + public static final String isManageFtmChipCertDisplaed = "Verify if manage ftm chip cert text displayed"; + public static final String isFtmTablHeadersDisplaed = "Verify if ftm table header displayed"; public static final String isListOfSbiTitleDisplayed = "Verify if List SBI title is displayed"; public static final String isCreatedSbiDisplayed = "Verify if created SBI is displayed"; public static final String isStatusDisplayed = "Verify if correct status is displayed"; diff --git a/uitest-pmprevamp/src/main/java/io/mosip/testrig/pmprevampui/utility/TestRunner.java b/uitest-pmprevamp/src/main/java/io/mosip/testrig/pmprevampui/utility/TestRunner.java index c992c2e91..a8f894feb 100644 --- a/uitest-pmprevamp/src/main/java/io/mosip/testrig/pmprevampui/utility/TestRunner.java +++ b/uitest-pmprevamp/src/main/java/io/mosip/testrig/pmprevampui/utility/TestRunner.java @@ -40,6 +40,7 @@ public static void startTestRunner() throws Exception { suite.setName("MySuite"); suite.addListener("io.mosip.testrig.pmprevampui.utility.EmailableReport"); XmlClass AuthPartnerTest = new XmlClass("io.mosip.testrig.pmprevampui.testcase.AuthPartnerTest"); + XmlClass FTMDeviceTest = new XmlClass("io.mosip.testrig.pmprevampui.testcase.FTMDeviceTest"); List classes = new ArrayList<>(); String[] Scenarioname = ConfigManager.gettestcases().split(","); @@ -48,6 +49,9 @@ public static void startTestRunner() throws Exception { if (test.equals("AuthPartnerTest")) { classes.add(AuthPartnerTest); } + if (test.equals("FTMDeviceTest")) { + classes.add(FTMDeviceTest); + } } diff --git a/uitest-pmprevamp/src/main/resources/Screenshots/1736241854544.png b/uitest-pmprevamp/src/main/resources/Screenshots/1736241854544.png new file mode 100644 index 0000000000000000000000000000000000000000..f3f62b304213d9e534bfae8364e64bedb92cfaa9 GIT binary patch literal 28612 zcmb??Wmr^S)bD^I0s z_ru)}&vRzj=j^k3ul3t&f@GydP?6su0{{S2F;O9T002Q50DzZz2@m^^(tceO>;h*m zFCqXa9w68T0Nw+{ggz^}B<;<+YbcyQARb*#ztC?11Zp_EUqTRmhDHB1UC&hvljc-e z%`|;+tnyovnQ9)`v;PqNHm0UYT+AOF@KrBTPrHo29R)dajSwN)_m#mCZpi*+r!S+9 zAKdI~7an3B3$ELw)9bwu`|8VE58l+)+;OvSVPZwf%&$flieMDMhL4l1n%c~W(x+@w zq&PqEEP)q@j}x!HWAP&fToFHg3&eW-0N{`H`G5boX?wKv*^~YQ!qdY;Vx`B;O*8%)#uhUuyGfKTbEB>>i#$e$HbWNjpLmL1_YS#2_vUH6Z}sT001XTCV&%;Rj#i7 zMyo1aQfXd@Q5~%YG1j`(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MhY?ejE9csH>U_6v80k#il-wxSw12ZxA7Vs!G)< z{{-$^yh~@tWIGwj$*MGg-Y<@Q53 z6913a2LC7J(OotV2t03AR;2jeOG(*5jze7;@WYh9KHmFRe0oYL9DkSbKLoVum4zC0 z`yNm-vHa95C~?!CMF&Na_q<^G<*2~kY(W_FD93;X?w?@R3cW2Tymc(k&hU1_j}_}g zS8k!rn|t6!XGMz#rm!r}eqwQH@qzVl-s51GxtX_2WH~uH>4{x4wbIMUxv0wxP&Ezc zplrdAcVeg2glTC5kChcA4S zjo>iHX`JG1eLp@SJxG*YQrc$DM}8J_ONq|ePJ6GO2?=HM(K&{&8=$P)X(Az5TG^1K zkit#=(zpk%xwTnJiyC~CSPvq5d0h-g0d=wbKo6V!P8%K591Z>7wiz~j*m)~F8BVX| PYMk+fE9XlL93TG|oG^|B literal 0 HcmV?d00001 diff --git a/uitest-pmprevamp/src/main/resources/config/partnerRevampDataDeleteQueries.txt b/uitest-pmprevamp/src/main/resources/config/partnerRevampDataDeleteQueries.txt index dffa7fafc..064754147 100644 --- a/uitest-pmprevamp/src/main/resources/config/partnerRevampDataDeleteQueries.txt +++ b/uitest-pmprevamp/src/main/resources/config/partnerRevampDataDeleteQueries.txt @@ -9,15 +9,20 @@ delete from pms.policy_group where cr_by='pmpui-revamp'; delete from pms.partner where cr_by='pmpui-auth'; delete from pms.partner where user_id='pmpui-nocert'; delete from pms.partner where user_id='pmpui-device'; +delete from pms.partner where user_id='pmpui-ftmnocert'; delete from pms.partner where cr_by='pmpui-revamp'; +delete from pms.partner where cr_by='pmpui-ftm'; delete from pms.partner_h where cr_by='pmpui-auth'; delete from pms.partner_h where cr_by='pmpui-revamp'; delete FROM pms.user_details where user_id='pmpui-revamp'; +delete FROM pms.user_details where user_id='pmpui-device'; delete FROM pms.user_details where user_id='pmpui-auth'; delete FROM pms.user_details where user_id='pmpui-nocert'; -delete FROM pms.user_details where user_id='pmpui-device'; +delete FROM pms.user_details where user_id='pmpui-ftmnocert'; +delete FROM pms.user_details where user_id='pmpui-ftm'; delete from pms.oidc_client where cr_by='pmpui-revamp'; delete from pms.auth_policy where cr_by='pmpui-revamp'; delete from pms.policy_group where cr_by='pmpui-revamp'; delete FROM pms.secure_biometric_interface where cr_by='pmpui-revamp'; -delete FROM pms.secure_biometric_interface where cr_by='pmpui-device'; +delete from pms.ftp_chip_detail where foundational_trust_provider_id='pmpui-ftm'; + diff --git a/uitest-pmprevamp/src/main/resources/config/partnerRevampDataDeleteQueriesForIDA.txt b/uitest-pmprevamp/src/main/resources/config/partnerRevampDataDeleteQueriesForIDA.txt index 35114aee8..ba1c84d14 100644 --- a/uitest-pmprevamp/src/main/resources/config/partnerRevampDataDeleteQueriesForIDA.txt +++ b/uitest-pmprevamp/src/main/resources/config/partnerRevampDataDeleteQueriesForIDA.txt @@ -1,7 +1,7 @@ ##### DB queries to be executed to tear down the data used and generated during the test rig run for partnerRevamp APIs delete from ida.ca_cert_store where cert_subject ='CN=AABBCC,OU=AABBCC,O=AABBCC,L=aa,ST=aa,C=aa'; - +delete FROM ida.oidc_client_data where partner_id='pmpui-revamp'; diff --git a/uitest-pmprevamp/src/main/resources/config/partnerRevampDataDeleteQueriesForKeyMgr.txt b/uitest-pmprevamp/src/main/resources/config/partnerRevampDataDeleteQueriesForKeyMgr.txt index a11190180..91f587aba 100644 --- a/uitest-pmprevamp/src/main/resources/config/partnerRevampDataDeleteQueriesForKeyMgr.txt +++ b/uitest-pmprevamp/src/main/resources/config/partnerRevampDataDeleteQueriesForKeyMgr.txt @@ -1,5 +1,10 @@ ##### DB queries to be executed to tear down the data used and generated during the test rig run for partnerRevamp APIs -delete FROM keymgr.ca_cert_store where cert_subject ='CN=SUBCA,OU=SUBCA,O=SUBCA,L=aa,ST=aa,C=aa'; -delete FROM keymgr.ca_cert_store where cert_subject ='CN=CA,OU=CA,O=CA,L=aa,ST=aa,C=aa'; -delete FROM keymgr.ca_cert_store where cert_subject ='CN=AABBCC,OU=AABBCC,O=AABBCC,L=aa,ST=aa,C=aa'; \ No newline at end of file +delete FROM keymgr.ca_cert_store where cert_subject ='CN=SUBCA,OU=SUBCA,O=SUBCA,L=aa,ST=aa,C=aa' and partner_domain='FTM'; +delete FROM keymgr.ca_cert_store where cert_subject ='CN=CA,OU=CA,O=CA,L=aa,ST=aa,C=aa' and partner_domain='FTM'; +delete FROM keymgr.ca_cert_store where cert_subject ='CN=AABBCC,OU=AABBCC,O=AABBCC,L=aa,ST=aa,C=aa' and partner_domain='FTM'; +delete FROM keymgr.partner_cert_store where cert_subject ='CN=AABBCC,OU=AABBCC,O=AABBCC,L=aa,ST=aa,C=aa' and partner_domain='FTM'; + +DELETE FROM keymgr.key_alias where app_id = 'PARTNER' AND ref_id = 'pmpui-revamp'; +DELETE FROM keymgr.key_alias where app_id = 'PARTNER' AND ref_id = 'pmpui-auth'; +DELETE FROM keymgr.key_alias where app_id = 'PARTNER' AND ref_id = 'pmpui-ftm'; \ No newline at end of file diff --git a/uitest-pmprevamp/src/main/resources/testngFile/testng.xml b/uitest-pmprevamp/src/main/resources/testngFile/testng.xml index 441326fcf..4440f240b 100644 --- a/uitest-pmprevamp/src/main/resources/testngFile/testng.xml +++ b/uitest-pmprevamp/src/main/resources/testngFile/testng.xml @@ -11,6 +11,7 @@ +