diff --git a/extensions/notebook/src/test/book/book.test.ts b/extensions/notebook/src/test/book/book.test.ts index f45e4e6fa6..21ca2862e4 100644 --- a/extensions/notebook/src/test/book/book.test.ts +++ b/extensions/notebook/src/test/book/book.test.ts @@ -768,7 +768,8 @@ describe('BooksTreeViewTests', function () { should(executeCommandSpy.calledWith('markdown.showPreview')).be.true('openMarkdown should have called markdown.showPreview'); }); - it('should call showPreviewFile on openBook when showPreview flag is set', async () => { + // skip test for failing on CI runs. Tracking the fix here https://github.com/microsoft/azuredatastudio/issues/20589 + it.skip('should call showPreviewFile on openBook when showPreview flag is set', async () => { await bookTreeViewProvider.closeBook(bookTreeViewProvider.books[0].bookItems[0]); let showPreviewSpy = sinon.spy(bookTreeViewProvider, 'showPreviewFile'); @@ -777,7 +778,8 @@ describe('BooksTreeViewTests', function () { should(showPreviewSpy.calledOnce).be.true('Should have called showPreviewFile.'); }); - it('should add book when bookPath contains special characters on openBook', async () => { + // skip test for failing on CI runs. Tracking the fix here https://github.com/microsoft/azuredatastudio/issues/20589 + it.skip('should add book when bookPath contains special characters on openBook', async () => { let rootFolderPath2 = path.join(os.tmpdir(), `BookTestData(1)_${uuid.v4()}`); let dataFolderPath2 = path.join(rootFolderPath2, '_data'); let contentFolderPath2 = path.join(rootFolderPath2, 'content');