diff --git a/app/src/androidTest/java/feature/App.kt b/app/src/androidTest/java/feature/App.kt new file mode 100644 index 0000000..78ea2a4 --- /dev/null +++ b/app/src/androidTest/java/feature/App.kt @@ -0,0 +1,16 @@ +package feature + +import androidx.test.uiautomator.UiDevice +import io.kranberry.environment.DeviceHandler.APP_PACKAGE +import io.kranberry.environment.DeviceHandler.start +import io.kranberry.outputs.ScreenshotHandler.takeScreenshot +import io.kranberry.ui.BaseUi + +class App(device: UiDevice) : BaseUi(device) { + + fun open(): Home { + start(APP_PACKAGE) + takeScreenshot() + return Home(device) + } +} \ No newline at end of file