mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-01 19:17:58 +00:00
Skip flakey UI test (#4762)
* skip flakey ui test * only show failures in JS test output
This commit is contained in:
committed by
Jeff Mitchell
parent
85d7ffea83
commit
f7b2a823ab
31
ui/testem.js
31
ui/testem.js
@@ -1,11 +1,11 @@
|
||||
/*jshint node:true*/
|
||||
|
||||
module.exports = {
|
||||
"framework": "qunit",
|
||||
"test_page": "tests/index.html?hidepassed",
|
||||
"disable_watching": true,
|
||||
"launch_in_ci": [
|
||||
"Chrome"
|
||||
],
|
||||
framework: 'qunit',
|
||||
test_page: 'tests/index.html?hidepassed',
|
||||
tap_quiet_logs: true,
|
||||
disable_watching: true,
|
||||
launch_in_ci: ['Chrome'],
|
||||
browser_args: {
|
||||
Chrome: {
|
||||
mode: 'ci',
|
||||
@@ -16,18 +16,17 @@ module.exports = {
|
||||
'--disable-gpu',
|
||||
'--headless',
|
||||
'--remote-debugging-port=0',
|
||||
'--window-size=1440,900'
|
||||
].filter(Boolean)
|
||||
}
|
||||
'--window-size=1440,900',
|
||||
].filter(Boolean),
|
||||
},
|
||||
},
|
||||
"launch_in_dev": [
|
||||
"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",
|
||||
launch_in_dev: ['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',
|
||||
|
||||
proxies: {
|
||||
"/v1": {
|
||||
"target": "http://localhost:9200"
|
||||
}
|
||||
'/v1': {
|
||||
target: 'http://localhost:9200',
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
@@ -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 wait from 'ember-test-helpers/wait';
|
||||
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}}`);
|
||||
component.consoleInput('list this/thing/here').enter();
|
||||
wait().then(() => component.consoleInput('read that/thing/there').enter());
|
||||
|
||||
Reference in New Issue
Block a user