mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-17 21:01:34 +08:00
Update ui-tests-app
This commit is contained in:
@ -50,5 +50,11 @@ export function butonTap(args) {
|
||||
btn.style.textDecoration = "none";
|
||||
textField.style.textDecoration = "none";
|
||||
textView.style.textDecoration = "none";
|
||||
|
||||
if(lbl.text === "Change text") {
|
||||
lbl.text = btn.text = textField.text = textView.text = "Text changed";
|
||||
} else {
|
||||
lbl.text = btn.text = textField.text = textView.text = "Change text";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
<Page >
|
||||
<StackLayout>
|
||||
<Button id="ChangeText" automationText="Change text" text="Change text" tap="changeTextButonTap" />
|
||||
<!--<Button id="ChangeText" automationText="Change text" text="Change text" tap="changeTextButonTap" />-->
|
||||
<Button id="Change" automationText="Change" text="Change" tap="butonTap" />
|
||||
<Label id="Label" automationText="Label" text="Label" style.textDecoration="none" />
|
||||
<Button id="Button" automationText="Button" text="Button" style.textDecoration="none" />
|
||||
|
Reference in New Issue
Block a user