refactor: relocate code

This commit is contained in:
debugtalk
2022-08-28 22:43:10 +08:00
parent 2cd10989f0
commit 5effb3897c
7 changed files with 133 additions and 143 deletions
+2 -3
View File
@@ -13,9 +13,8 @@ func TestIOSSettingsAction(t *testing.T) {
IOS().Home().Tap("设置").
Validate().
AssertNameExists("飞行模式").
AssertLabelExists("飞行模式").
AssertOCRExists("飞行模式").
AssertLabelNotExists("飞行模式2"),
AssertLabelExists("蓝牙").
AssertOCRExists("个人热点"),
NewStep("swipe up and down").
IOS().SwipeUp().SwipeUp().SwipeDown(),
},