未验证 提交 247ee5af 编写于 作者: O openharmony_ci 提交者: Gitee

!8549 arkXtest测试套关闭日志debug级别开关,删除无用的beforeAll和beforeEach机制. for3.2release

Merge pull request !8549 from 周柯/OpenHarmony-3.2-Release
...@@ -23,8 +23,6 @@ ...@@ -23,8 +23,6 @@
"param set persist.sys.suspend_manager_enabled 0", "param set persist.sys.suspend_manager_enabled 0",
"reboot", "reboot",
"power-shell wakeup", "power-shell wakeup",
"hilog -Q pidoff",
"hilog -b DEBUG",
"uinput -T -d 300 600 -m 300 600 300 100 -u 300 100", "uinput -T -d 300 600 -m 300 600 300 100 -u 300 100",
"power-shell setmode 602" "power-shell setmode 602"
], ],
......
...@@ -39,26 +39,6 @@ async function stopApplication(bundleName: string) { ...@@ -39,26 +39,6 @@ async function stopApplication(bundleName: string) {
export default function UiTest() { export default function UiTest() {
describe('UiTest_API8', function () { 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.number: uiTest_8001
* @tc.name: testInputText * @tc.name: testInputText
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册