mirror of
https://github.com/httprunner/httprunner.git
synced 2026-09-05 07:26:55 +08:00
feat: add AssertForegroundApp for ios
This commit is contained in:
@@ -435,6 +435,15 @@ func Test_remoteWD_Source(t *testing.T) {
|
||||
fmt.Println(source)
|
||||
}
|
||||
|
||||
func TestGetForegroundApp(t *testing.T) {
|
||||
setup(t)
|
||||
app, err := driver.GetForegroundApp()
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
t.Log(app)
|
||||
}
|
||||
|
||||
func Test_remoteWD_AccessibleSource(t *testing.T) {
|
||||
setup(t)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user