接口开始5%

This commit is contained in:
rain
2026-07-22 17:31:33 +08:00
parent eced3d1e6e
commit 9b0ad62df4
426 changed files with 20111 additions and 28472 deletions
+9
View File
@@ -90,6 +90,15 @@ const run = async () => {
await valueOf(send, "document.querySelector('.search-action').click()")
await waitFor(send, "Boolean(document.querySelector('.search-empty'))", 'G06 empty result state did not render')
// 步骤三:失败关键词必须进入错误态,页面内“重新搜索”要真正再次触发加载,而不是静态摆设。
await openG06(send)
await setInput(send, '.search-input input', '失败')
await valueOf(send, "document.querySelector('.search-action').click()")
await waitFor(send, "Boolean(document.querySelector('.search-error'))", 'G06 search failure state did not render')
await valueOf(send, "document.querySelector('.status-retry').click()")
await waitFor(send, "Boolean(document.querySelector('.app-loading'))", 'G06 retry did not restart loading')
await waitFor(send, "Boolean(document.querySelector('.search-error'))", 'G06 retry did not return the simulated failure state')
await openG06(send, 'invite')
await setInput(send, '.invite-input input', 'BAD-CODE')
await valueOf(send, "document.querySelector('.search-action').click()")