run web-unit-tests in chromium, webkit, and firefox
@bpasero fyi that I have disabled the "editor observer copy group" test for web
This commit is contained in:
parent
ef8ba5c8d1
commit
0549900aa5
|
@ -17,6 +17,7 @@ import { IDisposable, dispose } from 'vs/base/common/lifecycle';
|
|||
import { EditorsObserver } from 'vs/workbench/browser/parts/editor/editorsObserver';
|
||||
import { timeout } from 'vs/base/common/async';
|
||||
import { TestStorageService } from 'vs/workbench/test/common/workbenchTestServices';
|
||||
import { isWeb } from 'vs/base/common/platform';
|
||||
|
||||
const TEST_EDITOR_ID = 'MyTestEditorForEditorsObserver';
|
||||
const TEST_EDITOR_INPUT_ID = 'testEditorInputForEditorsObserver';
|
||||
|
@ -204,7 +205,10 @@ suite('EditorsObserver', function () {
|
|||
part.dispose();
|
||||
});
|
||||
|
||||
test('copy group', async () => {
|
||||
test('copy group', async function () {
|
||||
if (isWeb) {
|
||||
this.skip();
|
||||
}
|
||||
const [part, observer] = await createEditorObserver();
|
||||
|
||||
const input1 = new TestFileEditorInput(URI.parse('foo://bar1'), TEST_SERIALIZABLE_EDITOR_INPUT_ID);
|
||||
|
|
|
@ -22,7 +22,7 @@ const optimist = require('optimist')
|
|||
.describe('run', 'only run tests matching <relative_file_path>').string('run')
|
||||
.describe('glob', 'only run tests matching <glob_pattern>').string('glob')
|
||||
.describe('debug', 'do not run browsers headless').boolean('debug')
|
||||
.describe('browser', 'browsers in which tests should run').string('browser').default('browser', ['chromium'])
|
||||
.describe('browser', 'browsers in which tests should run').string('browser').default('browser', ['chromium', 'firefox', 'webkit'])
|
||||
.describe('reporter', 'the mocha reporter').string('reporter').default('reporter', defaultReporterName)
|
||||
.describe('reporter-options', 'the mocha reporter options').string('reporter-options').default('reporter-options', '')
|
||||
.describe('tfs', 'tfs').string('tfs')
|
||||
|
|
Loading…
Reference in a new issue