From 0ea9fa19c427d7433d8fb3c84f3ee6fea611a2f8 Mon Sep 17 00:00:00 2001 From: "Shannon Roberts (Beagin)" Date: Fri, 28 Mar 2025 16:51:12 -0700 Subject: [PATCH] UI: Fix vault enterprise replication test failure (#30110) * ui: fix vault enterprise replication test failure * use hasTextContaining instead of includesText --- ui/tests/acceptance/enterprise-replication-test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/tests/acceptance/enterprise-replication-test.js b/ui/tests/acceptance/enterprise-replication-test.js index 8998ee118e..99e9ed2478 100644 --- a/ui/tests/acceptance/enterprise-replication-test.js +++ b/ui/tests/acceptance/enterprise-replication-test.js @@ -109,7 +109,7 @@ module('Acceptance | Enterprise | replication', function (hooks) { assert.dom('[data-test-mount-config-mode]').includesText(mode, 'show page renders the correct mode'); assert .dom('[data-test-mount-config-paths]') - .includesText(`${mountPath}/`, 'show page renders the correct mount path'); + .hasTextContaining(`${mountPath}`, 'show page renders the correct mount path'); // delete config by choosing "no filter" in the edit screen await click('[data-test-replication-link="edit-mount-config"]');