automate common testing for pilots #1

Merged
pedro merged 10 commits from test_oidc_flow into master 2024-04-04 09:54:43 +00:00
Showing only changes of commit f9b0e141a6 - Show all commits

View file

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