提交 867fd6c4 编写于 作者: Z zhouke

arkXtest测试套删除无用的beforeAll和before each机制.Signed-off-by: <zhouke35@huawei.com>.

Signed-off-by: Nzhouke <zhouke35@huawei.com>
上级 9fbd29b8
......@@ -39,26 +39,6 @@ async function stopApplication(bundleName: string) {
export default function UiTest() {
describe('UiTest_API8', function () {
beforeAll(async function () {
await startAbility('com.uitestScene.acts', 'com.uitestScene.acts.MainAbility')
let driver = UiDriver.create()
await driver.delayMs(waitUiReadyMs)
let input = await driver.findComponent(BY.type('TextInput'))
await input.click()
await driver.delayMs(waitUiReadyMs)
try {
await driver.click(864, 2524)
await driver.delayMs(waitUiReadyMs)
} catch (err) {
console.info("inputPermission error: %s", err.message)
}
await stopApplication('com.uitestScene.acts')
})
beforeEach(async function () {
await stopApplication('com.uitestScene.acts')
})
/*
* @tc.number: uiTest_8001
* @tc.name: testInputText
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册