fix: update unittest for action

This commit is contained in:
xucong053
2022-09-28 16:14:00 +08:00
parent 4dbff93f52
commit 16daf7a250
9 changed files with 15 additions and 3 deletions

View File

@@ -63,8 +63,6 @@ jobs:
fail-fast: false
matrix:
go-version:
- 1.16.x
- 1.17.x
- 1.18.x
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}

View File

@@ -1,3 +1,5 @@
//go:build localtest
package uixt
import (

View File

@@ -1,3 +1,5 @@
//go:build localtest
package uixt
import (

View File

@@ -1,3 +1,4 @@
//go:build localtest
package uixt
import (

View File

@@ -1,3 +1,5 @@
//go:build localtest
package uixt
import (

View File

@@ -1,3 +1,5 @@
//go:build localtest
package uixt
import (

View File

@@ -1,3 +1,5 @@
//go:build localtest
package uixt
import (

View File

@@ -1,3 +1,5 @@
//go:build localtest
package hrp
import (

View File

@@ -1,3 +1,4 @@
//go:build localtest
package hrp
import (
@@ -85,7 +86,7 @@ func TestIOSWeixinLive(t *testing.T) {
NewStep("进入直播页").
IOS().
Tap("发现").Sleep(5). // 进入「发现页」;等待 5 秒确保加载完成
TapByOCR("直播"). // 通过 OCR 识别「直播」
TapByOCR("直播"). // 通过 OCR 识别「直播」
Validate().
AssertLabelExists("直播"),
NewStep("向上滑动 5 次").