Commit graph

20 commits

Author SHA1 Message Date
Elias Nahum
f0b66cd607
Upgrade Dependencies (#4917)
* Dev dependecies

* upgrade tinycolor2

* upgrade rn-placeholder

* upgrade react-native@0.63.3

* Upgrade react-native-vector-icons

* Upgrade react-native-screens

* Upgrade react-native-safe-area-context

* Upgrade react-native-reanimated

* Upgrade react-native-permissions

* Upgrade react-native-localize

* Upgrade react-native-image-picker

* Upgrade react-native-haptic-feedback

* Upgrade react-native-gesture-handler

* Upgrade react-native-file-viewer

* Upgrade react-native-document-picker

* Upgrade react-native-device-info

* Upgrade react-native-calendars

* Upgrade mime-db

* Upgrade jail-monkey

* Upgrade fuse.js

* Upgrade emoji-regex

* Upgrade deep-equal

* Upgrade @react-navigation

* Upgrade @react-native-community/netinfo

* Upgrade @react-native-community/clipboard

* Upgrade @react-native-community/cameraroll

* Upgrade @react-native-community/async-storage

* Upgrade @sentry/react-native

* Upgrade @types/react-native

* Upgrade jest
2020-10-28 13:24:27 -03:00
Saturnino Abril
7b4d5883eb
Fix build for iOS for local simulator and Android test (#4923)
* fix build for iOS for local simulator and Android test

* delete /build-ios in local

* remove comment
2020-10-28 23:38:50 +08:00
Joseph Baylon
0db46f2003
Detox/E2E: Fix some specs and comments (#4919)
* Detox/E2E: Fix some specs and comments

* Fix lint
2020-10-24 09:07:14 +08:00
Elias Nahum
016a725732
MM-28105 do not crash when in-app notification shows (#4915)
* MM-28105 do not crash when in-app notification shows

* Use index.tsx to register the notification screen

* Fix notification e2e and some import cleanup

* Update iOS notification json

* e2e: Show the add reaction screen before receiving a notification

* Update snapshots

* Patch react-native-notifications to prevent iOS crash when opening

* Apply TM4J id

Co-authored-by: Joseph Baylon <joseph.baylon@mattermost.com>
2020-10-22 14:34:49 -03:00
Elias Nahum
8c8f93b589
MM-28688 Close sidebar when current channel is selected (#4897)
* MM-28688 Close sidebar when current channel is selected

* Update snapshot

* Apply suggestions from code review

Co-authored-by: Joseph Baylon <joseph.baylon@mattermost.com>

* Fix iOS select_channel e2e and feedback review

Co-authored-by: Joseph Baylon <joseph.baylon@mattermost.com>
2020-10-19 20:32:34 -07:00
Ed Trist
cff81f168e
[MM-22366] Make user autocomplete also match on spaces (#4880)
* [MM-22366] Make user autocomplete also match on spaces

* Move template string to fullName variable

* Add Detox E2E tests for user autocomplete

* Add TM4J IDs

Co-authored-by: Joseph Baylon <joseph.baylon@mattermost.com>

* Add test for keyword not associated with user

Co-authored-by: Joseph Baylon <joseph.baylon@mattermost.com>
2020-10-19 10:15:18 -03:00
Elias Nahum
fbe2a9e575
MM-28539 Fix wrong participant count in GM info (#4887)
* Fix e2e flaky tests

* MM-28539 Fix wrong participant count in GM info

* Apply suggestions from code review

Co-authored-by: Joseph Baylon <joseph.baylon@mattermost.com>

* Apply suggestions from code review

Co-authored-by: Joseph Baylon <joseph.baylon@mattermost.com>
Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com>

* Update detox/e2e/test/autocomplete/edit_post.e2e.js

Co-authored-by: Joseph Baylon <joseph.baylon@mattermost.com>

Co-authored-by: Joseph Baylon <joseph.baylon@mattermost.com>
Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com>
2020-10-19 10:13:30 -03:00
Hector
eb0f511bb7
MM-T3201 create public channel e2e test (#4867)
* MM-T3201 initial test purpose with detox

* MM-T3201 spaces and more comments

* MM_T3201 update snapshot tests to include test id

* MM-T3201 edit test ID to follow naming convention, PR fix

* MM-T3201 change comments to indicate if action or expect

* MM-T3201 add more testID to create buttons

* MM-T3201 adding trailing commas and testID

* MM-T3201 fix style

* MM-T3201 fix snaps test

* MM-T3201 fix conflicts with prior PR

* MM-T3201 using test dependent on platform to test button behaviour

* Update detox/e2e/test/channels/create_public_channel.e2e.js

Co-authored-by: Joseph Baylon <joseph.baylon@mattermost.com>

Co-authored-by: Joseph Baylon <joseph.baylon@mattermost.com>
2020-10-15 10:13:41 -07:00
Ashish Bhate
3988e64d22
MM-29039: unit and e2e tests for #4821 (#4879)
* MM-29039: unit and e2e tests for #4821

* add e2e test

* Apply suggestions from code review

Co-authored-by: Joseph Baylon <joseph.baylon@mattermost.com>

* use suggested test libs

* move mock to test setup

* update snapshot for new mock

Co-authored-by: Joseph Baylon <joseph.baylon@mattermost.com>
2020-10-15 09:27:28 -07:00
Saturnino Abril
6e2549de7f
MM-28653 Detox/E2E: Add jest-junit, jest-html-reporters and pathbuilders for test report/artifacts (#4888)
* add jest-junit, jest-html-reporters and pathbuilders for test report/artifacts

* change optional chaining implementation
2020-10-15 02:27:57 +08:00
Joseph Baylon
52f6f1dce8
Added missing comment guideline (#4889) 2020-10-13 20:24:16 -07:00
Saturnino Abril
64882b3176
MM-T3180 Detox/E2E for LDAP login (#4863)
* E2E for LDAP login

* add LDAP test and sync

* update per comment

* add api commands to ensure LDAP user has team

* clean up

* clean up file check

* update per comment
2020-10-13 19:13:51 +08:00
Joseph Baylon
e6fa202880
Detox/E2E: Add E2E comment guideline (#4878)
* Detox/E2E: Add comment guideline

* Updated page to screen
2020-10-12 20:04:43 -07:00
Andre Vasconcelos
c6c0d33f6a
MM-29046 Add unit and e2e tests for autocomplete popover (#4855)
* WIP: Adding autocomplete E2E tests

* Fixing search.e2e tests

* Updated testIDs, added 2 test suites, added comments

* Added comments to search E2E test

* Updating testIDs & reverting changes to common.js

* Updating snapshots

* Added TM4J ticket numbers

* Adding assertion commends to search E2E

* Updated testID values
2020-10-12 09:07:23 -03:00
Saturnino Abril
335a25b516
make error handling on unreachable server to be explicit (#4852) 2020-10-08 11:19:29 -03:00
Clare So
361349a4d4
MM-T3187 Unread channels sort at top (#4833)
* Automate MM-T3187

* Update the snapshots. Applied channel_item_display_name suggestion. Add verification for channels_list (to prove the testID works).

* Update testID. Move test to a new file under smoke test.

* Revert message_posting.e2e.js

* Applied suggestion from code review.

* Update detox/e2e/test/smoke_test/channels.e2e.js

Apply Saturnino's suggestion

Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com>

Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com>
2020-10-08 10:49:24 -03:00
Jorge Vallecillo
40b650bcd9
Fix typo in 3 files: consecutive occurrences of 'the' (#4871) 2020-10-05 12:07:20 -07:00
Saturnino Abril
d8e89dc417
MM-T109 Detox/E2E: "User can't send the same message repeatedly" (#4805)
* add e2e for MM-T109

* use multiTap instead of individual tap
2020-09-15 09:37:01 -07:00
Saturnino Abril
29fb83ccfe
add e2e for MM-T3179 (#4807) 2020-09-14 21:46:36 +08:00
Saturnino Abril
f05faaa949
E2E: Initial Detox setup for Mobile UI automation (#4535)
* initial Detox setup for mobile UI automation

* fix iOS allow permission on opening the app, add npm script to root folder, fix test when using longer site URL and add detox dependency to root for android build dependency

* remove detox proguardFile

* update packages and emulator

* change folder build on local and CI

* add test to post a message, ability to have test in isolation, server API commands, server config, dependency updates and update folder structure

* update snapshot

* update detox and do clean up

* update dependencies
2020-08-29 07:18:41 +08:00