chore: 🤖 improve scopes/new titling - icu-6714 (#1407)

* chore: 🤖 improve scopes/new titling - icu-6714

✅ Closes: icu-6714

* chore: 🤖 improve new scope link text
This commit is contained in:
Randall Morey authored and GitHub committed 2022-11-03 18:37:42 -07:00
1 parent e8af948dc1
commit d32a854a94
16 files changed
+105 -49

No files matched your search

@@ -95,7 +95,7 @@ module('Acceptance | authentication', function (hooks) {
changePasswordURL = `/account/change-password`;
orgsURL = `/scopes/global/scopes`;
orgEditURL = `/scopes/${orgScopeID}/edit`;
newProjectURL = `/scopes/${orgScopeID}/new`;
newProjectURL = `/scopes/${orgScopeID}/scopes/new`;
projectsURL = `/scopes/${orgScopeID}/scopes`;
usersURL = `/scopes/${orgScopeID}/users`;
groupsURL = `/scopes/${orgScopeID}/groups`;
@@ -10,7 +10,7 @@ module('Acceptance | onboarding | choose-path', function (hooks) {
const urls = {
choosePath: '/onboarding/quick-setup/choose-path',
newOrg: '/scopes/global/new',
newOrg: '/scopes/global/scopes/new',
createResources: '/onboarding/quick-setup/create-resources',
};
+2 -2
View File
@@ -59,12 +59,12 @@ module('Acceptance | scopes', function (hooks) {
});
// Generate route URLs for resources
urls.globalScope = `/scopes/global/scopes`;
urls.newOrgScope = `/scopes/global/new`;
urls.newOrgScope = `/scopes/global/scopes/new`;
urls.orgScope = `/scopes/${instances.scopes.org.id}/scopes`;
urls.org2Scope = `/scopes/${instances.scopes.org2.id}/scopes`;
urls.orgScopeEdit = `/scopes/${instances.scopes.org.id}/edit`;
urls.org2ScopeEdit = `/scopes/${instances.scopes.org2.id}/edit`;
urls.newProjectScope = `/scopes/${instances.scopes.org.id}/new`;
urls.newProjectScope = `/scopes/${instances.scopes.org.id}/scopes/new`;
urls.projectScope = `/scopes/${instances.scopes.project.id}`;
urls.project2Scope = `/scopes/${instances.scopes.project2.id}`;
urls.projectScopeEdit = `/scopes/${instances.scopes.project.id}/edit`;
@@ -0,0 +1,12 @@
import { module, test } from 'qunit';
import { setupTest } from 'ember-qunit';
module('Unit | Controller | scopes/scope/scopes/new', function (hooks) {
setupTest(hooks);
// TODO: Replace this with your real tests.
test('it exists', function (assert) {
let controller = this.owner.lookup('controller:scopes/scope/scopes/new');
assert.ok(controller);
});
});
@@ -1,11 +1,11 @@
import { module, test } from 'qunit';
import { setupTest } from 'ember-qunit';
module('Unit | Route | scopes/scope/new', function (hooks) {
module('Unit | Route | scopes/scope/scopes/new', function (hooks) {
setupTest(hooks);
test('it exists', function (assert) {
let route = this.owner.lookup('route:scopes/scope/new');
let route = this.owner.lookup('route:scopes/scope/scopes/new');
assert.ok(route);
});
});