Skip to content

Commit

Permalink
[ACS-8862] test params
Browse files Browse the repository at this point in the history
  • Loading branch information
aonych committed Oct 2, 2024
1 parent d2b20dc commit a6c7d5f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -179,11 +179,11 @@ void getTokenFromSAMLLogin() throws Exception
//intersted in is the token parameter in the URL
logger.info("Redirect URL: " + driver.getCurrentUrl());
logger.info("Page title: " + driver.getTitle());
assertEquals("Page title", driver.getTitle());

//Get token param
Map<String, String> params = getQueryStringMap(driver.getCurrentUrl());
logger.info("URL Params: " + params);
assertEquals("Params", params.toString());

String token = params.get(TokenTestConstants.HEADER_ACCESS_TOKEN);
logger.info("access_token parameter: " + token);
Expand Down

0 comments on commit a6c7d5f

Please sign in to comment.