UI: Fix vault enterprise replication test failure (#30110)

* ui: fix vault enterprise replication test failure

* use hasTextContaining instead of includesText
This commit is contained in:
Shannon Roberts (Beagin) 2025-03-28 16:51:12 -07:00 committed by GitHub
parent 4941aa84f8
commit 0ea9fa19c4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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