From 7e4e8e728f2eac8ad8c1cdb5d66494022248141e Mon Sep 17 00:00:00 2001 From: Barbara Valdez <34872381+barbaravaldez@users.noreply.github.com> Date: Mon, 12 Sep 2022 12:01:16 -0700 Subject: [PATCH] Skip failing book tests (#20590) --- extensions/notebook/src/test/book/book.test.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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');