Skip flakey UI test (#4762)

* skip flakey ui test

* only show failures in JS test output
This commit is contained in:
Matthew Irish 2018-06-14 08:43:38 -05:00 committed by Jeff Mitchell
parent 85d7ffea83
commit f7b2a823ab
2 changed files with 17 additions and 18 deletions

View File

@ -1,11 +1,11 @@
/*jshint node:true*/ /*jshint node:true*/
module.exports = { module.exports = {
"framework": "qunit", framework: 'qunit',
"test_page": "tests/index.html?hidepassed", test_page: 'tests/index.html?hidepassed',
"disable_watching": true, tap_quiet_logs: true,
"launch_in_ci": [ disable_watching: true,
"Chrome" launch_in_ci: ['Chrome'],
],
browser_args: { browser_args: {
Chrome: { Chrome: {
mode: 'ci', mode: 'ci',
@ -16,18 +16,17 @@ module.exports = {
'--disable-gpu', '--disable-gpu',
'--headless', '--headless',
'--remote-debugging-port=0', '--remote-debugging-port=0',
'--window-size=1440,900' '--window-size=1440,900',
].filter(Boolean) ].filter(Boolean),
} },
}, },
"launch_in_dev": [ launch_in_dev: ['Chrome'],
"Chrome" on_exit:
], '[ -e ../../vault-ui-integration-server.pid ] && node ../../scripts/start-vault.js `cat ../../vault-ui-integration-server.pid`; [ -e ../../vault-ui-integration-server.pid ] && rm ../../vault-ui-integration-server.pid',
"on_exit": "[ -e ../../vault-ui-integration-server.pid ] && node ../../scripts/start-vault.js `cat ../../vault-ui-integration-server.pid`; [ -e ../../vault-ui-integration-server.pid ] && rm ../../vault-ui-integration-server.pid",
proxies: { proxies: {
"/v1": { '/v1': {
"target": "http://localhost:9200" target: 'http://localhost:9200',
} },
}, },
}; };

View File

@ -1,4 +1,4 @@
import { moduleForComponent, test } from 'ember-qunit'; import { moduleForComponent, test, skip } from 'ember-qunit';
import { create } from 'ember-cli-page-object'; import { create } from 'ember-cli-page-object';
import wait from 'ember-test-helpers/wait'; import wait from 'ember-test-helpers/wait';
import uiPanel from 'vault/tests/pages/components/console/ui-panel'; import uiPanel from 'vault/tests/pages/components/console/ui-panel';
@ -69,7 +69,7 @@ test('it adds command to history on enter', function(assert) {
}); });
}); });
test('it cycles through history with more than one command', function(assert) { skip('it cycles through history with more than one command', function(assert) {
this.render(hbs`{{console/ui-panel}}`); this.render(hbs`{{console/ui-panel}}`);
component.consoleInput('list this/thing/here').enter(); component.consoleInput('list this/thing/here').enter();
wait().then(() => component.consoleInput('read that/thing/there').enter()); wait().then(() => component.consoleInput('read that/thing/there').enter());