Enhance Git LFS validation in CI workflow and update Docker Compose configuration
Some checks failed
Publish FaceAI Container / publish (push) Failing after 4s
Some checks failed
Publish FaceAI Container / publish (push) Failing after 4s
This commit is contained in:
parent
87d9238795
commit
f19b8e20ff
5 changed files with 63 additions and 5 deletions
|
|
@ -166,7 +166,7 @@ test('shows the unsupported-race message when the current race has no PKL data a
|
|||
await page.waitForTimeout(2000);
|
||||
await expect(page).toHaveURL(FACEAI_HOME_URL_RE);
|
||||
|
||||
await page.getByRole('link', { name: 'Torna alla pagina gara' }).click();
|
||||
await page.getByRole('button', { name: 'Torna alla pagina gara' }).click();
|
||||
await expect(page).toHaveURL(buildLegacySimulatorReturnMatcher('404'));
|
||||
});
|
||||
|
||||
|
|
@ -198,7 +198,7 @@ test('shows a localized invalid-race error when session race data points to a mi
|
|||
await expect(page.locator('input[type="file"]')).toBeDisabled();
|
||||
await expect(page.getByRole('button', { name: 'Choose image' })).toBeDisabled();
|
||||
await expect(page.getByRole('button', { name: 'Start Face ID search' })).toHaveCount(0);
|
||||
await expect(page.getByRole('link', { name: 'Back to the race page' })).toBeVisible();
|
||||
await expect(page.getByRole('button', { name: 'Back to the race page' })).toBeVisible();
|
||||
await expect.poll(() => {
|
||||
return consoleErrors.find((entry) => entry.includes('[FaceAI] Invalid race data:')) || null;
|
||||
}).toContain('RACE_DIRECTORY_NOT_FOUND');
|
||||
|
|
@ -206,7 +206,7 @@ test('shows a localized invalid-race error when session race data points to a mi
|
|||
return consoleErrors.find((entry) => entry.includes('[FaceAI] Invalid race data:')) || null;
|
||||
}).toContain('THIS RACE DOES NOT EXIST');
|
||||
|
||||
await page.getByRole('link', { name: 'Back to the race page' }).click();
|
||||
await page.getByRole('button', { name: 'Back to the race page' }).click();
|
||||
await expect(page).toHaveURL(buildLegacySimulatorReturnMatcher('405'));
|
||||
});
|
||||
|
||||
|
|
@ -262,7 +262,7 @@ test('shows the no-face message and allows the user to return to the race page',
|
|||
expectedSelfieName: 'DSC_1994.JPG'
|
||||
});
|
||||
|
||||
await page.getByRole('link', { name: 'Torna alla pagina gara' }).click();
|
||||
await page.getByRole('button', { name: 'Torna alla pagina gara' }).click();
|
||||
await expect(page).toHaveURL(buildLegacySimulatorReturnMatcher('202'));
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue