TestsUI: fix error string expected

This commit is contained in:
Gautier Pelloux-Prayer 2016-02-24 13:27:45 +01:00
parent 80072a7a7b
commit b7703c7e3f
2 changed files with 2 additions and 2 deletions

View file

@ -100,7 +100,7 @@
UIView *alertViewText =
[tester waitForViewWithAccessibilityLabel:@"Registration failure" traits:UIAccessibilityTraitStaticText];
if (alertViewText) {
UIView *reason = [tester waitForViewWithAccessibilityLabel:@"Incorrect username or password."
UIView *reason = [tester waitForViewWithAccessibilityLabel:@"Bad credentials, check your account settings"
traits:UIAccessibilityTraitStaticText];
if (reason == nil) {
[tester fail];

@ -1 +1 @@
Subproject commit bd569071365ff85b62721d8058fa8de7bd5cd015
Subproject commit f734477ce43e19e492b4650965b4c286fc19523e