Skip to content

Commit

Permalink
Add new sequence types
Browse files Browse the repository at this point in the history
  • Loading branch information
vontell committed Sep 12, 2024
1 parent 55c6256 commit 1e21f49
Show file tree
Hide file tree
Showing 29 changed files with 1,068 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Assets/InitTestScene638616878683737451.unity
Git LFS file not shown
7 changes: 7 additions & 0 deletions Assets/InitTestScene638616878683737451.unity.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions Assets/InitTestScene638616880316384937.unity
Git LFS file not shown
7 changes: 7 additions & 0 deletions Assets/InitTestScene638616880316384937.unity.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions Assets/InitTestScene638616882788713930.unity
Git LFS file not shown
7 changes: 7 additions & 0 deletions Assets/InitTestScene638616882788713930.unity.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions Assets/InitTestScene638616890455811376.unity
Git LFS file not shown
7 changes: 7 additions & 0 deletions Assets/InitTestScene638616890455811376.unity.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions Assets/InitTestScene638616893144176672.unity
Git LFS file not shown
7 changes: 7 additions & 0 deletions Assets/InitTestScene638616893144176672.unity.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions Assets/RegressionGames/Resources/BotSegments/cv.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"name": "Text Detection: Change Profile",
"sessionId":"becf5dc4b49347bca8f74f61ff9f7d82",
"apiVersion":1,
"keyFrameCriteria":[
{"type":"CVText","apiVersion":7,"transient":false,"data":{"apiVersion":9, "text":"Change Profile", "textMatchingRule":"Contains", "textCaseRule":"Ignore", "withinRect":{"rect":{"x": 900, "y": 110, "width": 350, "height": 50}, "screenSize":{"x": 1656, "y": 724}} }}
],
"botAction":{"type":"InputPlayback","apiVersion":1,"data":{
"apiVersion":1,
"startTime":0.0,
"inputData":{
"apiVersion":1,
"keyboard":[

],
"mouse":[
{"apiVersion":1,"startTime":0.1561712,"screenSize":{"x":1656,"y":724},"position":{"x":800,"y":130},"worldPosition":null,"leftButton":false,"middleButton":false,"rightButton":false,"forwardButton":false,"backButton":false,"scroll":{"x":0,"y":0},"clickedObjectNormalizedPaths":[]},
{"apiVersion":1,"startTime":0.2554217,"screenSize":{"x":1656,"y":724},"position":{"x":800,"y":130},"worldPosition":null,"leftButton":true,"middleButton":false,"rightButton":false,"forwardButton":false,"backButton":false,"scroll":{"x":0,"y":0},"clickedObjectNormalizedPaths":["UI Canvas/UnityLogo","UI Canvas/Profile Button/Text","UI Canvas/LobbyPopup","UI Canvas/Profile Button","UI Canvas/ProfilePopup"]},
{"apiVersion":1,"startTime":0.3890519,"screenSize":{"x":1656,"y":724},"position":{"x":800,"y":130},"worldPosition":null,"leftButton":false,"middleButton":false,"rightButton":false,"forwardButton":false,"backButton":false,"scroll":{"x":0,"y":0},"clickedObjectNormalizedPaths":["UI Canvas/UnityLogo","UI Canvas/Profile Button/Text","UI Canvas/LobbyPopup","UI Canvas/Profile Button","UI Canvas/ProfilePopup"]}
]
}}}
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"name": "Object Detection: Click Exit Game Button",
"sessionId": "becf5dc4b49347bca8f74f61ff9f7d82",
"apiVersion": 1,
"keyFrameCriteria": [],
"botAction":{
"apiVersion":1,
"type":"Mouse_ObjectDetection",
"data": {
"apiVersion":15,
"textQuery": "X in a square",
"actions": [
{"leftButton":false,"middleButton":false,"rightButton":false,"forwardButton":false,"backButton":false,"scroll":{"x":0.0,"y":0.0},"duration":2.0 },
{"leftButton":true,"middleButton":false,"rightButton":false,"forwardButton":false,"backButton":false,"scroll":{"x":0.0,"y":0.0} },
{"leftButton":false,"middleButton":false,"rightButton":false,"forwardButton":false,"backButton":false,"scroll":{"x":0.0,"y":0.0} }
]
}
}
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions Assets/RegressionGames/Resources/BotSegments/explore.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"name": "Monkey Bot",
"sessionId":"ba33a7f3290b4419b3f6f58dfb1e6e60",
"apiVersion":1,
"keyFrameCriteria":[
{"type":"ActionComplete","apiVersion":7,"transient":true,"data":{"apiVersion":11}}
],
"botAction":{"type":"MonkeyBot","apiVersion":1,"data":{
"apiVersion": 5,
"actionInterval": 0.05,
"actionSettings": {
"ApiVersion": 1,
"DisabledActionPaths":[
"Unity.BossRoom.DebugCheats.DebugCheatsManager/DebugCheatsManager.cs/Keyboard.current.slashKey",
"Unity UI/Button/Unity.Multiplayer.Samples.BossRoom.Debug.DebugCheatsManager.GoToPostGame",
"Unity UI/Button/Unity.Multiplayer.Samples.BossRoom.Debug.DebugCheatsManager.HealPlayer",
"Unity UI/Button/Unity.Multiplayer.Samples.BossRoom.Debug.DebugCheatsManager.KillAllEnemies",
"Unity UI/Button/Unity.Multiplayer.Samples.BossRoom.Debug.DebugCheatsManager.KillTarget",
"Unity UI/Button/Unity.Multiplayer.Samples.BossRoom.Debug.DebugCheatsManager.SpawnBoss",
"Unity UI/Button/Unity.Multiplayer.Samples.BossRoom.Debug.DebugCheatsManager.SpawnEnemy",
"Unity UI/Button/Unity.Multiplayer.Samples.BossRoom.Debug.DebugCheatsManager.ToggleDoor",
"Unity UI/Button/Unity.Multiplayer.Samples.BossRoom.Debug.DebugCheatsManager.ToggleGodMode",
"Unity UI/Button/Unity.Multiplayer.Samples.BossRoom.Debug.DebugCheatsManager.ToggleSuperSpeed",
"Unity UI/Button/Unity.Multiplayer.Samples.BossRoom.Debug.DebugCheatsManager.TogglePortals",
"Unity UI/Button/Unity.Multiplayer.Samples.BossRoom.Debug.DebugCheatsManager.ToggleTeleportMode",
"Unity UI/Button/Unity.Multiplayer.Samples.BossRoom.Client.UIQuitPanel.Quit",
"Unity UI/Button/Unity.Multiplayer.Samples.BossRoom.Visual.UISettingsCanvas.OnClickQuitButton",
"Unity UI/Button/BossRoom.Visual.UISettingsCanvas.OnClickSettingsButton",
"Unity UI/Button/QualityButton.SetQualitySettings",
"Unity UI/Input Field/Text Entry/IP Input Field",
"Unity UI/Input Field/Text Entry/JoinCodeInputField",
"Unity UI/Input Field/Text Entry/Port Input Field",
"Unity UI/Input Field/Text Submit/IP Input Field",
"Unity UI/Input Field/Text Submit/JoinCodeInputField",
"Unity UI/Input Field/Text Submit/Port Input Field",
"Unity UI/Button/Unity.Multiplayer.Samples.BossRoom.Visual.ProfileListItemUI.OnDeleteClick",
"Unity UI/Button/Unity.Multiplayer.Samples.BossRoom.Visual.UIProfileSelector.InitializeUI"
],
"ActionProperties": {}
}
}
}
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"name":"Click Exit (CV)",
"description":"Use object detection to click the exit button",
"segments": [
{"type":"Segment", "path":"BotSegments/cv/ClickExitButton.json"}
]
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"name":"Click Change Profile (OCR)",
"description":"Use OCR to click the profile button",
"segments": [
{"type":"Segment", "path":"BotSegments/cv/ClickChangeProfile.json"}
]
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"name":"Stability Test - Chaos Monkey",
"description":"Randomly perform specific actions to find bugs",
"segments": [
{"type":"Segment", "path":"BotSegments/explore/MonkeyBot.json"}
]
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 1e21f49

Please sign in to comment.