diff --git a/arkXtest/uitest/Test.json b/arkXtest/uitest/Test.json index 817de6e701a8fdd02601a5c6bef60cb95ff53a8e..205648f48abbd372542957a68be2824401800ef1 100644 --- a/arkXtest/uitest/Test.json +++ b/arkXtest/uitest/Test.json @@ -23,8 +23,6 @@ "param set persist.sys.suspend_manager_enabled 0", "reboot", "power-shell wakeup", - "hilog -Q pidoff", - "hilog -b DEBUG", "uinput -T -d 300 600 -m 300 600 300 100 -u 300 100", "power-shell setmode 602" ], diff --git a/arkXtest/uitest/src/main/ets/test/uitest.test.ets b/arkXtest/uitest/src/main/ets/test/uitest.test.ets index 3a037345302c0b0c7d99a77050f3651ef28df413..c7bef884931d7e755bf56cebc02c699502822f60 100644 --- a/arkXtest/uitest/src/main/ets/test/uitest.test.ets +++ b/arkXtest/uitest/src/main/ets/test/uitest.test.ets @@ -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