From f9b0e141a6c1282dd1ae71ba115ed199d9b6a9b5 Mon Sep 17 00:00:00 2001 From: pedro Date: Wed, 3 Apr 2024 19:19:10 +0200 Subject: [PATCH] ereuse pilot: use public snapshot from repo --- tests/test-pilots.spec.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/test-pilots.spec.ts b/tests/test-pilots.spec.ts index d4751cc..4186516 100644 --- a/tests/test-pilots.spec.ts +++ b/tests/test-pilots.spec.ts @@ -208,7 +208,11 @@ test('ereuse_pilot', async ({ page }) => { await page.getByRole('link', { name: ' Upload files' }).click(); // TODO hardcoded URL - await page.locator('#snapshot').setInputFiles('/home/music/org-extra/projects-2024/2024_17_tchain/2024-04-02__piloto-ereuse/snapshot-2022-6-9-10-21_usody@pangea.org_7928afeb-e6a4-464a-a842-0c3de0d01677.json'); + // TODO this was the first we tried and work + //const snapshot_file='/home/music/org-extra/projects-2024/2024_17_tchain/2024-04-02__piloto-ereuse/snapshot-2022-6-9-10-21_usody@pangea.org_7928afeb-e6a4-464a-a842-0c3de0d01677.json' + // TODO this comes from here: https://gitea.pangea.org/trustchain-oc1-orchestral/devicehub-teal/src/branch/idhub/examples/snapshots/snapshot01.json + //const snapshot_file='/home/music/trustchain-oc1-orchestral-docker/devicehub-teal/examples/snapshots/snapshot01.json' + await page.locator('#snapshot').setInputFiles(snapshot_file); await page.getByRole('button', { name: 'Send' }).click(); await page.getByRole('link', { name: ' Unassigned devices' }).click();