refactor: relocate code

This commit is contained in:
debugtalk
2022-08-28 14:55:34 +08:00
parent 4421986bc7
commit 9db3d3201e
7 changed files with 133 additions and 143 deletions

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(),
},