test: bound reused price fixture names

This commit is contained in:
2026-09-03 21:00:11 +08:00
parent 47a043324f
commit 0ad8bb66cc
2 changed files with 7 additions and 1 deletions
@@ -12,5 +12,7 @@ test('price-book acceptance is portable and reuses a deployed active source by d
assert.match(source, /activeBefore\[0\]/)
assert.match(source, /requestBinary\('GET', `\$\{PRICE_BOOK_PATH\}\/\$\{encodeURIComponent\(activeFixture\.id\)\}\/source`\)/)
assert.match(source, /复用当前生效价格源作为本轮隔离上传夹具/)
assert.match(source, /sourceName = 'active-price-book-fixture\.xlsx'/)
assert.doesNotMatch(source, /sourceName = activeFixture\.originalFileName/)
assert.doesNotMatch(source, /WXWork|Users\\BY-OY|DEFAULT_PRICE_BOOK_FILE/)
})