increase CSS test timeout

This commit is contained in:
Joao Moreno
2018-04-18 23:41:15 +02:00
parent 285107a2fb
commit 2cabb75aed

View File

@@ -29,10 +29,12 @@ export function setup() {
});
it('verifies that warning becomes an error once setting changed', async function () {
// settings might take a while to update?
this.timeout(40000);
const app = this.app as Application;
await app.workbench.settingsEditor.addUserSetting('css.lint.emptyRules', '"error"');
await app.workbench.quickopen.openFile('style.css');
await app.workbench.editor.waitForTypeInEditor('style.css', '.foo{}');
await app.code.waitForElement(Problems.getSelectorInEditor(ProblemSeverity.ERROR));