From f68d94cc00d33a48fc25f583746f942ba6c50801 Mon Sep 17 00:00:00 2001 From: vchimev Date: Wed, 13 Apr 2016 15:16:33 +0300 Subject: [PATCH] Update ui-tests-app --- apps/ui-tests-app/css/text-decoration.ts | 6 ++++++ apps/ui-tests-app/css/text-decoration.xml | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/apps/ui-tests-app/css/text-decoration.ts b/apps/ui-tests-app/css/text-decoration.ts index a1870be63..3304b372e 100644 --- a/apps/ui-tests-app/css/text-decoration.ts +++ b/apps/ui-tests-app/css/text-decoration.ts @@ -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"; + } } } diff --git a/apps/ui-tests-app/css/text-decoration.xml b/apps/ui-tests-app/css/text-decoration.xml index c3d6e6308..9de343b28 100644 --- a/apps/ui-tests-app/css/text-decoration.xml +++ b/apps/ui-tests-app/css/text-decoration.xml @@ -1,6 +1,6 @@  -