Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Xts Acts
提交
21e5996d
X
Xts Acts
项目概览
OpenHarmony
/
Xts Acts
1 年多 前同步成功
通知
9
Star
22
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
X
Xts Acts
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
21e5996d
编写于
8月 21, 2023
作者:
T
tianwenzhe
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
change bug
Signed-off-by:
N
tian-wenzhe411
<
tianwenzhe2@huawei.com
>
上级
a0a87143
变更
7
显示空白变更内容
内联
并排
Showing
7 changed file
with
35 addition
and
16 deletion
+35
-16
validator/acts_validator/src/main/ets/pages/Experience/KeyboardDisplayTest.ets
...tor/src/main/ets/pages/Experience/KeyboardDisplayTest.ets
+4
-3
validator/acts_validator/src/main/ets/pages/Experience/KeyboardInputTest.ets
...dator/src/main/ets/pages/Experience/KeyboardInputTest.ets
+5
-2
validator/acts_validator/src/main/ets/pages/Experience/ScrollPhotosList.ets
...idator/src/main/ets/pages/Experience/ScrollPhotosList.ets
+5
-2
validator/acts_validator/src/main/ets/pages/Experience/StartBackgroundTask.ets
...tor/src/main/ets/pages/Experience/StartBackgroundTask.ets
+5
-2
validator/acts_validator/src/main/ets/pages/Experience/StartNotification.ets
...dator/src/main/ets/pages/Experience/StartNotification.ets
+5
-2
validator/acts_validator/src/main/ets/pages/Experience/StartTaskManager.ets
...idator/src/main/ets/pages/Experience/StartTaskManager.ets
+5
-2
validator/acts_validator/src/main/ets/pages/Experience/ViewPhotoTest.ets
...validator/src/main/ets/pages/Experience/ViewPhotoTest.ets
+6
-3
未找到文件。
validator/acts_validator/src/main/ets/pages/Experience/KeyboardDisplayTest.ets
浏览文件 @
21e5996d
...
@@ -25,7 +25,7 @@ struct CustomContainerUser {
...
@@ -25,7 +25,7 @@ struct CustomContainerUser {
@State StepTips: string = '操作步骤:根据操作提示点击输入框等待键盘加载'+'\n'+'预期结果:输入键盘弹出时延小于1000ms测试通过';
@State StepTips: string = '操作步骤:根据操作提示点击输入框等待键盘加载'+'\n'+'预期结果:输入键盘弹出时延小于1000ms测试通过';
@State Vue: boolean = false;
@State Vue: boolean = false;
@State StartEnable: boolean = true;
@State StartEnable: boolean = true;
@State time:
string = '0'
;
@State time:
number = 0
;
scroller: Scroller = new Scroller();
scroller: Scroller = new Scroller();
async aboutToAppear(){
async aboutToAppear(){
await FirstDialog.ChooseDialog(this.StepTips,this.name);
await FirstDialog.ChooseDialog(this.StepTips,this.name);
...
@@ -86,10 +86,11 @@ struct CustomContainerUser {
...
@@ -86,10 +86,11 @@ struct CustomContainerUser {
let report = globalThis.resultNum;
let report = globalThis.resultNum;
let head = report.indexOf(":");
let head = report.indexOf(":");
this.time = report.substring(head+1);
this.time = report.substring(head+1);
let time = parseFloat(this.time);
// let time = parseFloat(this.time)
let time = this.time;
if( 0 < time && time < 1000 ) {
if( 0 < time && time < 1000 ) {
this.Vue = true;
this.Vue = true;
}
else if ( isNaN(this.time )
){
}
else if ( isNaN(this.time)
){
this.time = -1000;
this.time = -1000;
}
}
globalThis.HideFloatingWindow();
globalThis.HideFloatingWindow();
...
...
validator/acts_validator/src/main/ets/pages/Experience/KeyboardInputTest.ets
浏览文件 @
21e5996d
...
@@ -24,7 +24,7 @@ struct CustomContainerUser {
...
@@ -24,7 +24,7 @@ struct CustomContainerUser {
@State StepTips: string = '操作步骤:根据操作提示点击键盘按键'+'\n'+'预期结果:键盘输入响应时延小于150ms测试通过';
@State StepTips: string = '操作步骤:根据操作提示点击键盘按键'+'\n'+'预期结果:键盘输入响应时延小于150ms测试通过';
@State Vue: boolean = false;
@State Vue: boolean = false;
@State StartEnable: boolean = true;
@State StartEnable: boolean = true;
@State time:
string = '0'
;
@State time:
number = 0
;
scroller: Scroller = new Scroller();
scroller: Scroller = new Scroller();
async aboutToAppear(){
async aboutToAppear(){
await FirstDialog.ChooseDialog(this.StepTips,this.name);
await FirstDialog.ChooseDialog(this.StepTips,this.name);
...
@@ -85,9 +85,12 @@ struct CustomContainerUser {
...
@@ -85,9 +85,12 @@ struct CustomContainerUser {
let report = globalThis.resultNum;
let report = globalThis.resultNum;
let head = report.indexOf(":");
let head = report.indexOf(":");
this.time = report.substring(head+1);
this.time = report.substring(head+1);
let time = parseFloat(this.time)
// let time = parseFloat(this.time)
let time = this.time;
if( 0 < time && time < 150 ) {
if( 0 < time && time < 150 ) {
this.Vue = true;
this.Vue = true;
} else if ( isNaN(this.time) ){
this.time = -1000;
}
}
globalThis.HideFloatingWindow();
globalThis.HideFloatingWindow();
})
})
...
...
validator/acts_validator/src/main/ets/pages/Experience/ScrollPhotosList.ets
浏览文件 @
21e5996d
...
@@ -24,7 +24,7 @@ struct CustomContainerUser {
...
@@ -24,7 +24,7 @@ struct CustomContainerUser {
@State StepTips: string = '操作步骤:根据操作提示滑动图库缩略表'+'\n'+'预期结果:滑动响应时延小于150ms测试通过';
@State StepTips: string = '操作步骤:根据操作提示滑动图库缩略表'+'\n'+'预期结果:滑动响应时延小于150ms测试通过';
@State Vue: boolean = false;
@State Vue: boolean = false;
@State StartEnable: boolean = true;
@State StartEnable: boolean = true;
@State time:
string = '0'
;
@State time:
number = 0
;
scroller: Scroller = new Scroller();
scroller: Scroller = new Scroller();
async aboutToAppear(){
async aboutToAppear(){
await FirstDialog.ChooseDialog(this.StepTips,this.name);
await FirstDialog.ChooseDialog(this.StepTips,this.name);
...
@@ -85,9 +85,12 @@ struct CustomContainerUser {
...
@@ -85,9 +85,12 @@ struct CustomContainerUser {
let report = globalThis.resultNum;
let report = globalThis.resultNum;
let head = report.indexOf(":");
let head = report.indexOf(":");
this.time = report.substring(head+1);
this.time = report.substring(head+1);
let time = parseFloat(this.time)
// let time = parseFloat(this.time)
let time = this.time;
if( 0 < time && time < 150 ) {
if( 0 < time && time < 150 ) {
this.Vue = true;
this.Vue = true;
} else if ( isNaN(this.time) ){
this.time = -1000;
}
}
globalThis.HideFloatingWindow();
globalThis.HideFloatingWindow();
})
})
...
...
validator/acts_validator/src/main/ets/pages/Experience/StartBackgroundTask.ets
浏览文件 @
21e5996d
...
@@ -27,7 +27,7 @@ struct CustomContainerUser {
...
@@ -27,7 +27,7 @@ struct CustomContainerUser {
@State StepTips: string = '操作步骤:根据操作提示打开后台任务'+'\n'+'预期结果:打开后台任务时延小于600ms测试通过';
@State StepTips: string = '操作步骤:根据操作提示打开后台任务'+'\n'+'预期结果:打开后台任务时延小于600ms测试通过';
@State Vue: boolean = false;
@State Vue: boolean = false;
@State StartEnable: boolean = true;
@State StartEnable: boolean = true;
@State time:
string = '0'
;
@State time:
number = 0
;
scroller: Scroller = new Scroller();
scroller: Scroller = new Scroller();
async aboutToAppear(){
async aboutToAppear(){
await FirstDialog.ChooseDialog(this.StepTips,this.name);
await FirstDialog.ChooseDialog(this.StepTips,this.name);
...
@@ -85,9 +85,12 @@ struct CustomContainerUser {
...
@@ -85,9 +85,12 @@ struct CustomContainerUser {
let report = globalThis.resultNum;
let report = globalThis.resultNum;
let head = report.indexOf(":");
let head = report.indexOf(":");
this.time = report.substring(head+1);
this.time = report.substring(head+1);
let time = parseFloat(this.time)
// let time = parseFloat(this.time)
let time = this.time;
if( 0 < time && time < 600 ) {
if( 0 < time && time < 600 ) {
this.Vue = true;
this.Vue = true;
} else if ( isNaN(this.time) ){
this.time = -1000;
}
}
globalThis.HideFloatingWindow();
globalThis.HideFloatingWindow();
})
})
...
...
validator/acts_validator/src/main/ets/pages/Experience/StartNotification.ets
浏览文件 @
21e5996d
...
@@ -27,7 +27,7 @@ struct CustomContainerUser {
...
@@ -27,7 +27,7 @@ struct CustomContainerUser {
@State StepTips: string = '操作步骤:根据操作提示下拉通知栏'+'\n'+'预期结果:下拉通知栏时延小于150ms测试通过';
@State StepTips: string = '操作步骤:根据操作提示下拉通知栏'+'\n'+'预期结果:下拉通知栏时延小于150ms测试通过';
@State Vue: boolean = false;
@State Vue: boolean = false;
@State StartEnable: boolean = true;
@State StartEnable: boolean = true;
@State time:
string = '0'
;
@State time:
number = 0
;
scroller: Scroller = new Scroller();
scroller: Scroller = new Scroller();
async aboutToAppear(){
async aboutToAppear(){
await FirstDialog.ChooseDialog(this.StepTips,this.name);
await FirstDialog.ChooseDialog(this.StepTips,this.name);
...
@@ -85,9 +85,12 @@ struct CustomContainerUser {
...
@@ -85,9 +85,12 @@ struct CustomContainerUser {
let report = globalThis.resultNum;
let report = globalThis.resultNum;
let head = report.indexOf(":");
let head = report.indexOf(":");
this.time = report.substring(head+1);
this.time = report.substring(head+1);
let time = parseFloat(this.time)
// let time = parseFloat(this.time)
let time = this.time;
if( 0 < time && time < 150 ) {
if( 0 < time && time < 150 ) {
this.Vue = true;
this.Vue = true;
} else if ( isNaN(this.time) ){
this.time = -1000;
}
}
globalThis.HideFloatingWindow();
globalThis.HideFloatingWindow();
})
})
...
...
validator/acts_validator/src/main/ets/pages/Experience/StartTaskManager.ets
浏览文件 @
21e5996d
...
@@ -27,7 +27,7 @@ struct CustomContainerUser {
...
@@ -27,7 +27,7 @@ struct CustomContainerUser {
@State StepTips: string = '操作步骤:根据操作提示打开任务管理器'+'\n'+'预期结果:打开任务管理器时延小于1000ms测试通过';
@State StepTips: string = '操作步骤:根据操作提示打开任务管理器'+'\n'+'预期结果:打开任务管理器时延小于1000ms测试通过';
@State Vue: boolean = false;
@State Vue: boolean = false;
@State StartEnable: boolean = true;
@State StartEnable: boolean = true;
@State time:
string = '0'
;
@State time:
number = 0
;
scroller: Scroller = new Scroller();
scroller: Scroller = new Scroller();
async aboutToAppear(){
async aboutToAppear(){
await FirstDialog.ChooseDialog(this.StepTips,this.name);
await FirstDialog.ChooseDialog(this.StepTips,this.name);
...
@@ -85,9 +85,12 @@ struct CustomContainerUser {
...
@@ -85,9 +85,12 @@ struct CustomContainerUser {
let report = globalThis.resultNum;
let report = globalThis.resultNum;
let head = report.indexOf(":");
let head = report.indexOf(":");
this.time = report.substring(head+1);
this.time = report.substring(head+1);
let time = parseFloat(this.time)
// let time = parseFloat(this.time)
let time = this.time;
if( 0 < time && time < 1000 ) {
if( 0 < time && time < 1000 ) {
this.Vue = true;
this.Vue = true;
} else if ( isNaN(this.time) ){
this.time = -1000;
}
}
globalThis.HideFloatingWindow();
globalThis.HideFloatingWindow();
})
})
...
...
validator/acts_validator/src/main/ets/pages/Experience/ViewPhotoTest.ets
浏览文件 @
21e5996d
...
@@ -24,7 +24,7 @@ struct CustomContainerUser {
...
@@ -24,7 +24,7 @@ struct CustomContainerUser {
@State StepTips: string = '操作步骤:根据操作提示点击图片等待加载'+'\n'+'预期结果:图片响应时延小于150ms测试通过';
@State StepTips: string = '操作步骤:根据操作提示点击图片等待加载'+'\n'+'预期结果:图片响应时延小于150ms测试通过';
@State Vue: boolean = false;
@State Vue: boolean = false;
@State StartEnable: boolean = true;
@State StartEnable: boolean = true;
@State time:
string = '0'
;
@State time:
number = 0
;
scroller: Scroller = new Scroller();
scroller: Scroller = new Scroller();
async aboutToAppear(){
async aboutToAppear(){
await FirstDialog.ChooseDialog(this.StepTips,this.name);
await FirstDialog.ChooseDialog(this.StepTips,this.name);
...
@@ -81,13 +81,16 @@ struct CustomContainerUser {
...
@@ -81,13 +81,16 @@ struct CustomContainerUser {
.enabled(!this.StartEnable)
.enabled(!this.StartEnable)
.opacity(!this.StartEnable? 1 : 0.4)
.opacity(!this.StartEnable? 1 : 0.4)
.onClick(() => {
.onClick(() => {
this.StartEnable = !this.StartEnable
this.StartEnable = !this.StartEnable
;
let report = globalThis.resultNum;
let report = globalThis.resultNum;
let head = report.indexOf(":");
let head = report.indexOf(":");
this.time = report.substring(head+1);
this.time = report.substring(head+1);
let time = parseFloat(this.time)
// let time = parseFloat(this.time)
let time = this.time;
if( 0 < time && time < 150 ) {
if( 0 < time && time < 150 ) {
this.Vue = true;
this.Vue = true;
} else if ( isNaN(this.time) ){
this.time = -1000;
}
}
globalThis.HideFloatingWindow();
globalThis.HideFloatingWindow();
})
})
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录