From 1c275525021f49f68f7fd1c37da936ebab5eec38 Mon Sep 17 00:00:00 2001 From: henrymoulton Date: Fri, 30 Aug 2019 04:16:54 -0700 Subject: [PATCH] fix: ios detox date picker test (#26111) Summary: iOS e2e tests using Detox are failing on CI: https://circleci.com/gh/facebook/react-native/107417#tests/containers/0 https://circleci.com/gh/facebook/react-native/107390 ## Changelog [INTERNAL] [FIXED] - Date Picker iOS test Pull Request resolved: https://github.com/facebook/react-native/pull/26111 Test Plan: ` yarn build-ios-e2e && yarn test-ios-e2e` Reviewed By: rubennorte Differential Revision: D17093319 Pulled By: osdnk fbshipit-source-id: fedf45aa85c1ddfe2dfdf669b5248d1393771958 --- RNTester/e2e/__tests__/DatePickerIOS-test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RNTester/e2e/__tests__/DatePickerIOS-test.js b/RNTester/e2e/__tests__/DatePickerIOS-test.js index 024f237d74613b..6a7c961991aecf 100644 --- a/RNTester/e2e/__tests__/DatePickerIOS-test.js +++ b/RNTester/e2e/__tests__/DatePickerIOS-test.js @@ -43,7 +43,7 @@ describe('DatePickerIOS', () => { await testElement.setColumnToValue(2, '10'); await testElement.setColumnToValue(3, 'AM'); - await expect(dateIndicator).toHaveText('12/4/2005'); + await expect(dateIndicator).toHaveText('12/4/2006'); await expect(timeIndicator).toHaveText('4:10 AM'); });