Fix tester. Actually, localization of accessibility labels won’t work in Settings for now. Solution might be to take the Settings bundle localization

This commit is contained in:
Guillaume BIENKOWSKI 2015-02-19 09:39:48 +01:00
parent beb03df7a6
commit d902a4e70a

View file

@ -92,7 +92,7 @@ static bool invalidAccount = true;
if( invalidAccount && ! [self hasValidProxyConfig] ){
[tester tapViewWithAccessibilityLabel:LOCALIZED(@"Settings")];
[tester tapViewWithAccessibilityLabel:LOCALIZED(@"Wizard")];
[tester tapViewWithAccessibilityLabel:@"Run assistant"];
[tester waitForTimeInterval:0.5];
if( [tester tryFindingViewWithAccessibilityLabel:LOCALIZED(@"Launch Wizard") error:nil]){
[tester tapViewWithAccessibilityLabel:LOCALIZED(@"Launch Wizard")];