UI - ent fixes (#5430)

* re-add performancestandycode for health api call

* update debounce timeout for namespace input on the auth page

* re-fetch cluster model on successful init

* 500ms for the debounce

* swap auth methods after successful api call so that the auth box doesn't jump around

* move list capability fetch to namespace component and don't use computed queryRecord to fetch it

* convert ed models to JSON so that they're unaffected by store unloading

* serialize with the id for the auth method models

* speed tests back up with different polling while loop

* login flash isn't in the same run loop so no longer needs withFlash
This commit is contained in:
Matthew Irish
2018-10-02 10:05:34 -05:00
committed by GitHub
parent 7e610e6227
commit eb06ff516b
12 changed files with 48 additions and 18 deletions

View File

@@ -155,7 +155,7 @@ module('Integration | Component | auth form', function(hooks) {
server.shutdown();
});
test('it calls authorize with the correct path', async function(assert) {
test('it calls authenticate with the correct path', async function(assert) {
this.owner.register('service:auth', workingAuthService);
this.auth = this.owner.lookup('service:auth');
let authSpy = sinon.spy(this.get('auth'), 'authenticate');