UI/Clarifies error message for exit test process (#12094)
* adds console log to elaborate on error message * fixes browserstack failure
This commit is contained in:
parent
288bc28127
commit
30f9bbd9f5
|
@ -78,9 +78,10 @@ async function processLines(input, eachLine = () => {}) {
|
||||||
written = true;
|
written = true;
|
||||||
console.log('VAULT SERVER READY');
|
console.log('VAULT SERVER READY');
|
||||||
} else if (initError) {
|
} else if (initError) {
|
||||||
// If this is happening, run `export VAULT_LICENSE_PATH=/Users/username/license.hclic`
|
|
||||||
// to your valid local vault license filepath, or use OSS Vault
|
|
||||||
console.log('VAULT SERVER START FAILED');
|
console.log('VAULT SERVER START FAILED');
|
||||||
|
console.log(
|
||||||
|
'If this is happening, run `export VAULT_LICENSE_PATH=/Users/username/license.hclic` to your valid local vault license filepath, or use OSS Vault'
|
||||||
|
);
|
||||||
process.exit(1);
|
process.exit(1);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
|
@ -332,7 +332,7 @@ module('Acceptance | secrets/secret/create', function(hooks) {
|
||||||
await editPage.visitEdit({ backend, id: 'secret' });
|
await editPage.visitEdit({ backend, id: 'secret' });
|
||||||
assert.notOk(editPage.hasMetadataFields, 'hides the metadata form');
|
assert.notOk(editPage.hasMetadataFields, 'hides the metadata form');
|
||||||
await editPage.editSecret('bar', 'baz');
|
await editPage.editSecret('bar', 'baz');
|
||||||
|
await settled();
|
||||||
assert.equal(currentRouteName(), 'vault.cluster.secrets.backend.show', 'redirects to the show page');
|
assert.equal(currentRouteName(), 'vault.cluster.secrets.backend.show', 'redirects to the show page');
|
||||||
assert.ok(showPage.editIsPresent, 'shows the edit button');
|
assert.ok(showPage.editIsPresent, 'shows the edit button');
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue