提交 06eaa6d1 编写于 作者: Z zhouke

arkXtest测试套用例补充,配置部件名称.Signed-off-by: <zhouke35@huawei.com>.

Signed-off-by: Nzhouke <zhouke35@huawei.com>
上级 b8ff9d8a
......@@ -22,6 +22,8 @@ ohos_js_hap_suite("ActsUiTest") {
ets2abc = true
certificate_profile = "//test/xts/acts/arkXtest/uitest/signature/auto_ohos_default_com.uitest.test.p7b"
hap_name = "ActsUiTest"
part_name = "arkXtest"
subsystem_name = "arkXtest"
}
ohos_js_assets("uitest_ets_assets") {
......
......@@ -166,6 +166,20 @@ export default function UiTest() {
expect(button2 != null).assertTrue()
await stopApplication('com.uitestScene.acts')
})
/*
* @tc.number: uiTest_10007
* @tc.name: testInWindow
* @tc.desc: scroll the mouse wheel at the specified location to specify the cell.
*/
it('testInWindow', 0, async function () {
await startAbility('com.uitestScene.acts', 'com.uitestScene.acts.MainAbility')
let driver = Driver.create()
await driver.delayMs(waitUiReadyMs)
let btn = await driver.findComponent(ON.inWindow('com.uitestScene.acts').text('next page'))
expect(btn != null).assertTrue()
await stopApplication('com.uitestScene.acts')
})
})
describe('UiTest_API8', function () {
......
......@@ -24,6 +24,8 @@ ohos_hap_assist_suite("ActsUiTestScene") {
testonly = true
certificate_profile = "//test/xts/acts/arkXtest/uitestScene/signature/auto_ohos_default_com.uitestScene.test.p7b"
hap_name = "ActsUiTestScene"
part_name = "arkXtest"
subsystem_name = "arkXtest"
}
ohos_js_assets("uitest_scene_ets_assets") {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册