test: add end-to-end smoke test for world chat send and sound toggle controls
checkpoint / checkpoint (push) Successful in 6m6s
checkpoint / checkpoint (push) Successful in 6m6s
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user