[英]Appium iOS: Sign out from app before each test
I have a .feature
file which has many scenarios.我有一个.feature
文件,它有很多场景。 I want user is not logged in before starting the .feature
file.我希望用户在启动.feature
文件之前没有登录。 But when I test it always shows user already signed in, from the previous .feature
test.但是当我测试时,它总是显示用户已经登录,从之前的.feature
测试开始。
I tried:我试过:
appium.automationName = XCUITest
appium.platformName=IOS
appium.platformVersion = 13.3
appium.deviceName = iPhone 11 Pro Max
appium.app=/Users/plautner/Desktop/workspace/iosApp/testDemo.app
noReset=false
fullReset=true
How can I make it fresh install for every .feature
file?如何为每个.feature
文件进行全新安装?
I am using Mac Catalina, Appium, Java, Serenity BDD, Maven, JUnit.我正在使用 Mac Catalina、Appium、Java、Serenity BDD、Maven、JUnit。
在运行功能文件关闭会话后,您是否尝试使用 driver.quit() ?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.