change schematype

This commit is contained in:
mildred 2024-03-28 22:57:12 +01:00
parent 27c18b5c0a
commit 367ade285e
5 changed files with 10 additions and 10 deletions

View File

@ -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();
})
})

View File

@ -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);

View File

@ -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);

View File

@ -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);

Binary file not shown.