fix(mobile): bouton mode lecture visible uniquement fichier ouvert (BUG-016)
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user