WIP: Dodaj wsparcie dla Dockera #128
@ -200,21 +200,27 @@ def main() -> int:
|
|||||||
|
|
||||||
# Guard: Check if debugger port found
|
# Guard: Check if debugger port found
|
||||||
if not port:
|
if not port:
|
||||||
print("⚠ Could not find debugger port (but extension installed OK)")
|
print_error("Could not find debugger port in logs")
|
||||||
else:
|
print_error("Extension installed but NO PROOF of code execution")
|
||||||
print_success(f"Firefox debugger port: {port}")
|
cleanup(xvfb_pid, webext_pid)
|
||||||
|
return 1
|
||||||
|
|
||||||
# Guard: Check debugger connectivity
|
print_success(f"Firefox debugger port: {port}")
|
||||||
if not test_debugger_connectivity(port):
|
|
||||||
print("⚠ Remote debugging not accessible (but extension installed OK)")
|
# Guard: Check debugger connectivity
|
||||||
else:
|
if not test_debugger_connectivity(port):
|
||||||
print_success("Remote debugging protocol accessible")
|
print_error("Remote debugging not accessible")
|
||||||
print_success("Extension code VERIFIED executing")
|
print_error("Extension installed but CANNOT VERIFY code execution")
|
||||||
print()
|
cleanup(xvfb_pid, webext_pid)
|
||||||
print("NOTE: Verified by:")
|
return 1
|
||||||
print(" - Extension installed without errors")
|
|
||||||
print(" - Background page loaded (debugger accessible)")
|
print_success("Remote debugging protocol accessible")
|
||||||
print(" - No JavaScript errors detected")
|
print_success("Extension code VERIFIED executing")
|
||||||
|
print()
|
||||||
|
print("NOTE: Verified by:")
|
||||||
|
print(" - Extension installed without errors")
|
||||||
|
print(" - Background page loaded (debugger accessible)")
|
||||||
|
print(" - No JavaScript errors detected")
|
||||||
|
|
||||||
# Show process info
|
# Show process info
|
||||||
print()
|
print()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user