+2
-2
@@ -64,7 +64,7 @@ func TestModuleNavigation_按账号保存稳定列表状态且安全回退(t *te
|
||||
jsSource := string(js)
|
||||
for _, want := range []string{
|
||||
"var MODULE_QUERY_KEYS = {",
|
||||
"\"/shopee\": [\"goods_id\", \"shop_name\", \"status\", \"shop\", \"image\", \"page\"]",
|
||||
"\"/shopee\": [\"goods_id\", \"shop_name\", \"status\", \"shop\", \"image\", \"deleted\", \"page\"]",
|
||||
"\"/syb\": [\"order_no\", \"shop\", \"stage\", \"page\", \"date_from\", \"date_to\"]",
|
||||
"var MODULE_STATE_PREFIX = \"cmautobuy:module-state:\"",
|
||||
"parsed.origin !== window.location.origin || parsed.pathname !== moduleRoot",
|
||||
@@ -275,7 +275,7 @@ func TestShopeePage_批量创建Pdd采集任务入口(t *testing.T) {
|
||||
page := string(content)
|
||||
for _, want := range []string{
|
||||
`action="/shopee/collect-batch"`, `data-modal-open="shopee-collect-modal"`,
|
||||
`data-collect-form="shopee-collect-form"`, `form="shopee-collect-form"`,
|
||||
`data-collect-form="shopee-bulk-form"`, `form="shopee-bulk-form"`,
|
||||
`<label for="shopee-collect-client">执行客户端</label>`,
|
||||
`不指定(任意客户端可领取)`, `.AssignableClients`, `data-collect-submit`,
|
||||
} {
|
||||
|
||||
Reference in New Issue
Block a user