修复 paymentShell 测试断言,匹配移除 Matic 后的新文案
Tested: npm run test:business (20/20)
This commit is contained in:
@@ -74,9 +74,9 @@ export function runTests() {
|
|||||||
"Binance extension binding must show a WalletConnect fallback hint for payment stability",
|
"Binance extension binding must show a WalletConnect fallback hint for payment stability",
|
||||||
);
|
);
|
||||||
assert(
|
assert(
|
||||||
accountCenterSource.includes("钱包里需要少量 Polygon POL/MATIC 作为 gas 手续费") &&
|
accountCenterSource.includes("钱包里需要少量 POL 作为 gas 手续费") &&
|
||||||
accountCenterSource.includes("只有 USDC 可能无法完成授权或支付"),
|
accountCenterSource.includes("只有 USDC 可能无法完成授权或支付"),
|
||||||
"payment wallet tab must warn users that Polygon POL/MATIC gas is required in addition to USDC",
|
"payment wallet tab must warn users that Polygon POL gas is required in addition to USDC",
|
||||||
);
|
);
|
||||||
assert(
|
assert(
|
||||||
!appAnalyticsSource.includes('NEXT_PUBLIC_POLYWEATHER_APP_ANALYTICS === "true"') &&
|
!appAnalyticsSource.includes('NEXT_PUBLIC_POLYWEATHER_APP_ANALYTICS === "true"') &&
|
||||||
|
|||||||
Reference in New Issue
Block a user