fix enterprise routing assertion (#6495)

This commit is contained in:
Matthew Irish 2019-03-28 16:09:35 -05:00 committed by GitHub
parent 63705661b4
commit bd209a77ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ const disableReplication = async (type, assert) => {
await click('[data-test-disable-replication] button');
await withFlash(click('[data-test-confirm-button]'), () => {
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(
// TODO better test selectors for flash messages
find('[data-test-flash-message-body]').textContent.trim(),