提交 1ca2f4e4 编写于 作者: Z zhouke

arkXtest测试套用例调整和补充.Signed-off-by: <zhouke35@huawei.com>.

Signed-off-by: Nzhouke <zhouke35@huawei.com>
上级 ba077533
...@@ -39,7 +39,7 @@ async function stopApplication(bundleName: string) { ...@@ -39,7 +39,7 @@ async function stopApplication(bundleName: string) {
export default function UiTest() { export default function UiTest() {
describe('UiTest_API10', function () { describe('UiTest_API10', function () {
/* /*
* @tc.number: uiTest_10001 * @tc.number: uiTest_10001
* @tc.name: testWithIn * @tc.name: testWithIn
...@@ -107,8 +107,7 @@ describe('UiTest_API10', function () { ...@@ -107,8 +107,7 @@ describe('UiTest_API10', function () {
* @tc.desc: click in the specified location on the screen by mouse. * @tc.desc: click in the specified location on the screen by mouse.
*/ */
it('testMouseClick', 0, async function () { it('testMouseClick', 0, async function () {
// await startAbility('com.uitestScene.acts', 'com.uitestScene.acts.MainAbility') await startAbility('com.uitestScene.acts', 'com.uitestScene.acts.MainAbility')
await startAbility('com.example.myapplication_scene', 'com.example.entry.MainAbility')
let driver = Driver.create() let driver = Driver.create()
await driver.delayMs(waitUiReadyMs) await driver.delayMs(waitUiReadyMs)
let Button = await driver.findComponent(ON.text('jump')) let Button = await driver.findComponent(ON.text('jump'))
...@@ -134,8 +133,7 @@ describe('UiTest_API10', function () { ...@@ -134,8 +133,7 @@ describe('UiTest_API10', function () {
* @tc.desc: move the mouse cursor to the specified location. * @tc.desc: move the mouse cursor to the specified location.
*/ */
it('testMouseMoveTo', 0, async function () { it('testMouseMoveTo', 0, async function () {
// await startAbility('com.uitestScene.acts', 'com.uitestScene.acts.MainAbility') await startAbility('com.uitestScene.acts', 'com.uitestScene.acts.MainAbility')
await startAbility('com.example.myapplication_scene', 'com.example.entry.MainAbility')
let driver = Driver.create() let driver = Driver.create()
await driver.delayMs(waitUiReadyMs) await driver.delayMs(waitUiReadyMs)
let Button = await driver.findComponent(ON.text('jump')) let Button = await driver.findComponent(ON.text('jump'))
...@@ -153,8 +151,7 @@ describe('UiTest_API10', function () { ...@@ -153,8 +151,7 @@ describe('UiTest_API10', function () {
* @tc.desc: scroll the mouse wheel at the specified location to specify the cell. * @tc.desc: scroll the mouse wheel at the specified location to specify the cell.
*/ */
it('testMouseScroll', 0, async function () { it('testMouseScroll', 0, async function () {
// await startAbility('com.uitestScene.acts', 'com.uitestScene.acts.MainAbility') await startAbility('com.uitestScene.acts', 'com.uitestScene.acts.MainAbility')
await startAbility('com.example.myapplication_scene', 'com.example.entry.MainAbility')
let driver = Driver.create() let driver = Driver.create()
await driver.delayMs(waitUiReadyMs) await driver.delayMs(waitUiReadyMs)
let Scroll = await driver.findComponent(ON.type('Scroll')) let Scroll = await driver.findComponent(ON.type('Scroll'))
...@@ -170,7 +167,7 @@ describe('UiTest_API10', function () { ...@@ -170,7 +167,7 @@ describe('UiTest_API10', function () {
await stopApplication('com.uitestScene.acts') await stopApplication('com.uitestScene.acts')
}) })
}) })
describe('UiTest_API8', function () { describe('UiTest_API8', function () {
/* /*
* @tc.number: uiTest_8001 * @tc.number: uiTest_8001
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册