mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
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:
@@ -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.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user