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:
claire bontempo 2021-07-15 12:54:42 -07:00 committed by GitHub
parent 288bc28127
commit 30f9bbd9f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View File

@ -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);
} }
}); });

View File

@ -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');
}); });