skip pilot tests by default

to make them work, change:

  test.describe.skip to test.describe
This commit is contained in:
pedro 2024-04-04 11:49:05 +02:00
parent f9b0e141a6
commit b61858f559
1 changed files with 115 additions and 110 deletions

View File

@ -62,6 +62,8 @@ async function oidc_flow(page) {
} else if (/ereuse/.test(hostname)) {
vcred_schema='Product and waste electronics operator claim'
vcred_file='/home/music/trustchain-oc1-orchestral-docker/IdHub/examples/excel_examples/e-operator-claim.xlsx'
} else {
test.skip();
}
await set_org_key(page);
@ -114,7 +116,8 @@ async function oidc_flow(page) {
// TODO test que hace la presentación de la credencial al revés
test('sign_pdf', async ({ page }) => {
test.describe.skip('test-pilots', () => {
test('sign_pdf', async ({ page }) => {
await login(page);
await set_org_key(page);
@ -181,19 +184,19 @@ test('sign_pdf', async ({ page }) => {
await page.getByRole('link', { name: 'Download as PDF (Spanish)' }).click();
const download2 = await download2Promise;
await page.pause();
});
});
test('oidc_flow', async ({ page }) => {
test('oidc_flow', async ({ page }) => {
await oidc_flow(page);
await page.pause();
});
});
test('login', async ({ page }) => {
test('login', async ({ page }) => {
await login(page);
await page.pause();
});
});
test('ereuse_pilot', async ({ page }) => {
test('ereuse_pilot', async ({ page }) => {
// TEMP reenable
await oidc_flow(page);
@ -232,4 +235,6 @@ test('ereuse_pilot', async ({ page }) => {
await page1.getByRole('button', { name: 'Present' }).click();
await page.pause();
});
});