From de177db81f76a77bcb46fcab7f7c48138c81a814 Mon Sep 17 00:00:00 2001 From: Arnab Dutta Date: Sat, 23 Mar 2024 23:03:09 +0530 Subject: [PATCH] branch created to check test-casesg Signed-off-by: Arnab Dutta --- .../test/java/org/gluu/oxauth/BaseTest.java | 2 +- .../rs/UserAuthenticationFilterHttpTest.java | 4 +- Client/src/test/resources/testng.xml | 831 ------------------ 3 files changed, 3 insertions(+), 834 deletions(-) diff --git a/Client/src/test/java/org/gluu/oxauth/BaseTest.java b/Client/src/test/java/org/gluu/oxauth/BaseTest.java index cf0250a286..f3e9858510 100644 --- a/Client/src/test/java/org/gluu/oxauth/BaseTest.java +++ b/Client/src/test/java/org/gluu/oxauth/BaseTest.java @@ -621,7 +621,7 @@ public AuthorizationResponse authorizationRequestAndGrantAccess( waitForPageSwitch(previousURL); authorizationResponseStr = driver.getCurrentUrl(); - + System.out.println("authorizationRequestAndGrantAccess: driver.getPageSource():" + driver.getPageSource()); if (!authorizationResponseStr.startsWith(authorizationRequest.getRedirectUri())) { navigateToAuhorizationUrl(driver, authorizationResponseStr); authorizationResponseStr = waitForPageSwitch(authorizationResponseStr); diff --git a/Client/src/test/java/org/gluu/oxauth/ws/rs/UserAuthenticationFilterHttpTest.java b/Client/src/test/java/org/gluu/oxauth/ws/rs/UserAuthenticationFilterHttpTest.java index 4d102dd211..5349710994 100644 --- a/Client/src/test/java/org/gluu/oxauth/ws/rs/UserAuthenticationFilterHttpTest.java +++ b/Client/src/test/java/org/gluu/oxauth/ws/rs/UserAuthenticationFilterHttpTest.java @@ -39,7 +39,7 @@ */ public class UserAuthenticationFilterHttpTest extends BaseTest { - @Parameters({"redirectUris", "userInum", "userEmail", "sectorIdentifierUri"}) + /*@Parameters({"redirectUris", "userInum", "userEmail", "sectorIdentifierUri"}) @Test public void requestAccessTokenCustomAuth1( final String redirectUris, final String userInum, final String userEmail, final String sectorIdentifierUri) throws Exception { @@ -238,7 +238,7 @@ public void requestAccessTokenCustomAuth4( assertNotNull(response1.getAccessToken(), "The access token is null"); assertNotNull(response1.getTokenType(), "The token type is null"); } - +*/ @Parameters({"redirectUris", "redirectUri", "userInum", "userEmail", "sectorIdentifierUri"}) @Test public void requestAccessTokenCustomAuth5( diff --git a/Client/src/test/resources/testng.xml b/Client/src/test/resources/testng.xml index d4102ae357..9d1ab4e6cb 100644 --- a/Client/src/test/resources/testng.xml +++ b/Client/src/test/resources/testng.xml @@ -13,265 +13,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -279,576 +20,4 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -