Skip to content

Commit c5339c5

Browse files
committed
Update documentation snapshots
1 parent 57fe723 commit c5339c5

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

galata/test/documentation/extension_manager.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,9 @@ test.describe('Extension Manager', () => {
9191
'drawio'
9292
);
9393

94-
await page.keyboard.press('Tab');
94+
await page.evaluate(() => {
95+
(document.activeElement as HTMLElement).blur();
96+
});
9597

9698
// We can not wait for extension kept by the keyword as they are already in the DOM
9799
await page.waitForSelector('text=No entries');

galata/test/documentation/general.test.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,10 @@ test.describe('General', () => {
100100

101101
await page.dblclick('[aria-label="File Browser Section"] >> text=data');
102102

103+
await page.evaluate(() => {
104+
(document.activeElement as HTMLElement).blur();
105+
});
106+
103107
expect(
104108
await page.screenshot({ clip: { y: 31, x: 0, width: 283, height: 400 } })
105109
).toMatchSnapshot('interface_left.png');

0 commit comments

Comments
 (0)