mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-01 19:17:58 +00:00
UI/Wrong sentinel error message for auth methods (#14551)
* priortize adapter error over model error * glimmerize message-error component * message error tweaks * fix glimmerize * fix some tests * change error handling for mount backend form * throw API error for secret engine not mounting * fix tests" * fix tests * cleanup error handling for secret engine mounts * fix test selector * add changelog * STOP BEING FLAKY
This commit is contained in:
@@ -17,11 +17,10 @@ module('Integration | Component | ttl picker', function (hooks) {
|
||||
|
||||
let callCount = this.changeSpy.callCount;
|
||||
await fillIn('[data-test-ttl-value]', 'foo');
|
||||
assert.equal(this.changeSpy.callCount, callCount, "it did't call onChange again");
|
||||
assert.equal(this.changeSpy.callCount, callCount, "it didn't call onChange again");
|
||||
assert.dom('[data-test-ttl-error]').includesText('Error', 'renders the error box');
|
||||
|
||||
await fillIn('[data-test-ttl-value]', '33');
|
||||
assert.dom('[data-test-ttl-error]').doesNotIncludeText('Error', 'removes the error box');
|
||||
assert.dom('[data-test-ttl-error]').doesNotExist('removes the error box');
|
||||
});
|
||||
|
||||
test('it shows 30s for invalid duration initialValue input', async function (assert) {
|
||||
|
||||
Reference in New Issue
Block a user