Skip to content

Commit

Permalink
Fix replication test failure (#16380)
Browse files Browse the repository at this point in the history
* fix

* fix
  • Loading branch information
Monkeychip authored Jul 20, 2022
1 parent fa91af9 commit 89e8061
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ui/tests/acceptance/enterprise-replication-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const disableReplication = async (type, assert) => {
await click('[data-test-disable-replication] button');

const typeDisplay = type === 'dr' ? 'Disaster Recovery' : 'Performance';
await fillIn('[data-test-confirmation-modal-input="disable"]', typeDisplay);
await fillIn('[data-test-confirmation-modal-input="Disable Replication?"]', typeDisplay);
await click('[data-test-confirm-button]');
await settled(); // eslint-disable-line

Expand Down Expand Up @@ -367,9 +367,9 @@ module('Acceptance | Enterprise | replication', function (hooks) {
await click('[data-test-demote-replication] [data-test-replication-action-trigger]');

// enter confirmation text
await fillIn('[data-test-confirmation-modal-input="demote"]', 'Performance');
await fillIn('[data-test-confirmation-modal-input="Demote to secondary?"]', 'Performance');
// Click confirm button
await click('[data-test-confirm-button="demote"]');
await click('[data-test-confirm-button="Demote to secondary?"]');

await click('[data-test-replication-link="details"]');

Expand Down

0 comments on commit 89e8061

Please sign in to comment.