提交 783d112f 编写于 作者: Z zhouyan

bug修复正向修改xts用例

Signed-off-by: Nzhouyan <zhouyan162@huawei.com>
Change-Id: Ia76ed8474ce1acc39001d907406f6b6a41663876
上级 7829ca9e
......@@ -265,7 +265,7 @@ export default function TextInputJsunit() {
console.info("[TextInputJsunit_0500] textAlign: " + JSON.stringify(obj.$attrs.textAlign));
expect(obj.$attrs.placeholder).assertEqual('');
expect(obj.$attrs.type).assertEqual('InputType.Normal');
expect(obj.$attrs.placeholderColor).assertEqual('#FF000000');
expect(obj.$attrs.placeholderColor).assertEqual('#99182431');
expect(obj.$attrs.placeholderFont).assertEqual('{"style":"FontStyle.Normal","size":"18.00fp","weight":"500","fontFamily":"sans-serif"}');
expect(obj.$attrs.enterKeyType).assertEqual('EnterKeyType.Done');
expect(obj.$attrs.caretColor).assertEqual('#FF00007B');
......
......@@ -64,7 +64,7 @@ export default function textTwoJsunit() {
let strJson = getInspectorByKey('text1');
let obj = JSON.parse(strJson);
console.info('textTwoJsunit_0200 component obj is: ' + obj.$attrs.decoration);
expect(obj.$attrs.decoration).assertEqual('{"type":"TextDecorationType.LineThrough","color":"#FFFFEEAF"}');
expect(obj.$attrs.decoration).assertEqual('{"type":"TextDecorationType.None","color":"#FF000000"}');
await CommonFunc.sleep(1000);
// to modify the atrribute
globalThis.value.message.notify({name:'type',value:TextDecorationType.Overline})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册