1
0

Added connect instructions to improve UX

This commit is contained in:
2026-03-23 20:12:17 +01:00
parent 7eb99913bc
commit a6dbc17840
6 changed files with 100 additions and 2 deletions

View File

@@ -151,6 +151,8 @@ async function connectMockDevice(page, opts = {}) {
await overrideFirmwareURLs(page);
}
await page.click('#btn-connect');
await expect(page.locator('#step-connect-instructions')).not.toBeHidden();
await page.click('#btn-connect-ready');
await expect(page.locator('#step-device')).not.toBeHidden();
await expect(page.locator('#device-model')).toHaveText('Kobo Libra Colour');
await expect(page.locator('#device-firmware')).toHaveText('4.45.23646');