fix(e2e): reset panes - prefixe > pour chercher une commande dans le palette
- sans >, le palette cherche des fichiers (mode par defaut) et ne trouve jamais la commande Reinitialiser les panneaux
This commit is contained in:
@@ -297,10 +297,11 @@ test.describe('Split View — Persistence', () => {
|
|||||||
await page.keyboard.press('Control+Shift+ '); // Ctrl+Shift+Space
|
await page.keyboard.press('Control+Shift+ '); // Ctrl+Shift+Space
|
||||||
await page.waitForTimeout(300);
|
await page.waitForTimeout(300);
|
||||||
|
|
||||||
// Type "réinitialiser" and select
|
// Type ">réinitialiser" (le préfixe '>' cherche une COMMANDE,
|
||||||
|
// sinon le palette cherche des fichiers et ne trouve pas la commande)
|
||||||
const input = page.locator('#cp-input');
|
const input = page.locator('#cp-input');
|
||||||
if (await input.isVisible()) {
|
if (await input.isVisible()) {
|
||||||
await input.fill('réinitialiser');
|
await input.fill('>réinitialiser');
|
||||||
await page.waitForTimeout(200);
|
await page.waitForTimeout(200);
|
||||||
await page.keyboard.press('Enter');
|
await page.keyboard.press('Enter');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user