test(upserver): 归档存档迁移与玩法闭环回归工具
This commit is contained in:
8
CodexOutput/upserver/uloop-set-invalid-id.cs
Normal file
8
CodexOutput/upserver/uloop-set-invalid-id.cs
Normal file
@@ -0,0 +1,8 @@
|
||||
if (!UnityEngine.Application.isPlaying) return "Refused: not playing";
|
||||
var target = UnityEngine.GameObject.Find("PFLoginAct(Clone)/CustomId/Dialog/ContentArea/InputField (Legacy)");
|
||||
if (target == null || !target.activeInHierarchy) return "Refused: active login input not found";
|
||||
var field = target.GetComponent<UnityEngine.UI.InputField>();
|
||||
if (field == null) return "Refused: wrong component";
|
||||
field.text = "not-an-id";
|
||||
return "Active login input set to not-an-id; no submit";
|
||||
|
||||
Reference in New Issue
Block a user