test: add end-to-end smoke test for world chat send and sound toggle controls
checkpoint / checkpoint (push) Successful in 6m6s

This commit is contained in:
2026-09-19 13:39:13 +00:00
parent 7abf37ea81
commit 034a6901a9
+2 -1
View File
@@ -135,7 +135,8 @@ func _run() -> void:
# 5. Verify world chat API send & retrieve (if backend reachable)
var api_client = root.get_node_or_null("ApiClient")
if api_client != null:
var reg_res = await api_client.register("chat_u_%d" % int(Time.get_unix_time_from_system()), "testpass123", "chat_%d@test.com" % int(Time.get_unix_time_from_system()), true)
var ts := int(Time.get_unix_time_from_system())
var reg_res = await api_client.register("chat_u_%d" % ts, "chat_%d@test.com" % ts, "testpass123", true)
if reg_res.ok:
var world_res = await api_client.create_world("ChatTestWorld_%d" % int(Time.get_unix_time_from_system()), "Chat test world")
if world_res.ok and world_res.data is Dictionary: