ui: Upgrades ember and related to latest 3.20 LTS release (#8761)

* ui: Upgrades ember and related to latest 3.20 LTS release

* Delete ember-portal related tests

As we are running inline and block component tests in the same test an
error is raised as we are adding the same named portal twice.

Tests were deleted here as they weren't really testing anything anyway
This commit is contained in:
John Cowen 2020-09-29 16:59:35 +01:00 committed by GitHub
parent a9c3b53604
commit d27475b239
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 294 additions and 306 deletions

View File

@ -69,7 +69,7 @@
"dart-sass": "^1.25.0", "dart-sass": "^1.25.0",
"ember-auto-import": "^1.5.3", "ember-auto-import": "^1.5.3",
"ember-changeset-validations": "^3.0.2", "ember-changeset-validations": "^3.0.2",
"ember-cli": "~3.16.0", "ember-cli": "~3.20.2",
"ember-cli-app-version": "^3.2.0", "ember-cli-app-version": "^3.2.0",
"ember-cli-autoprefixer": "^0.8.1", "ember-cli-autoprefixer": "^0.8.1",
"ember-cli-babel": "^7.17.2", "ember-cli-babel": "^7.17.2",
@ -89,7 +89,7 @@
"ember-collection": "^1.0.0-alpha.9", "ember-collection": "^1.0.0-alpha.9",
"ember-composable-helpers": "~4.0.0", "ember-composable-helpers": "~4.0.0",
"ember-computed-style": "^0.3.0", "ember-computed-style": "^0.3.0",
"ember-data": "~3.16.0", "ember-data": "~3.20.4",
"ember-data-model-fragments": "5.0.0-beta.0", "ember-data-model-fragments": "5.0.0-beta.0",
"ember-exam": "^4.0.0", "ember-exam": "^4.0.0",
"ember-export-application-global": "^2.0.1", "ember-export-application-global": "^2.0.1",
@ -99,7 +99,7 @@
"ember-math-helpers": "^2.4.0", "ember-math-helpers": "^2.4.0",
"ember-maybe-import-regenerator": "^0.1.6", "ember-maybe-import-regenerator": "^0.1.6",
"ember-on-helper": "^0.1.0", "ember-on-helper": "^0.1.0",
"ember-page-title": "^5.1.0", "ember-page-title": "^5.2.3",
"ember-power-select": "^4.0.3", "ember-power-select": "^4.0.3",
"ember-power-select-with-create": "^0.8.0", "ember-power-select-with-create": "^0.8.0",
"ember-qunit": "^4.6.0", "ember-qunit": "^4.6.0",
@ -108,7 +108,7 @@
"ember-resolver": "^8.0.0", "ember-resolver": "^8.0.0",
"ember-router-helpers": "^0.4.0", "ember-router-helpers": "^0.4.0",
"ember-sinon-qunit": "5.0.0", "ember-sinon-qunit": "5.0.0",
"ember-source": "~3.16.0", "ember-source": "~3.20.5",
"ember-stargate": "^0.2.0", "ember-stargate": "^0.2.0",
"ember-string-fns": "^1.4.0", "ember-string-fns": "^1.4.0",
"ember-test-selectors": "^4.0.0", "ember-test-selectors": "^4.0.0",

View File

@ -1,32 +0,0 @@
import { module, test } from 'qunit';
import { setupRenderingTest } from 'ember-qunit';
import { render, find } from '@ember/test-helpers';
import hbs from 'htmlbars-inline-precompile';
module('Integration | Component | modal dialog', function(hooks) {
setupRenderingTest(hooks);
test('it renders', async function(assert) {
// Set any properties with this.set('myProperty', 'value');
// Handle any actions with this.on('myAction', function(val) { ... });
await render(hbs`<ModalLayer /><ModalDialog />`);
assert.ok(
find('*')
.textContent.trim()
.indexOf('Close') !== -1
);
// Template block usage:
await render(hbs`
<ModalLayer /><ModalDialog></ModalDialog>
`);
assert.ok(
find('*')
.textContent.trim()
.indexOf('Close') !== -1
);
});
});

View File

@ -1,24 +0,0 @@
import { module, test } from 'qunit';
import { setupRenderingTest } from 'ember-qunit';
import { render, findAll } from '@ember/test-helpers';
import hbs from 'htmlbars-inline-precompile';
module('Integration | Component | modal layer', function(hooks) {
setupRenderingTest(hooks);
test('it renders', async function(assert) {
// Set any properties with this.set('myProperty', 'value');
// Handle any actions with this.on('myAction', function(val) { ... });
await render(hbs`{{modal-layer}}`);
assert.ok(findAll('#modal_close').length === 1);
// Template block usage:
await render(hbs`
{{#modal-layer}}
{{/modal-layer}}
`);
assert.ok(findAll('#modal_close').length === 1);
});
});

File diff suppressed because it is too large Load Diff