Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit 2270c57a authored by Jaime Pérez-Lozana's avatar Jaime Pérez-Lozana
Browse files

Feature/SIMPL-755

parent d469c03a
No related branches found
No related tags found
No related merge requests found
...@@ -7,8 +7,8 @@ ...@@ -7,8 +7,8 @@
<version>0.7.0</version> <version>0.7.0</version>
<properties> <properties>
<maven.compiler.plugin.version>3.12.1</maven.compiler.plugin.version> <maven.compiler.plugin.version>3.12.1</maven.compiler.plugin.version>
<maven.compiler.source.version>16</maven.compiler.source.version> <maven.compiler.source.version>17</maven.compiler.source.version>
<maven.compiler.target.version>16</maven.compiler.target.version> <maven.compiler.target.version>17</maven.compiler.target.version>
<maven-atf-reports.version>1.0.0</maven-atf-reports.version> <maven-atf-reports.version>1.0.0</maven-atf-reports.version>
<playwright.version>1.43.0</playwright.version> <playwright.version>1.43.0</playwright.version>
<cucumber.java.version>7.16.1</cucumber.java.version> <cucumber.java.version>7.16.1</cucumber.java.version>
......
...@@ -2,6 +2,7 @@ package framework.ui.locators.simplOpen; ...@@ -2,6 +2,7 @@ package framework.ui.locators.simplOpen;
public class Authority { public class Authority {
public static final String ONBOARDING_INFO_REGISTER_BUTTON = ".mdc-button--unelevated.mat-primary"; public static final String ONBOARDING_INFO_REGISTER_BUTTON = ".mdc-button--unelevated.mat-primary";
public static final String ONBOARDING_FORM = "form[id='applicationForm']";
public static final String EMAIL_ADDRESS = "input[id='email']"; public static final String EMAIL_ADDRESS = "input[id='email']";
public static final String ORGANIZATION_INPUT_LOCATOR = "input[id='organization']"; public static final String ORGANIZATION_INPUT_LOCATOR = "input[id='organization']";
public static final String PARTICIPANT_TYPE_DROPDOMN_MENU = "#mat-mdc-form-field-label-4"; public static final String PARTICIPANT_TYPE_DROPDOMN_MENU = "#mat-mdc-form-field-label-4";
......
...@@ -101,7 +101,7 @@ Feature: Authority ...@@ -101,7 +101,7 @@ Feature: Authority
| @nother `Org*&^%$<> | | @nother `Org*&^%$<> |
@TCA08 @SIMPL-3049 @SIMPL-4125 @SIMPL-744 @bug:SIMPL-7932 @bug:SIMPL-7791 @TCA08 @SIMPL-3049 @SIMPL-4125 @SIMPL-744 @bug:SIMPL-7932 @bug:SIMPL-7791
# TODO: NOTARY role doesn't have access to Participant Managment. Check if there's a change/bug. # TODO: NOTARY role doesn't have access to Participant Management. Check if there's a change/bug.
Scenario: Display of Participant Details in the Governance Authority's Data Space Scenario: Display of Participant Details in the Governance Authority's Data Space
Given the user navigates to the "Participant Management" page Given the user navigates to the "Participant Management" page
And the user is redirected to the "Governance Authority" keycloak And the user is redirected to the "Governance Authority" keycloak
...@@ -375,4 +375,10 @@ Feature: Authority ...@@ -375,4 +375,10 @@ Feature: Authority
| The user selects 5 elements by page | 5 | | The user selects 5 elements by page | 5 |
| The user selects 10 elements by page | 10 | | The user selects 10 elements by page | 10 |
| The user selects 25 elements by page | 25 | | The user selects 25 elements by page | 25 |
| The user selects 100 elements by page | 100 | | The user selects 100 elements by page | 100 |
\ No newline at end of file
@TCA25 @SIMPL-755
Scenario: Accessing Admin Dashboard via Keycloak with role T2IAA_M
Given the user navigates to the "Dashboard Requests List" page
And the user logs in with a user with "T2IAA_M" role
And the onboarding requests list is displayed
...@@ -596,6 +596,11 @@ public class AuthoritySteps { ...@@ -596,6 +596,11 @@ public class AuthoritySteps {
assertElementIsVisibleByLocator(page.getByText(IDENTITY_ATTRIBUTES_DETAILS_HEADER)); assertElementIsVisibleByLocator(page.getByText(IDENTITY_ATTRIBUTES_DETAILS_HEADER));
} }
@Then("the user is redirected to the Onboarding Request Form page")
public void theUserIsRedirectedToTheOnboardingRequestFormPage() {
assertElementIsVisibleByLocator(page.locator(ONBOARDING_FORM));
}
@Then("the user is redirected to the {string} page") @Then("the user is redirected to the {string} page")
public void theUserIsRedirectedToThePage(String pageName) { public void theUserIsRedirectedToThePage(String pageName) {
if ("Identity Attribute Edition".equals(pageName)) { if ("Identity Attribute Edition".equals(pageName)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment