From 0c9a37973ec6944013b189fdbb5eab637b74ef83 Mon Sep 17 00:00:00 2001 From: hekun Date: Mon, 27 Mar 2023 20:49:45 +0800 Subject: [PATCH] submit the test code Signed-off-by: hekun --- .../entry/src/main/ets/MainAbility/pages/configuration.ets | 2 +- .../entry/src/main/ets/test/ConfigurationJsunit.test.ets | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arkui/ace_ets_component_two/entry/src/main/ets/MainAbility/pages/configuration.ets b/arkui/ace_ets_component_two/entry/src/main/ets/MainAbility/pages/configuration.ets index f52e3cf28..6397855fe 100644 --- a/arkui/ace_ets_component_two/entry/src/main/ets/MainAbility/pages/configuration.ets +++ b/arkui/ace_ets_component_two/entry/src/main/ets/MainAbility/pages/configuration.ets @@ -22,7 +22,7 @@ struct promptExample { build(){ Column(){ Button('click') - .key('button') + .key('button_c') .backgroundColor('#FF0B8FE2') .fontSize(20) .margin({top: 20}) diff --git a/arkui/ace_ets_component_two/entry/src/main/ets/test/ConfigurationJsunit.test.ets b/arkui/ace_ets_component_two/entry/src/main/ets/test/ConfigurationJsunit.test.ets index 0b88f58fa..03ed25ab5 100644 --- a/arkui/ace_ets_component_two/entry/src/main/ets/test/ConfigurationJsunit.test.ets +++ b/arkui/ace_ets_component_two/entry/src/main/ets/test/ConfigurationJsunit.test.ets @@ -62,7 +62,7 @@ export default function transFormJsunit() { } catch (err) { console.info("configurationTest_0100 on configurationEvent err : " + JSON.stringify(err)); } - console.info("testAppear01 click result is: " + JSON.stringify(sendEventByKey('button', 10, ""))); + console.info("testAppear01 click result is: " + JSON.stringify(sendEventByKey('button_c', 10, ""))); console.info('[configurationTest01] END'); }); }) -- GitLab