Fix submit verification: wait for modal detach instead of fixed sleep
Replace fixed 2.5s sleep + single check with event-driven waitForSelector (state: 'detached', timeout: 8s). If modal persists, check for success indicators (success text, Submit button gone) before marking incomplete. Fixes false 'incomplete' status when LinkedIn shows post-submit dialog. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
6
.gitignore
vendored
6
.gitignore
vendored
@@ -16,3 +16,9 @@ config/search_config.json
|
||||
|
||||
# Templates are committed instead (see config/*.example.json)
|
||||
data/*.lock
|
||||
test_dry_run.mjs
|
||||
test_full_flow.mjs
|
||||
test_modal_diag.mjs
|
||||
test_labels.mjs
|
||||
test_buttons.mjs
|
||||
test_submit.mjs
|
||||
|
||||
Reference in New Issue
Block a user