Skip failing book tests (#20590)

This commit is contained in:
Barbara Valdez
2022-09-12 12:01:16 -07:00
committed by GitHub
parent 6015c8e2f4
commit 7e4e8e728f

View File

@@ -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');