Icu 15477 refactor credentials update test selectors (#2866)
* Refactor credential-store/credentials update test selectors
This commit is contained in:
1 parent
5794cfc7b2
commit
4020f2d4e2
8 files changed
+292
-206
No files matched your search
@@ -146,9 +146,7 @@ module('Acceptance | targets | host-sources', function (hooks) {
|
||||
|
||||
await click(`[href="${urls.targetHostSources}"]`);
|
||||
|
||||
assert
|
||||
.dom(`tbody tr ${commonSelectors.DELETE_BTN}`)
|
||||
.doesNotExist();
|
||||
assert.dom(`tbody tr ${commonSelectors.DELETE_BTN}`).doesNotExist();
|
||||
});
|
||||
|
||||
test('removing a target host set which errors displays error messages', async function (assert) {
|
||||
|
||||
@@ -366,9 +366,7 @@ module(
|
||||
(item) => item !== 'remove-credential-sources',
|
||||
);
|
||||
await visit(urls.injectedApplicationCredentialSources);
|
||||
assert
|
||||
.dom(`tbody tr ${commonSelectors.DELETE_BTN}`)
|
||||
.doesNotExist();
|
||||
assert.dom(`tbody tr ${commonSelectors.DELETE_BTN}`).doesNotExist();
|
||||
});
|
||||
|
||||
test('removing a target credential library which errors displays error messages', async function (assert) {
|
||||
|
||||
Reference in new issue
Block a user