Skip to content

Commit

Permalink
UI/Clarifies error message for exit test process (hashicorp#12094)
Browse files Browse the repository at this point in the history
* adds console log to elaborate on error message

* fixes browserstack failure
  • Loading branch information
hellobontempo authored and jartek committed Sep 11, 2021
1 parent 59b8980 commit 54ea7e1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions ui/scripts/start-vault.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,10 @@ async function processLines(input, eachLine = () => {}) {
written = true;
console.log('VAULT SERVER READY');
} 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(
'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);
}
});
Expand Down
2 changes: 1 addition & 1 deletion ui/tests/acceptance/secrets/backend/kv/secret-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ module('Acceptance | secrets/secret/create', function(hooks) {
await editPage.visitEdit({ backend, id: 'secret' });
assert.notOk(editPage.hasMetadataFields, 'hides the metadata form');
await editPage.editSecret('bar', 'baz');

await settled();
assert.equal(currentRouteName(), 'vault.cluster.secrets.backend.show', 'redirects to the show page');
assert.ok(showPage.editIsPresent, 'shows the edit button');
});
Expand Down

0 comments on commit 54ea7e1

Please sign in to comment.