fix(mobile): bouton mode lecture visible uniquement fichier ouvert (BUG-016)
CI / lint (push) Successful in 1m10s
CI / security (push) Successful in 46s
CI / test (push) Successful in 2m23s
CI / build (push) Successful in 41s
CI / e2e (push) Successful in 10m28s

This commit is contained in:
2026-09-12 22:44:15 -04:00
parent cb07b92543
commit d47fcbf2be
7 changed files with 95 additions and 4 deletions
+5
View File
@@ -30,6 +30,11 @@ test.describe('Mobile editor (#69)', () => {
await boot(page);
const enter = page.locator('#me-reading-btn');
// The floating button only shows once a file is open (and not on the
// dashboard), so it cannot cover the assistant's send button.
await expect(enter).toBeHidden();
await page.evaluate(() => window.TabManager.open('TestVault', 'note1.md'));
await expect(enter).toBeVisible();
await enter.click();