refactor: 💡 remove rose table references (#2589)
✅ Closes: https://hashicorp.atlassian.net/browse/ICU-15644
This commit is contained in:
1 parent
96b9a20844
commit
2f8a53e3ea
38 files changed
+127
-594
No files matched your search
@@ -9,6 +9,7 @@ import { setupApplicationTest } from 'admin/tests/helpers';
|
||||
import setupMirage from 'ember-cli-mirage/test-support/setup-mirage';
|
||||
import { setupIndexedDb } from 'api/test-support/helpers/indexed-db';
|
||||
import { authenticateSession } from 'ember-simple-auth/test-support';
|
||||
import * as commonSelectors from 'admin/tests/helpers/selectors';
|
||||
|
||||
module('Acceptance | users | list', function (hooks) {
|
||||
setupApplicationTest(hooks);
|
||||
@@ -110,7 +111,8 @@ module('Acceptance | users | list', function (hooks) {
|
||||
|
||||
await click(`[href="${urls.users}"]`);
|
||||
|
||||
assert.dom(`.rose-table [href="${urls.user1}"]`).doesNotExist();
|
||||
assert.dom('.hds-application-state__body-text').isVisible();
|
||||
assert.dom(commonSelectors.TABLE_RESOURCE_LINK(urls.user1)).doesNotExist();
|
||||
});
|
||||
|
||||
test('user can navigate to users tab with only list action', async function (assert) {
|
||||
|
||||
@@ -10,6 +10,7 @@ import setupMirage from 'ember-cli-mirage/test-support/setup-mirage';
|
||||
import { setupIndexedDb } from 'api/test-support/helpers/indexed-db';
|
||||
import a11yAudit from 'ember-a11y-testing/test-support/audit';
|
||||
import { authenticateSession } from 'ember-simple-auth/test-support';
|
||||
import * as commonSelectors from 'admin/tests/helpers/selectors';
|
||||
|
||||
module('Acceptance | users | read', function (hooks) {
|
||||
setupApplicationTest(hooks);
|
||||
@@ -71,7 +72,7 @@ module('Acceptance | users | read', function (hooks) {
|
||||
|
||||
await click(`[href="${urls.users}"]`);
|
||||
|
||||
assert.dom(`.rose-table [href="${urls.user}"]`).doesNotExist();
|
||||
assert.dom(commonSelectors.TABLE_RESOURCE_LINK(urls.user)).doesNotExist();
|
||||
});
|
||||
|
||||
test('users can link to docs page for users', async function (assert) {
|
||||
@@ -86,7 +87,7 @@ module('Acceptance | users | read', function (hooks) {
|
||||
.exists();
|
||||
});
|
||||
|
||||
test('users can navigate to user and incorrect url autocorrects', async function (assert) {
|
||||
test('users can navigate to user and incorrect url auto-corrects', async function (assert) {
|
||||
const incorrectUrl = `/scopes/global/users/${instances.user.id}`;
|
||||
|
||||
await visit(incorrectUrl);
|
||||
|
||||
Reference in new issue
Block a user