From 367ade285ee9850e75180884d89a02ebc8a18536 Mon Sep 17 00:00:00 2001 From: mildred Date: Thu, 28 Mar 2024 22:57:12 +0100 Subject: [PATCH] change schematype --- tests/00-COMM-loginFunctionality.spec.ts | 2 +- tests/06-COMM-EnabledAndIssueNGO_FED.spec.ts | 6 +++--- .../07-COMM-EnabledAndIssueCC_Credential.spec.ts | 6 +++--- ...08-COMM-EnabledAndIssue_EOC_Credential.spec.ts | 6 +++--- vc_excel/~$federation-membership.xlsx | Bin 0 -> 165 bytes 5 files changed, 10 insertions(+), 10 deletions(-) create mode 100644 vc_excel/~$federation-membership.xlsx diff --git a/tests/00-COMM-loginFunctionality.spec.ts b/tests/00-COMM-loginFunctionality.spec.ts index c8d2676..1fc2277 100644 --- a/tests/00-COMM-loginFunctionality.spec.ts +++ b/tests/00-COMM-loginFunctionality.spec.ts @@ -30,7 +30,7 @@ test.describe('User login functionality', () => { const loginPage = new LogInPage(page) await loginPage.visit(URL_IDHUB); await loginPage.login(USER1_EMAIL, KO_USER_K) - await expect(loginPage.errorMessageIsValid()).toBeTruthy(); + expect(await loginPage.errorMessageIsValid()).toBeTruthy(); }) }) \ No newline at end of file diff --git a/tests/06-COMM-EnabledAndIssueNGO_FED.spec.ts b/tests/06-COMM-EnabledAndIssueNGO_FED.spec.ts index 5eb1773..6d90eff 100644 --- a/tests/06-COMM-EnabledAndIssueNGO_FED.spec.ts +++ b/tests/06-COMM-EnabledAndIssueNGO_FED.spec.ts @@ -120,10 +120,10 @@ test.describe('USER -> My Credentials - enable and issue credentials', () => { }); - test('USER -> My Credentials -> Request the issuance of a NGO_FM for user3', async ({ page }) => { + test('USER -> My Credentials -> Request the issuance of a NGO_FM for user2', async ({ page }) => { - let schemaType = SCHEMA_NGO_FM; - let user = USER3_EMAIL; + let schemaType = SCHEMA_TYPE_NGO_FM; + let user = USER2_EMAIL; await loginAsUser(page, user, URL_IDHUB); diff --git a/tests/07-COMM-EnabledAndIssueCC_Credential.spec.ts b/tests/07-COMM-EnabledAndIssueCC_Credential.spec.ts index 1c09b2d..66499a3 100644 --- a/tests/07-COMM-EnabledAndIssueCC_Credential.spec.ts +++ b/tests/07-COMM-EnabledAndIssueCC_Credential.spec.ts @@ -120,10 +120,10 @@ test.describe('USER -> My Credentials - enable and issue credentials', () => { }); - test('USER -> My Credentials -> Request the issuance of a CC for user3', async ({ page }) => { + test('USER -> My Credentials -> Request the issuance of a CC for user2', async ({ page }) => { - let schemaType = SCHEMA_CC; - let user = USER3_EMAIL; + let schemaType = SCHEMA_TYPE_CC; + let user = USER2_EMAIL; await loginAsUser(page, user, URL_IDHUB); diff --git a/tests/08-COMM-EnabledAndIssue_EOC_Credential.spec.ts b/tests/08-COMM-EnabledAndIssue_EOC_Credential.spec.ts index bb28dd8..22c8565 100644 --- a/tests/08-COMM-EnabledAndIssue_EOC_Credential.spec.ts +++ b/tests/08-COMM-EnabledAndIssue_EOC_Credential.spec.ts @@ -122,10 +122,10 @@ test.describe('USER -> My Credentials - enable and issue credentials', () => { }); - test('USER -> My Credentials -> Request the issuance of a EOC for user3', async ({ page }) => { + test('USER -> My Credentials -> Request the issuance of a EOC for user2', async ({ page }) => { - let schemaType = SCHEMA_EOC; - let user = USER3_EMAIL; + let schemaType = SCHEMA_TYPE_EOC; + let user = USER2_EMAIL; await loginAsUser(page, user, URL_IDHUB); diff --git a/vc_excel/~$federation-membership.xlsx b/vc_excel/~$federation-membership.xlsx new file mode 100644 index 0000000000000000000000000000000000000000..b3d6cf5b31895f72e1d46fd68d8f3b0fc5d57b87 GIT binary patch literal 165 WcmZSb4OSonFfsTt1T!em2?79n-3~