Skip to content

Commit

Permalink
remove title assertions because no longer reliant on isNew logic
Browse files Browse the repository at this point in the history
  • Loading branch information
hellobontempo committed Jul 23, 2024
1 parent 608b26e commit 405e4a2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions ui/tests/integration/components/oidc/key-form-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ module('Integration | Component | oidc/key-form', function (hooks) {
/>
`);

assert.dom('[data-test-oidc-key-title]').hasText('Create Key', 'Form title renders correct text');
assert.dom(SELECTORS.keySaveButton).hasText('Create', 'Save button has correct text');
assert.dom('[data-test-input="algorithm"]').hasValue('RS256', 'default algorithm is correct');
assert.strictEqual(findAll('[data-test-field]').length, 4, 'renders all input fields');
Expand Down Expand Up @@ -94,7 +93,6 @@ module('Integration | Component | oidc/key-form', function (hooks) {
/>
`);

assert.dom('[data-test-oidc-key-title]').hasText('Edit Key', 'Title renders correct text');
assert.dom(SELECTORS.keySaveButton).hasText('Update', 'Save button has correct text');
assert.dom('[data-test-input="name"]').isDisabled('Name input is disabled when editing');
assert.dom('[data-test-input="name"]').hasValue('test-key', 'Name input is populated with model value');
Expand Down

0 comments on commit 405e4a2

Please sign in to comment.