skip pilot tests by default
to make them work, change: test.describe.skip to test.describe
This commit is contained in:
parent
f9b0e141a6
commit
b61858f559
|
@ -62,6 +62,8 @@ async function oidc_flow(page) {
|
||||||
} else if (/ereuse/.test(hostname)) {
|
} else if (/ereuse/.test(hostname)) {
|
||||||
vcred_schema='Product and waste electronics operator claim'
|
vcred_schema='Product and waste electronics operator claim'
|
||||||
vcred_file='/home/music/trustchain-oc1-orchestral-docker/IdHub/examples/excel_examples/e-operator-claim.xlsx'
|
vcred_file='/home/music/trustchain-oc1-orchestral-docker/IdHub/examples/excel_examples/e-operator-claim.xlsx'
|
||||||
|
} else {
|
||||||
|
test.skip();
|
||||||
}
|
}
|
||||||
|
|
||||||
await set_org_key(page);
|
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
|
// 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 login(page);
|
||||||
|
|
||||||
await set_org_key(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();
|
await page.getByRole('link', { name: 'Download as PDF (Spanish)' }).click();
|
||||||
const download2 = await download2Promise;
|
const download2 = await download2Promise;
|
||||||
await page.pause();
|
await page.pause();
|
||||||
});
|
});
|
||||||
|
|
||||||
test('oidc_flow', async ({ page }) => {
|
test('oidc_flow', async ({ page }) => {
|
||||||
await oidc_flow(page);
|
await oidc_flow(page);
|
||||||
await page.pause();
|
await page.pause();
|
||||||
});
|
});
|
||||||
|
|
||||||
test('login', async ({ page }) => {
|
test('login', async ({ page }) => {
|
||||||
await login(page);
|
await login(page);
|
||||||
await page.pause();
|
await page.pause();
|
||||||
});
|
});
|
||||||
|
|
||||||
test('ereuse_pilot', async ({ page }) => {
|
test('ereuse_pilot', async ({ page }) => {
|
||||||
// TEMP reenable
|
// TEMP reenable
|
||||||
await oidc_flow(page);
|
await oidc_flow(page);
|
||||||
|
|
||||||
|
@ -232,4 +235,6 @@ test('ereuse_pilot', async ({ page }) => {
|
||||||
await page1.getByRole('button', { name: 'Present' }).click();
|
await page1.getByRole('button', { name: 'Present' }).click();
|
||||||
|
|
||||||
await page.pause();
|
await page.pause();
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Reference in New Issue