修改完成

This commit is contained in:
2026-07-21 07:53:03 +08:00
parent 01d246c47b
commit ff60119277
172 changed files with 7982 additions and 2999 deletions
+2 -2
View File
@@ -101,7 +101,7 @@ const run = async () => {
if ((await valueOf(send, "document.querySelectorAll('.add-dialog .app-button').length")) !== 3) {
throw new Error('G01 add dialog must keep search, invite, and create visible together')
}
await valueOf(send, "document.querySelector('.dialog-close').click()")
await valueOf(send, "document.querySelector('.add-dialog__close').click()")
await waitFor(send, "!document.querySelector('.add-dialog-layer')", 'G01 add dialog did not close')
await valueOf(send, "document.querySelector('.current-slip').click()")
@@ -192,7 +192,7 @@ const run = async () => {
if (scrollTopBeforeDialog <= 0) throw new Error('G01 list must be scrolled before testing position preservation')
await valueOf(send, "document.querySelector('.create-action').click()")
await waitFor(send, "Boolean(document.querySelector('.add-dialog-layer'))", 'G01 add dialog did not open over the independent list')
await valueOf(send, "document.querySelector('.dialog-close').click()")
await valueOf(send, "document.querySelector('.add-dialog__close').click()")
await waitFor(send, "!document.querySelector('.add-dialog-layer')", 'G01 add dialog did not close over the independent list')
const scrollTopAfterDialog = await valueOf(send, readListScrollTop)
if (Math.abs(scrollTopAfterDialog - scrollTopBeforeDialog) > 1) {