mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-03 09:35:40 -05:00
introduce unstable smoke test suite (#20639)
* allow mark tests as unstable * fix * fix invert * stable and whole test suite * docs and mark test cases as unstable * a couple more unstable test cases
This commit is contained in:
@@ -19,7 +19,7 @@ export function setup(opts: minimist.ParsedArgs) {
|
||||
beforeSuite(opts);
|
||||
afterSuite(opts);
|
||||
|
||||
it.skip('can open remote book', async function () { // Skip until the rate limit issue can be fixed
|
||||
it('can open remote book @UNSTABLE@', async function () { // Skip until the rate limit issue can be fixed
|
||||
const app = this.app as Application;
|
||||
await app.workbench.quickaccess.runCommand(AddRemoteBookCommand);
|
||||
await app.workbench.addRemoteBookDialog.setLocation('GitHub');
|
||||
|
||||
@@ -16,7 +16,7 @@ const CreateBookCommand = 'Jupyter Books: Create Jupyter Book';
|
||||
const bookName = 'my-book';
|
||||
|
||||
export function setup(opts: minimist.ParsedArgs) {
|
||||
describe.skip('CreateBookDialog', () => {
|
||||
describe('CreateBookDialog @UNSTABLE@', () => {
|
||||
beforeSuite(opts);
|
||||
afterSuite(opts);
|
||||
|
||||
|
||||
@@ -115,7 +115,7 @@ export function setup(opts: minimist.ParsedArgs) {
|
||||
await app.workbench.sqlNotebook.waitForActiveCellResults();
|
||||
});
|
||||
|
||||
it('can add and remove new package from the Manage Packages wizard', async function () {
|
||||
it('can add and remove new package from the Manage Packages wizard @UNSTABLE@', async function () {
|
||||
// Use arrow package so that it's at the top of the packages list when uninstalling later
|
||||
const testPackageName = 'arrow';
|
||||
|
||||
@@ -195,7 +195,7 @@ export function setup(opts: minimist.ParsedArgs) {
|
||||
});
|
||||
|
||||
describe('Notebook keyboard navigation', async () => {
|
||||
it.skip('can enter and exit edit mode and navigate using keyboard nav', async function () {
|
||||
it('can enter and exit edit mode and navigate using keyboard nav @UNSTABLE@', async function () {
|
||||
const app = this.app as Application;
|
||||
await app.workbench.sqlNotebook.newUntitledNotebook();
|
||||
await app.workbench.sqlNotebook.addCellFromPlaceholder('Code'); // add new code cell
|
||||
@@ -273,7 +273,7 @@ export function setup(opts: minimist.ParsedArgs) {
|
||||
});
|
||||
});
|
||||
|
||||
describe.skip('Cell Toolbar Actions', function () {
|
||||
describe('Cell Toolbar Actions @UNSTABLE@', function () {
|
||||
async function verifyCellToolbarBehavior(app: Application, toolbarAction: () => Promise<void>, selector: string, checkIfGone: boolean = false): Promise<void> {
|
||||
// Run the test for each of the default text editor modes
|
||||
for (let editMode of ['Markdown', 'Split View']) {
|
||||
@@ -506,7 +506,7 @@ export function setup(opts: minimist.ParsedArgs) {
|
||||
await app.workbench.sqlNotebook.waitForActiveCellEditorContents(s => s.includes('- **_<u><mark>Markdown Test</mark></u>_**'));
|
||||
});
|
||||
|
||||
it('can save and reopen WYSIWYG notebook', async function () {
|
||||
it('can save and reopen WYSIWYG notebook @UNSTABLE@', async function () {
|
||||
const app = this.app as Application;
|
||||
const filename = 'emptyNotebook.ipynb';
|
||||
await app.workbench.sqlNotebook.openFile(filename);
|
||||
|
||||
Reference in New Issue
Block a user