ereuse pilot: use public snapshot from repo

This commit is contained in:
pedro 2024-04-03 19:19:10 +02:00
parent f09e5b4e65
commit f9b0e141a6

View file

@ -208,7 +208,11 @@ test('ereuse_pilot', async ({ page }) => {
await page.getByRole('link', { name: ' Upload files' }).click(); await page.getByRole('link', { name: ' Upload files' }).click();
// TODO hardcoded URL // 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('button', { name: 'Send' }).click();
await page.getByRole('link', { name: ' Unassigned devices' }).click(); await page.getByRole('link', { name: ' Unassigned devices' }).click();