Fix replication test failure (#16380)

* fix

* fix
This commit is contained in:
Angel Garbarino 2022-07-20 12:24:15 -07:00 committed by GitHub
parent 81b702b918
commit c6b659c060
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -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
@ -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"]');