From 2ce371db06a23982d697d493b5f31673fc04411e Mon Sep 17 00:00:00 2001 From: Mark Sujew Date: Mon, 7 Oct 2024 09:53:14 +0200 Subject: [PATCH] Skip flaky Ubuntu test --- examples/playwright/src/tests/theia-explorer-view.test.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/examples/playwright/src/tests/theia-explorer-view.test.ts b/examples/playwright/src/tests/theia-explorer-view.test.ts index 1705244609988..f3362f3f212b3 100644 --- a/examples/playwright/src/tests/theia-explorer-view.test.ts +++ b/examples/playwright/src/tests/theia-explorer-view.test.ts @@ -183,7 +183,8 @@ test.describe('Theia Explorer View', () => { expect(await explorer.existsDirectoryNode('sampleDirectoryCompact/nestedFolder1/nestedFolder2', true /* compact */)).toBe(true); }); - test('should delete nested folder "sampleDirectoryCompact/nestedFolder1/nestedFolder2"', async () => { + // TODO These tests only seems to fail on Ubuntu - it's not clear why + test.skip('should delete nested folder "sampleDirectoryCompact/nestedFolder1/nestedFolder2"', async () => { const fileStatElements = await explorer.visibleFileStatNodes(); expect(await explorer.existsDirectoryNode('sampleDirectoryCompact/nestedFolder1/nestedFolder2', true /* compact */)).toBe(true); await explorer.deleteNode('sampleDirectoryCompact/nestedFolder1/nestedFolder2', true /* confirm */, 'nestedFolder2' /* nodeSegmentLabel */); @@ -192,7 +193,7 @@ test.describe('Theia Explorer View', () => { expect(updatedFileStatElements.length).toBe(fileStatElements.length - 1); }); - test('should delete compact folder "sampleDirectoryCompact/nestedFolder1"', async () => { + test.skip('should delete compact folder "sampleDirectoryCompact/nestedFolder1"', async () => { const fileStatElements = await explorer.visibleFileStatNodes(); expect(await explorer.existsDirectoryNode('sampleDirectoryCompact/nestedFolder1', true /* compact */)).toBe(true); await explorer.deleteNode('sampleDirectoryCompact/nestedFolder1', true /* confirm */, 'sampleDirectoryCompact' /* nodeSegmentLabel */);