{"action":"closed","issue":{"url":"https://api.github.com/repos/kif-framework/KIF/issues/690","labels_url":"https://api.github.com/repos/kif-framework/KIF/issues/690/labels{/name}","comments_url":"https://api.github.com/repos/kif-framework/KIF/issues/690/comments","events_url":"https://api.github.com/repos/kif-framework/KIF/issues/690/events","html_url":"https://github.com/kif-framework/KIF/issues/690","id":93482130,"number":690,"title":"Labels are not recognized for UISegmentedControl with iOS9 (Xcode 7 beta2) and Swift2","user":{"login":"kumarSC","id":1751370,"avatar_url":"https://avatars.githubusercontent.com/u/1751370?v=3","gravatar_id":"","url":"https://api.github.com/users/kumarSC","html_url":"https://github.com/kumarSC","followers_url":"https://api.github.com/users/kumarSC/followers","following_url":"https://api.github.com/users/kumarSC/following{/other_user}","gists_url":"https://api.github.com/users/kumarSC/gists{/gist_id}","starred_url":"https://api.github.com/users/kumarSC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kumarSC/subscriptions","organizations_url":"https://api.github.com/users/kumarSC/orgs","repos_url":"https://api.github.com/users/kumarSC/repos","events_url":"https://api.github.com/users/kumarSC/events{/privacy}","received_events_url":"https://api.github.com/users/kumarSC/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-07-07T09:21:19Z","updated_at":"2015-09-25T11:00:13Z","closed_at":"2015-09-25T11:00:13Z","body":"I am trying to use KIF with Quick to write some tests against an app with CollectionViews and SegmentedControl.Tests are failing to locate controls with labels defined, Error thrown is ,\r\n\r\n[AdvancedCollectionView_KIF_Tests.CollectionViewTests Home_Page__Test_the_accessibility] : failed - The step timed out after 10.00 seconds: Failed to find accessibility element with the label \"All\"\r\n\r\n\r\nHere is my test\r\n\r\n```\r\nimport Quick\r\nimport Nimble\r\nimport KIF\r\n\r\nclass CollectionViewTests: QuickSpec {\r\n    override func spec() {\r\n        describe(\"Home Page\"){\r\n            it(\"Test the accessibility\") {\r\n                let tester = self.tester\r\n                tester.waitForViewWithAccessibilityLabel(\"All\")\r\n                tester.tapViewWithAccessibilityLabel(\"All\")\r\n            }\r\n        }\r\n    }\r\n}\r\n\r\n//MARK: Setup Accessibility Labels\r\n\r\nprivate extension CollectionViewTests {\r\n\r\n    enum ButtonLabel: String {\r\n\r\n        case All = \"All\"\r\n        case Favourites = \"Favourites\"\r\n    }\r\n    \r\n    enum UIView: String {\r\n        \r\n        case FirstCell = \"BobCat\"\r\n        case SecondCell = \"Caracal\"\r\n        case ThirdCell = \"Cheetah\"\r\n    }\r\n    \r\n}\r\n\r\n```\r\n<img width=\"1252\" alt=\"screen shot 2015-07-07 at 3 50 33 pm\" src=\"https://cloud.githubusercontent.com/assets/1751370/8542485/3f263a76-24c0-11e5-9ee1-506502b0bdbf.png\">\r\n\r\n\r\n\r\n"}}