From a8013fbbe16b2ccde8ad6d56f4f223be9931f938 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Morten=20Anton=20Bach=20Sj=C3=B8gren?= Date: Mon, 5 Sep 2016 10:38:08 +0200 Subject: [PATCH] Feature: automationText wasn't read aloud on iOS. Updates iOS-test to check for both accessibilityLabel and accessibilityIdentifier values on the NativeElement --- tests/app/ui/view/view-tests.ios.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/app/ui/view/view-tests.ios.ts b/tests/app/ui/view/view-tests.ios.ts index 4b60dd0e3..1bad900e9 100644 --- a/tests/app/ui/view/view-tests.ios.ts +++ b/tests/app/ui/view/view-tests.ios.ts @@ -79,4 +79,5 @@ export function test_automation_text_set_to_native() { var newButton = new button.Button(); newButton.automationText = "Button1"; TKUnit.assertEqual((newButton.ios).accessibilityIdentifier, "Button1", "accessibilityIdentifier not set to native view."); -} \ No newline at end of file + TKUnit.assertEqual((newButton.ios).accessibilityLabel, "Button1", "accessibilityIdentifier not set to native view."); +}