parent
81b702b918
commit
c6b659c060
|
@ -21,7 +21,7 @@ const disableReplication = async (type, assert) => {
|
||||||
await click('[data-test-disable-replication] button');
|
await click('[data-test-disable-replication] button');
|
||||||
|
|
||||||
const typeDisplay = type === 'dr' ? 'Disaster Recovery' : 'Performance';
|
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 click('[data-test-confirm-button]');
|
||||||
await settled(); // eslint-disable-line
|
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]');
|
await click('[data-test-demote-replication] [data-test-replication-action-trigger]');
|
||||||
|
|
||||||
// enter confirmation text
|
// 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
|
// 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"]');
|
await click('[data-test-replication-link="details"]');
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue