End-to-end headless smoke test: register -> login -> fetch worlds #39
@@ -2,7 +2,7 @@ extends SceneTree
|
|||||||
## End-to-end headless smoke test: register -> login -> fetch worlds list.
|
## End-to-end headless smoke test: register -> login -> fetch worlds list.
|
||||||
##
|
##
|
||||||
## Run with:
|
## Run with:
|
||||||
## godot --headless --path . --quit --script res://scripts/smoke_test.gd
|
## godot --headless --path . --script res://scripts/smoke_test_e2e.gd
|
||||||
##
|
##
|
||||||
## Requires the backend to be running (default base URL
|
## Requires the backend to be running (default base URL
|
||||||
## `application/agp/api_base_url` -> http://127.0.0.1:8000, overridable via
|
## `application/agp/api_base_url` -> http://127.0.0.1:8000, overridable via
|
||||||
@@ -63,7 +63,7 @@ func _run() -> void:
|
|||||||
printerr("\nERROR: Backend is not reachable at the configured base URL.")
|
printerr("\nERROR: Backend is not reachable at the configured base URL.")
|
||||||
printerr(" detail: %s" % health.detail)
|
printerr(" detail: %s" % health.detail)
|
||||||
printerr(" Start the backend first (see backend/README), then re-run:")
|
printerr(" Start the backend first (see backend/README), then re-run:")
|
||||||
printerr(" godot --headless --path . --quit --script res://scripts/smoke_test.gd")
|
printerr(" godot --headless --path . --script res://scripts/smoke_test_e2e.gd")
|
||||||
_summarize(results)
|
_summarize(results)
|
||||||
quit(1)
|
quit(1)
|
||||||
return
|
return
|
||||||
Reference in New Issue
Block a user