Commit Graph

135 Commits

Author SHA1 Message Date
Anant Bhasin f66a74c994 Lint fix 2021-08-04 16:05:58 +05:30
Anant Bhasin 7831728b16 Tests Ready for Review. 2021-08-04 15:58:16 +05:30
Anant Bhasin 2d765eea77 replaceText where usable 2021-08-03 13:28:30 +05:30
Anant Bhasin 52342540f4 Ready for review 2021-07-27 03:24:31 +05:30
Anant Bhasin 76bf7ac571 Lint Fix 2021-07-25 03:10:57 +05:30
Anant Bhasin 5fc9872f9e Merge branch 'develop' of https://github.com/RocketChat/Rocket.Chat.ReactNative into detoxRunner 2021-07-25 02:49:19 +05:30
Anant Bhasin 8da3ed6022 Abstraction and Improvement 2021-07-25 02:39:53 +05:30
Diego Mello 91f770cd37
Chore: Update React Native to 0.64.2 (#3245)
* Update non-dev patches

* Update dev patches

* Update minors

* Update dev minors

* Update few non semver

* Cookies

* datepicker, netinfo, base64 and bootsplash

* Patch cookies

* Update navigation

* Device info

* mocha

* localize

* react-native-picker-select

* vector icons, xregexp, popover

* try save husky

* document picker

* Remove emotion dev

* Downgrade some libs and make sure jest is passing

* Update storybook to stable

* mocha, axios, bootsplash

* Update lint job to node 15

* Update android image to api 29 and xcode to 12.4

* building

* Fix lint

* Get rid of Storybooks errors

* Patch react-native-simple-crypto

* Remove pods from git

* Stash simple crypto

* Stash Flipper

* Remove single crypto patch

* Add manage-pods command

* Update Xcode to 12.5.0

* Fix E2E tests

* Cleanup podfile

* Fix Storybook

* Remove RN patch

* Fix iOS build release

* Fix cocoapods cache on CI

* Try to fix pods using bundle

* Update gems

* Add app_store_connect_api_key env to CI

* APP_STORE_CONNECT_API_KEY -> APP_STORE_CONNECT_API_BASE64

* Rollback to older usage of app_store_connect_api_key

* tmp

* Run manage-pods on TestFlight

* Use Podfile instead of Podfile.lock for cache

* Increase no_output_timeout from 20 minutes to 40

* Restore node modules on upload-to-testflight

* Add pod install to docs
2021-07-21 12:50:39 -03:00
Anant Bhasin 0182c0efd2 Lint and incremental 2021-07-21 15:03:16 +05:30
Anant Bhasin 047d4e5889 Lint fix 2021-07-16 02:29:16 +05:30
Anant Bhasin 4cc3d8a26b Merge branch 'develop' of https://github.com/RocketChat/Rocket.Chat.ReactNative into detoxRunner 2021-07-16 02:01:14 +05:30
Anant Bhasin 2aab5c35e1 i18n final fix 2021-07-14 18:17:20 +05:30
Reinaldo Neto 16fee2aa64
[IMPROVE] Convert Team to Channel (#3249)
* [IMPROVE] Add convert team to a channel

* Action to SelectListView and new words to i18n

* Implemented the post and it's working with selected channels or not

* Fixed the Convert Team Warning at english i18n and changed the function name

* E2E test completed in sequence the convert/move teams

* [IMPROVE] Add convert team to a channel

* Action to SelectListView and new words to i18n

* Implemented the post and it's working with selected channels or not

* Fixed the Convert Team Warning at english i18n and changed the function name

* rebase develop into this branch

* [IMPROVE] Add convert team to a channel

* Action to SelectListView and new words to i18n

* Implemented the post and it's working with selected channels or not

* Fixed the Convert Team Warning at english i18n and changed the function name

* rebase develop into this branch

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-07-09 15:46:24 -03:00
Anant Bhasin 8e004ea5c8 Skip platform language tests on Detox 2021-07-04 13:47:10 +05:30
Reinaldo Neto 8517b1fd13
Chore: Add Lint to E2E tests (#3217)
* Added eslint plugin dependencie and fixed the eslint.js

* E2E Tests folder Assorted

* Linted all e2e, just e2e/docker that don't changed

* Update 09-jumptomessage.spec.js

* Removed async from describe function

* Remove outdated detox linter lib

* Add overrides to eslintrc

Co-authored-by: Gerzon Z <gerzonc@icloud.com>
Co-authored-by: Gerzon Z <gerzonzcanario@gmail.com>
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-07-02 14:39:39 -03:00
Anant Bhasin 94fa286bcb by.label to by.text 2021-06-30 18:39:14 +05:30
Anant Bhasin 0465f0ae87 Cleaned up code. Implemented proper abstraction 2021-06-28 02:17:57 +05:30
Anant Bhasin eb8fb69639 Decreasing android input flakiness 2021-06-24 02:30:26 +05:30
Anant Bhasin bb6e19c860 incremental 2021-06-24 00:55:36 +05:30
Anant Bhasin 523647b42f i18n tests working on Android, and improving code 2021-06-24 00:36:55 +05:30
Anant Bhasin 60768fced1 Merge branch 'develop' of https://github.com/RocketChat/Rocket.Chat.ReactNative into detoxRunner 2021-06-23 19:13:26 +05:30
Gerzon Z a6ded9546b
[TEST] E2E for Jump to Message (#3202)
* E2E tests for jump to message

* Fix thread tests

* Remove unnecessary function and uncomment tests

* Minor tweak

* Fix tests and minor tweaks

* Minor tweaks

* Update docker data

* Fix docker

* Fix duplicated testid

* Minor refactor

* Fix jump to old message test

* Fix load on scroll

* Add fab test

* Minor addition

* stash

* almost there

* Final changes

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-06-22 16:41:55 -03:00
Anant Bhasin 4b91da0871 Room Info passing 2021-06-15 15:49:11 +05:30
Anant Bhasin 2448287200 Merge branch 'develop' of https://github.com/RocketChat/Rocket.Chat.ReactNative into detoxRunner 2021-06-15 01:54:36 +05:30
Reinaldo Neto c744672cbf
[TEST] Fixed E2E tests (#3201)
* [FIX] Test E2E i18n

* 01-createroom and 02-room fixed

* 03-roomactions and 04-discussions

* 05-threads and 07-markasunread from room

* Test 07-markasunread

* Set notifications 'YES' and delete true in 03-forgotpassword and 04-createuser

* Fixed the data that 02-team uses and changed the message in 07-markasunread

* Added group.alternate to data.docker and commented the test for the fallback language

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-06-11 15:23:43 -03:00
Anant Bhasin 3b42e13489 [ANDROID] AccessibilityLabels and helper fns 2021-06-11 02:20:11 +05:30
Anant Bhasin 1f4920f873 [FIX] Discussions tests for android 2021-06-10 22:11:34 +05:30
Anant Bhasin 3ce92798a2 Merge branch 'develop' of https://github.com/RocketChat/Rocket.Chat.ReactNative into detoxRunner 2021-06-10 00:06:34 +05:30
Anant Bhasin 25faeeb357 lgtm fix 2021-06-09 21:30:58 +05:30
Anant Bhasin 4ee889e889 Room actions tests working 2021-06-09 21:30:01 +05:30
Anant Bhasin 97baaa4241 More tests working on android 2021-06-09 01:53:48 +05:30
Diego Mello 267dfc547e
[FIX] Teams tests (#3196)
* Make team_main not optional and fix tests

* Undo isOptional and fix query

* Comment
2021-06-07 17:20:07 -03:00
Anant Bhasin 095f39d857 Merge branch 'develop' of https://github.com/RocketChat/Rocket.Chat.ReactNative into detoxRunner 2021-06-06 21:43:26 +05:30
Anant Bhasin f47082bbe1 onboarding tests passing 2021-06-06 21:40:12 +05:30
Anant Bhasin 13d07d5ee3 Deeplinking test working 2021-06-05 21:46:57 +05:30
Anant Bhasin 40dae23b61 platformTypes imort fix 2021-06-05 20:21:46 +05:30
Gerzon Z 91371e88d9
[NEW] Add Teams to Directory (#3181)
* Added Teams to DirectoryView

* Fix icon

* Minor tweaks

* add tests

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-06-04 15:07:26 -03:00
Gerzon Z c087780ccf
[TEST] E2E Tests for Teams (#3178)
* Added Create Team

* Added actionTypes, actions, ENG strings for Teams and updated NewMessageView

* Added createTeam sagas, createTeam reducer, new Team string and update CreateChannelView

* Remove unnecessary actionTypes, reducers and sagas, e2e tests and navigation to team view

* Minor tweaks

* Show TeamChannelsView only if joined the team

* Minor tweak

* Added AddChannelTeamView

* Added permissions, translations strings for teams,  deleteTeamRoom and addTeamRooms, AddExistingChannelView, updated CreateChannelView, TeamChannelsView

* Refactor touch component and update removeRoom and deleteRoom methods

* Minor tweaks

* Minor tweaks for removing channels and addExistingChannelView

* Added missing events and fixed channels list

* Minor tweaks for refactored touch component

* Added SelectListView and logic for leaving team

* Added addTeamMember and removeTeamMember

* Minor tweak

* Added deleteTeam function

* Minor tweak

* Minor tweaks

* Remove unnecesary changes, update TeamChannelsView, AddExistingChannelView, AddChannelTeamView, createChannel, goRoom and Touchable

* Remove unnecesary prop

* Add screens to ModalStack, events, autoJoin, update createChannel, addRoomsToTeam and Touchable

* Minor tweak

* Update loadMessagesForRoom.js

* Updated schema, tag component, touch, AddChannelTeamView, AddExistingChannelView, ActionSheet Item

* Fix unnecessary changes

* Add i18n, update createChannel, AddExistingChannelTeamView, AddChannelTeamView, RightButton and TeamChannelsView

* Updated styles, added tag story

* Minor tweak

* Minor tweaks

* Auto-join tweak

* Minor tweaks

* Minor tweak on search

* Minor refactor to ListItem, add SelectListView to ModalStack, update handleLeaveTeam

* Minor tweaks

* Update SelectListView

* Update handleLeaveTeam, remove unnecessary method, add story

* Minor tweak

* Minor visual tweaks

* Update SelectListView.js

* Update index.js

* Update RoomMembersView

* Updated SelectListView, RoomActionsView, leaveTeam method and string translations

* Update SelectListVIew

* Minor tweak

* Update SelectListView

* Minor tweak

* Minor tweaks

* Fix for List.Item subtitles being pushed down by title's flex

* Minor tweaks

* Update RoomActionsView

* Use showConfirmationAlert and showErrorAlert

* Remove addTeamMember, update removeTeamMember

* Update Alert

* Minor tweaks

* Minor tweaks

* Minor tweak

* Update showActionSheet on RoomMembersView

* Remove team main from query and move code around

* Fetch roles

* Update RoomMembersView and SelectListView

* Update rocketchat.js

* Updated leaveTeam and handleRemoveFromTeam

* Fix validation

* Remove unnecessary function

* Update RoomActionsView

* Update en.json

* updated deleteTeam function and permissions

* Added showConfirmationAlert

* Added string translations for teams

* Fix permission

* Added moveChannelToTeam and convertToTeam functionality

* Fix SelectListView RadioButton

* Fix moveToTeam

* Added searchBar to SelectListVIew

* Update RoomView , SelectListVIew and string translation for error

* E2E for Teams

* Fix tests and cleanup

* Minor refactor

* Wrong label

* Move/convert

* Fix convert

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-06-04 13:16:05 -03:00
Anant Bhasin ec22d9446a platform dependent component types 2021-06-04 16:38:12 +05:30
Anant Bhasin 1d08b2c8c9 2 Test files remaining in assorted 2021-06-02 01:37:57 +05:30
Anant Bhasin bfc0731fdf Five testing files working.
App erring while leaving room
2021-06-01 21:27:24 +05:30
Anant Bhasin e31ae60bb4 Profile tests passing. Fixed 2021-06-01 01:07:09 +05:30
Anant Bhasin cf1425da2a [NEW[ First three tests passing on android 2021-05-31 22:09:32 +05:30
Anant Bhasin 40615a81ea Merge branch 'develop' of https://github.com/RocketChat/Rocket.Chat.ReactNative into detoxRunner 2021-05-28 21:28:00 +05:30
Reinaldo Neto b833a2f8aa
[IMPROVEMENT] Allow discussions to be edited (#3137)
* Refactored the filter to work the edit for channel and discussion

* Removed the filter which type of room can be edit

Co-authored-by: Diego Mello <diegolmello@gmail.com>

* Fix tests

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-05-27 17:44:35 -03:00
Anant Bhasin cdf64ab09b Progress 2021-05-27 02:44:05 +05:30
Gerzon Z 8373571a07
[FIX] E2E Tests not working because of ES6 import (#3147)
* Update ITeam.js

* Minor tweak
2021-05-20 10:50:42 -03:00
Anant Bhasin 6063add9ae Merge branch 'develop' into detoxRunner 2021-05-19 10:58:14 +05:30
Gerzon Z 1f0ff830a3
[NEW] Create Team (#3082)
Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-05-12 16:01:29 -03:00
Diego Mello eb38313075
[REGRESSION] Fallback not working when device's language is available (#3091)
* Always add 'en' i18n

* Add tests
2021-04-27 13:18:15 -03:00