Feature: automationText wasn't read aloud on iOS.

Updates iOS-test to check for both accessibilityLabel and
accessibilityIdentifier values on the NativeElement
This commit is contained in:
Morten Anton Bach Sjøgren
2016-09-05 10:38:08 +02:00
parent 479fe10c89
commit a8013fbbe1

View File

@@ -79,4 +79,5 @@ export function test_automation_text_set_to_native() {
var newButton = new button.Button();
newButton.automationText = "Button1";
TKUnit.assertEqual((<UIView>newButton.ios).accessibilityIdentifier, "Button1", "accessibilityIdentifier not set to native view.");
}
TKUnit.assertEqual((<UIView>newButton.ios).accessibilityLabel, "Button1", "accessibilityIdentifier not set to native view.");
}