Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
a0bfe00
MOSIP-42652: ARC UI automation
damodarguru Nov 14, 2025
08a28ea
MOSIP-42652: ARC UI automation
damodarguru Nov 14, 2025
721b9fc
MOSIP-42652: ARC UI automation
damodarguru Nov 14, 2025
3a12146
MOSIP-42652: ARC UI automation
damodarguru Nov 14, 2025
59b0551
MOSIP-42652: ARC UI automation
damodarguru Nov 14, 2025
13a5216
MOSIP-42652: ARC UI automation
damodarguru Nov 16, 2025
d491e34
MOSIP-42652: ARC UI automation
damodarguru Nov 16, 2025
0ab2c46
MOSIP-42652: ARC UI automation
damodarguru Nov 16, 2025
e8fc791
MOSIP-42652: ARC UI automation
damodarguru Nov 17, 2025
33c2c6d
MOSIP-42652: ARC UI automation
damodarguru Nov 17, 2025
59533f0
MOSIP-42652: ARC UI automation
damodarguru Nov 17, 2025
226ead9
MOSIP-43667:ARC UI automation add testcases and move to develop branch
damodarguru Dec 1, 2025
16859d2
MOSIP-43667:ARC UI automation add testcases and move to develop branch
damodarguru Dec 1, 2025
6f6439c
MOSIP-43667:ARC UI automation add testcases and move to develop branch
damodarguru Dec 1, 2025
62556f7
MOSIP-43667:ARC UI automation add testcases and move to develop branch
damodarguru Dec 2, 2025
b1e9686
MOSIP-43667:ARC UI automation add testcases and move to develop branch
damodarguru Dec 3, 2025
ffba7b1
MOSIP-43667:ARC UI automation add testcases and move to develop branch
damodarguru Dec 3, 2025
9448a75
MOSIP-43667:ARC UI automation add testcases and move to develop branch
damodarguru Dec 4, 2025
c23865d
MOSIP-43667:ARC UI automation add testcases and move to develop branch
damodarguru Dec 10, 2025
1724c69
MOSIP-43667:ARC UI automation add testcases and move to develop branch
damodarguru Dec 10, 2025
6ca07a5
MOSIP-43667:ARC UI automation add testcases and move to develop branch
damodarguru Dec 10, 2025
a6a0116
MOSIP-43667:ARC UI automation add testcases and move to develop branch
damodarguru Dec 19, 2025
ceb9e9e
MOSIP-43667:ARC UI automation add testcases and move to develop branch
damodarguru Dec 19, 2025
e84a07b
MOSIP-43667:ARC UI automation add testcases and move to develop branch
damodarguru Dec 19, 2025
93665c5
MOSIP-44176:ARC - Run the ARC UI automation in Arab language
damodarguru Jan 21, 2026
c559239
MOSIP-44176:ARC - Run the ARC UI automation in Arab language
damodarguru Jan 21, 2026
b12ffc9
Merge branch 'mosip:develop' into develop
damodarguru Jan 21, 2026
748c6dd
Merge branch 'develop' of https://github.com/damodarguru/android-regi…
damodarguru Jan 21, 2026
56542a7
MOSIP-44311:Fix and optimize ARC UI automation failures
damodarguru Jan 22, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ public void adultBiometricCorrection() throws InterruptedException {
// Navigate to mocksbi page
MockSBIPage mockSBIPage = new MockSBIPage(driver);
mockSBIPage.switchToMockSBI();
mockSBIPage.clickOnMockSbiSettingsButton();
mockSBIPage.setAllModalityLowScore();
mockSBIPage.switchBackToArcApp();

Expand Down Expand Up @@ -437,6 +438,7 @@ public void adultBiometricCorrection() throws InterruptedException {
assertTrue(previewPage.isNewRegistrationTitleDisplayed(), "Verify if new Registration title is displayed");
// assertTrue(previewPage.isApplicationIDPreviewPagePageDisplayed(),
// "Verify if application ID In PreviewPage is displayed");

assertTrue(previewPage.isDemographicInformationInPreviewPageDisplayed(),
"Verify if Demographic Information In PreviewPage is displayed");
assertTrue(previewPage.isDocumentsInformationInPreviewPageDisplayed(),
Expand Down Expand Up @@ -993,6 +995,7 @@ public void minorBiometricCorrection() throws InterruptedException {
// Navigate to mocksbi page
MockSBIPage mockSBIPage = new MockSBIPage(driver);
mockSBIPage.switchToMockSBI();
mockSBIPage.clickOnMockSbiSettingsButton();
mockSBIPage.setAllModalityLowScore();
mockSBIPage.switchBackToArcApp();

Expand Down Expand Up @@ -1247,6 +1250,7 @@ public void minorBiometricCorrection() throws InterruptedException {
"Verify if biometric details page is displayed");
// Return to mocksbi page
mockSBIPage.switchToMockSBI();
mockSBIPage.clickOnMockSbiSettingsButton();
mockSBIPage.setAllModalityHighScore();
mockSBIPage.switchBackToArcApp();

Expand Down Expand Up @@ -1504,7 +1508,7 @@ public void minorBiometricCorrection() throws InterruptedException {

// Biometric correction packet process
// Reset biometric capabilities back to individual biometrics for correction flow
FetchUiSpec.getBiometricDetails("individualBiometrics");

assertTrue(registrationTasksPage.isOperationalTaskDisplayed(), "Verify if operation tasks page is loaded");
Comment thread
coderabbitai[bot] marked this conversation as resolved.

registrationTasksPage.clickOnRegistrationTasksTab();
Expand Down Expand Up @@ -1838,6 +1842,26 @@ public void minorBiometricCorrection() throws InterruptedException {
break;
}
manageApplicationsPage.clickOnBackButton();
registrationTasksPage.clickProfileButton();

if ("eng".equalsIgnoreCase(language)) {
profilePage = new ProfilePageEnglish(driver);
} else if ("hin".equalsIgnoreCase(language)) {
profilePage = new ProfilePageHindi(driver);
} else if ("fra".equalsIgnoreCase(language)) {
profilePage = new ProfilePageFrench(driver);
} else if ("kan".equalsIgnoreCase(language)) {
profilePage = new ProfilePageKannada(driver);
} else if ("tam".equalsIgnoreCase(language)) {
profilePage = new ProfilePageTamil(driver);
} else if ("ara".equalsIgnoreCase(language)) {
profilePage = new ProfilePageArabic(driver);
} else {
throw new IllegalStateException("Unsupported language in testdata.json: " + language);
}
profilePage.clickOnLogoutButton();
assertTrue(loginPage.isLoginPageLoaded(), "verify if login page is displayeded in Selected language");
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Typo in assertion message: "displayeded" → "displayed".

-		assertTrue(loginPage.isLoginPageLoaded(), "verify if login page is displayeded in Selected language");
+		assertTrue(loginPage.isLoginPageLoaded(), "verify if login page is displayed in selected language");
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
assertTrue(loginPage.isLoginPageLoaded(), "verify if login page is displayeded in Selected language");
assertTrue(loginPage.isLoginPageLoaded(), "verify if login page is displayed in selected language");
🤖 Prompt for AI Agents
In `@ui-test/src/main/java/regclient/androidTestCases/BiometricCorrection.java` at
line 1863, Fix the typo in the assertion message for the call to
loginPage.isLoginPageLoaded(): replace "displayeded" with "displayed" so the
assertion reads "verify if login page is displayed in Selected language" to
ensure the message is correct and readable.



}

Expand Down
4 changes: 0 additions & 4 deletions ui-test/src/main/java/regclient/androidTestCases/LostUin.java
Original file line number Diff line number Diff line change
Expand Up @@ -523,10 +523,6 @@ public void lostUinAdult() {
assertTrue(pendingApproval.isSupervisorAuthenticationTitleDisplayed(),
"Verify if Supervisor Authentication page displayed");

pendingApproval.clickOnSubmitButton();
assertTrue(pendingApproval.isSubmitButtonEnabledWithEmptyUsername(),
"Verify if error empty username submit button enabled");

pendingApproval.enterUserName(KeycloakUserManager.moduleSpecificUser + "123");

assertTrue(pendingApproval.isInvalidUsernameMessageDisplayed(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@
import regclient.pages.tamil.RegistrationTasksPageTamil;
import regclient.pages.tamil.SelectLanguagePageTamil;
import regclient.utils.TestDataReader;
import io.appium.java_client.android.AndroidDriver;

public class NewRegistrationAdult extends AndroidBaseTest {

Expand Down Expand Up @@ -432,9 +431,9 @@ public void newRegistrationAdult() throws InterruptedException {
"Verify if Demographic Information In PreviewPage is displayed");
assertTrue(previewPage.isDocumentsInformationInPreviewPageDisplayed(),
"Verify if Documents Information In PreviewPage is displayed");
// assertTrue(previewPage.isBiometricsInformationInPreviewPagePageDisplayed(),"Verify if Biometrics Information In PreviewPage is displayed");
assertTrue(previewPage.isBiometricsInformationInPreviewPagePageDisplayed(),
"Verify if Biometrics Information In PreviewPage is displayed");
String Aid = previewPage.getAID();
previewPage.clickOnContinueButton();
if ("eng".equalsIgnoreCase(language)) {
authenticationPage = new AuthenticationPageEnglish(driver);
} else if ("hin".equalsIgnoreCase(language)) {
Expand All @@ -450,8 +449,20 @@ public void newRegistrationAdult() throws InterruptedException {
} else {
throw new IllegalStateException("Unsupported language in testdata.json: " + language);
}
assertTrue(authenticationPage.isAuthenticationPageDisplayed(),
"Verify if authentication details page is displayed");

boolean isAuthenticationPageDisplayed = false;

for (int i = 0; i < 3; i++) {
previewPage.clickOnContinueButton();

if (authenticationPage.isAuthenticationPageDisplayed()) {
isAuthenticationPageDisplayed = true;
break;
}
}

assertTrue(isAuthenticationPageDisplayed, "Authentication page not displayed after retries");

authenticationPage.enterUserName(KeycloakUserManager.moduleSpecificUser);
authenticationPage.enterPassword(ArcConfigManager.getIAMUsersPassword());
authenticationPage.clickOnAuthenticatenButton();
Expand Down Expand Up @@ -531,20 +542,18 @@ public void newRegistrationAdult() throws InterruptedException {
"Verify if authenticate button is enable after selecting packet");

boolean isPageDisplayed = false;

for (int i = 0; i < 3; i++) {
pendingApproval.clickOnAuthenticateButton();
Thread.sleep(2000);

if (pendingApproval.isSupervisorAuthenticationTitleDisplayed()) {
isPageDisplayed = true;
break;
}
}

assertTrue(isPageDisplayed, "Supervisor Authentication page not displayed after retries");

pendingApproval.clickOnSubmitButton();
assertTrue(pendingApproval.isSubmitButtonEnabledWithEmptyUsername(),
"Verify if error empty username submit button enabled");

pendingApproval.enterUserName(KeycloakUserManager.moduleSpecificUser + "123");

assertTrue(pendingApproval.isInvalidUsernameMessageDisplayed(),
Expand Down Expand Up @@ -585,17 +594,41 @@ public void newRegistrationAdult() throws InterruptedException {

assertTrue(manageApplicationsPage.isPacketApproved(Aid), "Verify if Filtre packet is approved ");
manageApplicationsPage.clickOnSearchCheckBox();

for (int i = 0; i < 3; i++) {
manageApplicationsPage.clickOnUploadButton();
Thread.sleep(2000);
if (!manageApplicationsPage.isNoNetworkFoundDisplayed())

if (!manageApplicationsPage.isNoNetworkFoundDisplayed()) {
break;
}
}
Comment on lines 598 to 604
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Add a post-retry assertion so upload failures don’t pass silently.
Currently the loop exits after 3 attempts even if “No Network Found” persists, so the test can pass without a successful upload. Consider asserting success after retries.

✅ Suggested guard (apply to both loops)
- for (int i = 0; i < 3; i++) {
-     manageApplicationsPage.clickOnUploadButton();
-
-     if (!manageApplicationsPage.isNoNetworkFoundDisplayed()) {
-         break;
-     }
- }
+ boolean uploadSucceeded = false;
+ for (int i = 0; i < 3; i++) {
+     manageApplicationsPage.clickOnUploadButton();
+     if (!manageApplicationsPage.isNoNetworkFoundDisplayed()) {
+         uploadSucceeded = true;
+         break;
+     }
+ }
+ assertTrue(uploadSucceeded, "Upload failed after retries (No Network Found)");

Also applies to: 1323-1329

🤖 Prompt for AI Agents
In `@ui-test/src/main/java/regclient/androidTestCases/NewRegistrationAdult.java`
around lines 598 - 604, The retry loop around
manageApplicationsPage.clickOnUploadButton currently gives up after 3 attempts
without failing the test; after the loop (for both occurrences) add a post-retry
assertion that verifies the upload succeeded by asserting
manageApplicationsPage.isNoNetworkFoundDisplayed() is false (or that a success
indicator is present) and fail the test if the “No Network Found” message still
persists so failures don’t pass silently.


manageApplicationsPage.clickOnBackButton();

registrationTasksPage.clickProfileButton();

if ("eng".equalsIgnoreCase(language)) {
profilePage = new ProfilePageEnglish(driver);
} else if ("hin".equalsIgnoreCase(language)) {
profilePage = new ProfilePageHindi(driver);
} else if ("fra".equalsIgnoreCase(language)) {
profilePage = new ProfilePageFrench(driver);
} else if ("kan".equalsIgnoreCase(language)) {
profilePage = new ProfilePageKannada(driver);
} else if ("tam".equalsIgnoreCase(language)) {
profilePage = new ProfilePageTamil(driver);
} else if ("ara".equalsIgnoreCase(language)) {
profilePage = new ProfilePageArabic(driver);
} else {
throw new IllegalStateException("Unsupported language in testdata.json: " + language);
}

profilePage.clickOnLogoutButton();
assertTrue(loginPage.isLoginPageLoaded(), "verify if login page is displayeded in Selected language");

}

@Test(priority = 1, description = "Verify adult new registration")
// @Test(priority = 1, description = "Verify adult new registration")
public void newRegistrationAdultUploadMultipleDoccuments() throws InterruptedException {
Comment on lines +631 to 632
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

The test is now disabled—please confirm intent.
Commenting out @Test removes coverage for multi-document uploads. If this is intentional, add an explicit disable with a ticket reference; otherwise re-enable the test.

🔧 Suggested fix (re-enable test)
-//	`@Test`(priority = 1, description = "Verify adult new registration")
+@Test(priority = 1, description = "Verify adult new registration")
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
// @Test(priority = 1, description = "Verify adult new registration")
public void newRegistrationAdultUploadMultipleDoccuments() throws InterruptedException {
`@Test`(priority = 1, description = "Verify adult new registration")
public void newRegistrationAdultUploadMultipleDoccuments() throws InterruptedException {
🤖 Prompt for AI Agents
In `@ui-test/src/main/java/regclient/androidTestCases/NewRegistrationAdult.java`
around lines 631 - 632, The method newRegistrationAdultUploadMultipleDoccuments
currently has its `@Test` annotation commented out, which silently disables the
test; either re-enable the test by restoring the `@Test` annotation above
newRegistrationAdultUploadMultipleDoccuments so it runs as part of the suite, or
explicitly disable it with a clear `@Test`(enabled = false, description = "...",
groups = {...}) or a TestNG `@Disabled` equivalent and include a ticket/reference
ID and reason; update the method's annotation accordingly and ensure the method
name newRegistrationAdultUploadMultipleDoccuments is left unchanged.

BasePage.disableAutoRotation();
FetchUiSpec.getUiSpec("newProcess");
Expand Down Expand Up @@ -1144,7 +1177,7 @@ public void newRegistrationAdultUploadMultipleDoccuments() throws InterruptedExc
"Verify if Biometrics Information In PreviewPage is displayed");

String Aid = previewPage.getAID();
previewPage.clickOnContinueButton();

if ("eng".equalsIgnoreCase(language)) {
authenticationPage = new AuthenticationPageEnglish(driver);
} else if ("hin".equalsIgnoreCase(language)) {
Expand All @@ -1160,8 +1193,19 @@ public void newRegistrationAdultUploadMultipleDoccuments() throws InterruptedExc
} else {
throw new IllegalStateException("Unsupported language in testdata.json: " + language);
}
assertTrue(authenticationPage.isAuthenticationPageDisplayed(),
"Verify if authentication details page is displayed");

boolean isAuthenticationPageDisplayed = false;

for (int i = 0; i < 3; i++) {
previewPage.clickOnContinueButton();

if (authenticationPage.isAuthenticationPageDisplayed()) {
isAuthenticationPageDisplayed = true;
break;
}
}

assertTrue(isAuthenticationPageDisplayed, "Authentication page not displayed after retries");

authenticationPage.enterUserName(KeycloakUserManager.moduleSpecificUser);
authenticationPage.enterPassword(ArcConfigManager.getIAMUsersPassword());
Expand Down Expand Up @@ -1236,18 +1280,17 @@ public void newRegistrationAdultUploadMultipleDoccuments() throws InterruptedExc
"Verify if authenticate button is enable after selecting packet");

boolean isPageDisplayed = false;

for (int i = 0; i < 3; i++) {
pendingApproval.clickOnAuthenticateButton();
Thread.sleep(2000);

if (pendingApproval.isSupervisorAuthenticationTitleDisplayed()) {
isPageDisplayed = true;
break;
}
}
assertTrue(isPageDisplayed, "Supervisor Authentication page not displayed after retries");

assertTrue(pendingApproval.isSupervisorAuthenticationTitleDisplayed(),
"Verify if error empty username submit button enabled");
assertTrue(isPageDisplayed, "Supervisor Authentication page not displayed after retries");

pendingApproval.enterUserName(KeycloakUserManager.moduleSpecificUser);
pendingApproval.enterPassword(ArcConfigManager.getIAMUsersPassword());
Expand Down Expand Up @@ -1277,7 +1320,35 @@ public void newRegistrationAdultUploadMultipleDoccuments() throws InterruptedExc

assertTrue(manageApplicationsPage.isSearchAIDDisplayed(Aid), "Verify if Search Aid should displayed");
manageApplicationsPage.clickOnSearchCheckBox();
manageApplicationsPage.clickOnUploadButton();
for (int i = 0; i < 3; i++) {
manageApplicationsPage.clickOnUploadButton();

if (!manageApplicationsPage.isNoNetworkFoundDisplayed()) {
break;
}
}

manageApplicationsPage.clickOnBackButton();

registrationTasksPage.clickProfileButton();

if ("eng".equalsIgnoreCase(language)) {
profilePage = new ProfilePageEnglish(driver);
} else if ("hin".equalsIgnoreCase(language)) {
profilePage = new ProfilePageHindi(driver);
} else if ("fra".equalsIgnoreCase(language)) {
profilePage = new ProfilePageFrench(driver);
} else if ("kan".equalsIgnoreCase(language)) {
profilePage = new ProfilePageKannada(driver);
} else if ("tam".equalsIgnoreCase(language)) {
profilePage = new ProfilePageTamil(driver);
} else if ("ara".equalsIgnoreCase(language)) {
profilePage = new ProfilePageArabic(driver);
} else {
throw new IllegalStateException("Unsupported language in testdata.json: " + language);
}
profilePage.clickOnLogoutButton();
assertTrue(loginPage.isLoginPageLoaded(), "verify if login page is displayeded in Selected language");

}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -311,11 +311,6 @@ public void newRegistrationAdultException() throws InterruptedException {

assertTrue(applicantBiometricsPage.isExceptionCountDisplayed(),
"Verify if exception count is displayed");
// applicantBiometricsPage.clickOnExceptionTypeTemporaryButton();
//
// assertTrue(applicantBiometricsPage.isCommentHeaderDisplyed(),"Verify if
// Comments header is displayed");
// applicantBiometricsPage.enterCommentsInTextBox(TestDataReader.readData("comments"));

applicantBiometricsPage.clickOnIrisScanTitle();
applicantBiometricsPage.clickOnScanButton();
Expand Down Expand Up @@ -370,13 +365,6 @@ public void newRegistrationAdultException() throws InterruptedException {

assertTrue(applicantBiometricsPage.isExceptionTypeTitleDisplayed(),
"Verify if applicant biometric mark exception type is displayed");
// assertTrue(applicantBiometricsPage.isExceptionCountDisplyed(),"Verify if
// exception count is displayed");
// applicantBiometricsPage.clickOnExceptionTypeTemporaryButton();
//
// assertTrue(applicantBiometricsPage.isCommentHeaderDisplyed(),"Verify if
// Comments header is displayed");
// applicantBiometricsPage.enterCommentsInTextBox(TestDataReader.readData("comments"));

applicantBiometricsPage.clickOnleftHandScanTitle();
applicantBiometricsPage.clickOnScanButton();
Expand Down Expand Up @@ -405,11 +393,6 @@ public void newRegistrationAdultException() throws InterruptedException {

assertTrue(applicantBiometricsPage.isExceptionCountDisplayed(),
"Verify if exception count is displayed");
// applicantBiometricsPage.clickOnExceptionTypeTemporaryButton();
//
// assertTrue(applicantBiometricsPage.isCommentHeaderDisplyed(),"Verify if
// Comments header is displayed");
// applicantBiometricsPage.enterCommentsInTextBox(TestDataReader.readData("comments"));

applicantBiometricsPage.clickOnThumbsScanTitle();
applicantBiometricsPage.clickOnScanButton();
Expand Down Expand Up @@ -479,7 +462,6 @@ public void newRegistrationAdultException() throws InterruptedException {
// assertTrue(previewPage.isFingerExceptionText(),"Verify if finger exception In
// PreviewPage is displayed");
String Aid = previewPage.getAID();
previewPage.clickOnContinueButton();
if ("eng".equalsIgnoreCase(language)) {
authenticationPage = new AuthenticationPageEnglish(driver);
} else if ("hin".equalsIgnoreCase(language)) {
Expand All @@ -495,8 +477,19 @@ public void newRegistrationAdultException() throws InterruptedException {
} else {
throw new IllegalStateException("Unsupported language in testdata.json: " + language);
}
assertTrue(authenticationPage.isAuthenticationPageDisplayed(),
"Verify if authentication details page is displayed");

boolean isAuthenticationPageDisplayed = false;

for (int i = 0; i < 3; i++) {
previewPage.clickOnContinueButton();

if (authenticationPage.isAuthenticationPageDisplayed()) {
isAuthenticationPageDisplayed = true;
break;
}
}

assertTrue(isAuthenticationPageDisplayed, "Authentication page not displayed after retries");
authenticationPage.enterUserName(KeycloakUserManager.moduleSpecificUser);
authenticationPage.enterPassword(ArcConfigManager.getIAMUsersPassword());
authenticationPage.clickOnAuthenticatenButton();
Expand Down Expand Up @@ -571,15 +564,17 @@ public void newRegistrationAdultException() throws InterruptedException {
"Verify if authenticate button is enable after selecting packet");

boolean isPageDisplayed = false;

for (int i = 0; i < 3; i++) {
pendingApproval.clickOnAuthenticateButton();
Thread.sleep(2000);

if (pendingApproval.isSupervisorAuthenticationTitleDisplayed()) {
isPageDisplayed = true;
break;
}
}
assertTrue(isPageDisplayed, "Verify if Supervisor Authentication page displayed after retries");

assertTrue(isPageDisplayed, "Supervisor Authentication page not displayed after retries");

pendingApproval.enterUserName(KeycloakUserManager.moduleSpecificUser);
pendingApproval.enterPassword(ArcConfigManager.getIAMUsersPassword());
Expand Down Expand Up @@ -613,7 +608,14 @@ public void newRegistrationAdultException() throws InterruptedException {
assertTrue(manageApplicationsPage.isPacketApproved(Aid),
"Verify if packet is approved after approve in pending approval");
manageApplicationsPage.clickOnSearchCheckBox();
manageApplicationsPage.clickOnUploadButton();

for (int i = 0; i < 3; i++) {
manageApplicationsPage.clickOnUploadButton();

if (!manageApplicationsPage.isNoNetworkFoundDisplayed()) {
break;
}
}

manageApplicationsPage.clickOnBackButton();

Expand All @@ -635,8 +637,7 @@ public void newRegistrationAdultException() throws InterruptedException {
} else {
throw new IllegalStateException("Unsupported language in testdata.json: " + language);
}
// assertTrue(profilePage.isProfileTitleDisplayed(),"Verify if profile title
// display on Profilepage");

profilePage.clickOnLogoutButton();

assertTrue(loginPage.isLoginPageLoaded(), "verify if login page is displayed in Selected language");
Expand Down
Loading