fix enterprise routing assertion (#6495)
This commit is contained in:
parent
63705661b4
commit
bd209a77ba
|
@ -13,7 +13,7 @@ const disableReplication = async (type, assert) => {
|
||||||
await click('[data-test-disable-replication] button');
|
await click('[data-test-disable-replication] button');
|
||||||
await withFlash(click('[data-test-confirm-button]'), () => {
|
await withFlash(click('[data-test-confirm-button]'), () => {
|
||||||
if (assert) {
|
if (assert) {
|
||||||
assert.equal(currentURL(), `/vault/replication/${type}/manage`, 'redirects to the replication page');
|
assert.equal(currentURL(), `/vault/replication/${type}`, 'redirects to the replication page');
|
||||||
assert.equal(
|
assert.equal(
|
||||||
// TODO better test selectors for flash messages
|
// TODO better test selectors for flash messages
|
||||||
find('[data-test-flash-message-body]').textContent.trim(),
|
find('[data-test-flash-message-body]').textContent.trim(),
|
||||||
|
|
Loading…
Reference in a new issue