mirror of
https://github.com/Microsoft/vscode
synced 2024-09-13 13:46:13 +00:00
Change disabled tests to .skip
This commit is contained in:
parent
87a3effc79
commit
0829608afb
|
@ -3,31 +3,31 @@
|
||||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||||
*--------------------------------------------------------------------------------------------*/
|
*--------------------------------------------------------------------------------------------*/
|
||||||
|
|
||||||
import { Application } from '../../../../automation';
|
import { Application, Quality } from '../../../../automation';
|
||||||
|
|
||||||
export function setup() {
|
export function setup() {
|
||||||
describe('Extensions', () => {
|
describe('Extensions', () => {
|
||||||
// it(`install and activate vscode-smoketest-check extension`, async function () {
|
it.skip(`install and activate vscode-smoketest-check extension`, async function () {
|
||||||
// const app = this.app as Application;
|
const app = this.app as Application;
|
||||||
|
|
||||||
// if (app.quality === Quality.Dev) {
|
if (app.quality === Quality.Dev) {
|
||||||
// this.skip();
|
this.skip();
|
||||||
// return;
|
return;
|
||||||
// }
|
}
|
||||||
|
|
||||||
// if (!app.web) {
|
if (!app.web) {
|
||||||
// await app.workbench.settingsEditor.addUserSetting('webview.experimental.useIframes', 'true');
|
await app.workbench.settingsEditor.addUserSetting('webview.experimental.useIframes', 'true');
|
||||||
// }
|
}
|
||||||
|
|
||||||
// await app.workbench.extensions.openExtensionsViewlet();
|
await app.workbench.extensions.openExtensionsViewlet();
|
||||||
|
|
||||||
// await app.workbench.extensions.installExtension('michelkaporin.vscode-smoketest-check', true);
|
await app.workbench.extensions.installExtension('michelkaporin.vscode-smoketest-check', true);
|
||||||
|
|
||||||
// await app.workbench.extensions.waitForExtensionsViewlet();
|
await app.workbench.extensions.waitForExtensionsViewlet();
|
||||||
|
|
||||||
// await app.workbench.quickaccess.runCommand('Smoke Test Check');
|
await app.workbench.quickaccess.runCommand('Smoke Test Check');
|
||||||
// await app.workbench.statusbar.waitForStatusbarText('smoke test', 'VS Code Smoke Test Check');
|
await app.workbench.statusbar.waitForStatusbarText('smoke test', 'VS Code Smoke Test Check');
|
||||||
// });
|
});
|
||||||
|
|
||||||
after(async function () {
|
after(async function () {
|
||||||
const app = this.app as Application;
|
const app = this.app as Application;
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||||
*--------------------------------------------------------------------------------------------*/
|
*--------------------------------------------------------------------------------------------*/
|
||||||
|
|
||||||
import { Application } from '../../../../automation/out';
|
import { Application, ProblemSeverity, Problems } from '../../../../automation/out';
|
||||||
|
|
||||||
export function setup() {
|
export function setup() {
|
||||||
describe('Language Features', () => {
|
describe('Language Features', () => {
|
||||||
|
@ -15,28 +15,28 @@ export function setup() {
|
||||||
await app.workbench.quickinput.waitForQuickInputElements(names => names.length === 2);
|
await app.workbench.quickinput.waitForQuickInputElements(names => names.length === 2);
|
||||||
});
|
});
|
||||||
|
|
||||||
// it('verifies problems view', async function () {
|
it.skip('verifies problems view', async function () {
|
||||||
// const app = this.app as Application;
|
const app = this.app as Application;
|
||||||
// await app.workbench.quickaccess.openFile('style.css');
|
await app.workbench.quickaccess.openFile('style.css');
|
||||||
// await app.workbench.editor.waitForTypeInEditor('style.css', '.foo{}');
|
await app.workbench.editor.waitForTypeInEditor('style.css', '.foo{}');
|
||||||
|
|
||||||
// await app.code.waitForElement(Problems.getSelectorInEditor(ProblemSeverity.WARNING));
|
await app.code.waitForElement(Problems.getSelectorInEditor(ProblemSeverity.WARNING));
|
||||||
|
|
||||||
// await app.workbench.problems.showProblemsView();
|
await app.workbench.problems.showProblemsView();
|
||||||
// await app.code.waitForElement(Problems.getSelectorInProblemsView(ProblemSeverity.WARNING));
|
await app.code.waitForElement(Problems.getSelectorInProblemsView(ProblemSeverity.WARNING));
|
||||||
// await app.workbench.problems.hideProblemsView();
|
await app.workbench.problems.hideProblemsView();
|
||||||
// });
|
});
|
||||||
|
|
||||||
// it('verifies settings', async function () {
|
it.skip('verifies settings', async function () {
|
||||||
// const app = this.app as Application;
|
const app = this.app as Application;
|
||||||
// await app.workbench.settingsEditor.addUserSetting('css.lint.emptyRules', '"error"');
|
await app.workbench.settingsEditor.addUserSetting('css.lint.emptyRules', '"error"');
|
||||||
// await app.workbench.quickaccess.openFile('style.css');
|
await app.workbench.quickaccess.openFile('style.css');
|
||||||
|
|
||||||
// await app.code.waitForElement(Problems.getSelectorInEditor(ProblemSeverity.ERROR));
|
await app.code.waitForElement(Problems.getSelectorInEditor(ProblemSeverity.ERROR));
|
||||||
|
|
||||||
// await app.workbench.problems.showProblemsView();
|
await app.workbench.problems.showProblemsView();
|
||||||
// await app.code.waitForElement(Problems.getSelectorInProblemsView(ProblemSeverity.ERROR));
|
await app.code.waitForElement(Problems.getSelectorInProblemsView(ProblemSeverity.ERROR));
|
||||||
// await app.workbench.problems.hideProblemsView();
|
await app.workbench.problems.hideProblemsView();
|
||||||
// });
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -53,12 +53,12 @@ export function setup(isWeb) {
|
||||||
await app.workbench.quickinput.closeQuickInput();
|
await app.workbench.quickinput.closeQuickInput();
|
||||||
});
|
});
|
||||||
|
|
||||||
// it(`verifies that 'Problems View' appears when clicking on 'Problems' status element`, async function () {
|
it.skip(`verifies that 'Problems View' appears when clicking on 'Problems' status element`, async function () {
|
||||||
// const app = this.app as Application;
|
const app = this.app as Application;
|
||||||
|
|
||||||
// await app.workbench.statusbar.clickOn(StatusBarElement.PROBLEMS_STATUS);
|
await app.workbench.statusbar.clickOn(StatusBarElement.PROBLEMS_STATUS);
|
||||||
// await app.workbench.problems.waitForProblemsView();
|
await app.workbench.problems.waitForProblemsView();
|
||||||
// });
|
});
|
||||||
|
|
||||||
it(`verifies that 'Tweet us feedback' pop-up appears when clicking on 'Feedback' icon`, async function () {
|
it(`verifies that 'Tweet us feedback' pop-up appears when clicking on 'Feedback' icon`, async function () {
|
||||||
const app = this.app as Application;
|
const app = this.app as Application;
|
||||||
|
|
|
@ -20,28 +20,28 @@ export function setup() {
|
||||||
await app.restart({ extraArgs: ['--locale=DE'] });
|
await app.restart({ extraArgs: ['--locale=DE'] });
|
||||||
});
|
});
|
||||||
|
|
||||||
// it(`starts with 'DE' locale and verifies title and viewlets text is in German`, async function () {
|
it.skip(`starts with 'DE' locale and verifies title and viewlets text is in German`, async function () {
|
||||||
// const app = this.app as Application;
|
const app = this.app as Application;
|
||||||
|
|
||||||
// if (app.quality === Quality.Dev) {
|
if (app.quality === Quality.Dev) {
|
||||||
// this.skip();
|
this.skip();
|
||||||
// return;
|
return;
|
||||||
// }
|
}
|
||||||
|
|
||||||
// // await app.workbench.explorer.waitForOpenEditorsViewTitle(title => /geöffnete editoren/i.test(title));
|
// await app.workbench.explorer.waitForOpenEditorsViewTitle(title => /geöffnete editoren/i.test(title));
|
||||||
|
|
||||||
// await app.workbench.search.openSearchViewlet();
|
await app.workbench.search.openSearchViewlet();
|
||||||
// await app.workbench.search.waitForTitle(title => /suchen/i.test(title));
|
await app.workbench.search.waitForTitle(title => /suchen/i.test(title));
|
||||||
|
|
||||||
// // await app.workbench.scm.openSCMViewlet();
|
// await app.workbench.scm.openSCMViewlet();
|
||||||
// // await app.workbench.scm.waitForTitle(title => /quellcodeverwaltung/i.test(title));
|
// await app.workbench.scm.waitForTitle(title => /quellcodeverwaltung/i.test(title));
|
||||||
|
|
||||||
// // See https://github.com/microsoft/vscode/issues/93462
|
// See https://github.com/microsoft/vscode/issues/93462
|
||||||
// // await app.workbench.debug.openDebugViewlet();
|
// await app.workbench.debug.openDebugViewlet();
|
||||||
// // await app.workbench.debug.waitForTitle(title => /starten/i.test(title));
|
// await app.workbench.debug.waitForTitle(title => /starten/i.test(title));
|
||||||
|
|
||||||
// // await app.workbench.extensions.openExtensionsViewlet();
|
// await app.workbench.extensions.openExtensionsViewlet();
|
||||||
// // await app.workbench.extensions.waitForTitle(title => /extensions/i.test(title));
|
// await app.workbench.extensions.waitForTitle(title => /extensions/i.test(title));
|
||||||
// });
|
});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue