Skip to content

High-performance browser automation bridge and multi-instance orchestrator with advanced stealth injection and real-time dashboard.

fix(e2e): use correct selector #single-file in upload test

Bosch502507729cd6
diff --git a/tests/e2e/scenarios/10-upload.sh b/tests/e2e/scenarios/10-upload.sh
index 20903d91..fa7e394b 100755
--- a/tests/e2e/scenarios/10-upload.sh
+++ b/tests/e2e/scenarios/10-upload.sh
@@ -39,7 +39,7 @@ sleep 1
# 1x1 transparent PNG
PNG_DATA="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNk+M9QDwADhgGAWjR9awAAAABJRU5ErkJggg=="
-pt_post "/tabs/${TAB_ID}/upload" -d "{\"selector\":\"#image-upload\",\"files\":[\"${PNG_DATA}\"]}"
+pt_post "/tabs/${TAB_ID}/upload" -d "{\"selector\":\"#single-file\",\"files\":[\"${PNG_DATA}\"]}"
assert_ok "tab upload"
end_test