Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
drivera258 committed Feb 14, 2025
1 parent f460dfd commit b0282a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/tests/integration/components/database-role-edit-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,11 @@ module('Integration | Component | database-role-edit', function (hooks) {

await render(hbs`<DatabaseRoleEdit @model={{this.modelStatic}} @mode="create"/>`);
await fillIn('[data-test-ttl-value="Rotation period"]', '2');
await click('[data-test-input="skip_import_rotation"]');
await click('[data-test-input="skip_initial_rotation"]');
await click('[data-test-secret-save]');

await render(hbs`<DatabaseRoleEdit @model={{this.modelStatic}} @mode="show"/>`);
assert.dom('[data-test-value-div="Skip import rotation"]').containsText('Yes');
assert.dom('[data-test-value-div="Skip initial rotation"]').containsText('Yes');
});

test('it should show Get credentials button when a user has the correct policy', async function (assert) {
Expand Down

0 comments on commit b0282a9

Please sign in to comment.