mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
mark failing tests as unstable (#20841)
This commit is contained in:
@@ -14,7 +14,7 @@ export function setup(opts: minimist.ParsedArgs) {
|
|||||||
afterSuite(opts);
|
afterSuite(opts);
|
||||||
// Name of the SQL notebook from azuredatastudio-smoke-test-repo
|
// Name of the SQL notebook from azuredatastudio-smoke-test-repo
|
||||||
const SQL_NOTEBOOK = 'collapsed';
|
const SQL_NOTEBOOK = 'collapsed';
|
||||||
it('Pin notebook', async function () {
|
it('Pin notebook @UNSTABLE@', async function () {
|
||||||
const app = this.app as Application;
|
const app = this.app as Application;
|
||||||
await app.workbench.sqlNotebook.view.focusNotebooksView();
|
await app.workbench.sqlNotebook.view.focusNotebooksView();
|
||||||
const sqlNotebook = (await app.workbench.sqlNotebook.view.getNotebookTreeItems()).filter(n => n.textContent === SQL_NOTEBOOK);
|
const sqlNotebook = (await app.workbench.sqlNotebook.view.getNotebookTreeItems()).filter(n => n.textContent === SQL_NOTEBOOK);
|
||||||
@@ -23,7 +23,7 @@ export function setup(opts: minimist.ParsedArgs) {
|
|||||||
await app.workbench.sqlNotebook.view.waitForPinnedNotebookTreeView();
|
await app.workbench.sqlNotebook.view.waitForPinnedNotebookTreeView();
|
||||||
});
|
});
|
||||||
|
|
||||||
it('Unpin Notebook', async function () {
|
it('Unpin Notebook @UNSTABLE@', async function () {
|
||||||
const app = this.app as Application;
|
const app = this.app as Application;
|
||||||
await app.workbench.sqlNotebook.view.focusPinnedNotebooksView();
|
await app.workbench.sqlNotebook.view.focusPinnedNotebooksView();
|
||||||
let pinnedNotebooks = await app.workbench.sqlNotebook.view.getPinnedNotebookTreeItems();
|
let pinnedNotebooks = await app.workbench.sqlNotebook.view.getPinnedNotebookTreeItems();
|
||||||
|
|||||||
Reference in New Issue
Block a user