Benoit Marty
2e36ca5650
Merge pull request #5070 from vector-im/feature/bma/test_screens
...
Test screens in the settings
2022-01-27 14:21:10 +01:00
Adam Brown
19a46afe7b
untracking activities during espresso runs as soon as they're idle
...
- Sometimes activities are instantly idle without going through the lifecycleChanged callback which means we were registering callsbacks which were duplicated and triggering for later waits
2022-01-26 18:47:24 +00:00
Benoit Marty
891367752b
Test the legals screen ( #4709 )
2022-01-26 18:00:49 +01:00
Benoit Marty
5989d6b82a
Test analytics opt-in screen from the settings
2022-01-26 17:41:09 +01:00
Benoit Marty
f6d7959cdc
Fix sanity test
2022-01-25 21:37:24 +01:00
Adam Brown
211f184066
updating splash submit copy to use Create account when the I already have an account feature is enabled
2022-01-19 10:38:28 +00:00
Adam Brown
70a95fc373
removing unused import
2022-01-18 16:21:37 +00:00
Adam Brown
030d9ef351
extracting inner class to its own file and updating function names relative to their usage
2022-01-18 16:20:33 +00:00
Adam Brown
eb763bb5bb
adding onboarding option crawling to the sanity tests
2022-01-18 16:20:33 +00:00
Adam Brown
a3dd3a830c
fixing wrong wait function being used
2022-01-18 16:20:33 +00:00
Benoit Marty
f8afe04a3b
Merge pull request #4842 from vector-im/feature/aris/integration_tests_improvement
...
Trying to fix integration tests
2022-01-12 17:11:16 +01:00
Benoit Marty
d5968e442c
Test: Fix test after change on OnBoarding screens
2022-01-10 14:31:29 +01:00
Benoit Marty
a552be040d
Test: Analytics opt-in
2022-01-10 14:16:58 +01:00
Benoit Marty
67c2f9ac51
Cleanup
2022-01-10 14:16:03 +01:00
ariskotsomitopoulos
261030f51e
- Fix integration tests (still not perfect while github actions are very very limited for that)
...
- Split them in msdk and app test along with multiple smaller steps.
- Mark the not working tests with @Ignore so that they will not run neither local or on github actions
- Add user friendly comment on PR to view the results
2022-01-05 23:42:57 +02:00
Benoit Marty
185afe403f
Rename some string resources
2022-01-04 14:25:36 +01:00
Benoit Marty
27161bf794
preventMutation is not needed anymore, since we now uses EpoxyCharSequence
2022-01-03 14:23:29 +01:00
Adam Brown
6918372a87
extracting the emoji processing to an interface so that we can override the behaviour in the unit test
2021-12-17 10:38:49 +00:00
Benoit Marty
32820f7893
Comment out some part of the test to make it pass. Tested manually for this time.
2021-12-14 13:27:33 +01:00
Benoit Marty
b9799b46fd
Fix test compilation
2021-12-13 22:45:24 +01:00
Benoit Marty
96b186ca8c
Add tests to cover the new feature
2021-12-13 20:28:58 +01:00
Benoit Marty
e8fbbe2b97
Fix the test
2021-12-13 20:09:33 +01:00
Adam Brown
e3155b6c98
removing notifications v1, v2 is live
2021-12-03 16:08:44 +00:00
Adam Brown
11669fa2ac
porting the notifications setting version to the vector features
2021-12-03 15:26:43 +00:00
Adam Brown
cc27c37c1e
fixing ktlint errors
2021-11-18 18:50:51 +00:00
Adam Brown
08f9fad23e
adding logs to try and find out where the github actions are failing
2021-11-18 18:43:59 +00:00
Adam Brown
1c6b2ceb4b
adding retrying to the reaction long pressing and extra visibilty check for dialogs
2021-11-18 17:53:52 +00:00
Adam Brown
1b5868644a
add wait for dialogs
2021-11-18 17:53:34 +00:00
Adam Brown
38f0640d2c
tapping the timeline settings via the overflow small devices can't tap the title
...
- waiting for the message edits bottom sheet
- waiting for the reactions bottom sheet
2021-11-18 17:52:45 +00:00
Adam Brown
97d768e392
adding expected open/closed state to the bottom sheet waiting
2021-11-18 17:52:20 +00:00
Adam Brown
69745ea74e
waiting until the room avatar item is ready as the title and list have a loading state
2021-11-18 17:51:57 +00:00
Adam Brown
b57d414189
increase app timeout as sign out can block for a long time
2021-11-18 17:51:34 +00:00
Benoit Marty
8d8565ca63
Quick fix on this file
2021-11-15 21:37:51 +01:00
Benoit Marty
eb39b37374
Fix warning after rebase (it's for test, so OK to suppress warning)
2021-11-15 21:35:01 +01:00
Adam Brown
42648298b6
formatting
2021-11-10 17:09:08 +00:00
Adam Brown
10a8a45391
waiting for the sent message to be rendered in the timeline
2021-11-10 17:07:10 +00:00
Adam Brown
c8ae3f9a83
removing unused imports
2021-11-10 17:07:10 +00:00
Adam Brown
411be43287
waiting for the edited text to appear instead of sleeping
2021-11-10 17:07:10 +00:00
Adam Brown
2583a6d6bf
taking screenshots on sanity test failure
2021-11-10 17:07:10 +00:00
Adam Brown
fc865682b1
waiting for the message actions bottom sheet when interacting with the message options
2021-11-10 17:07:10 +00:00
Adam Brown
39b4116699
adding bottomsheet idling resource to wait for expand and hide events
2021-11-10 17:07:10 +00:00
Adam Brown
e5edfe9c73
adding dedicated message menu robot and adding sanity check for developer mode flows
2021-11-10 17:07:10 +00:00
Adam Brown
2a66efb733
adding helper to fetch text from resources
2021-11-10 17:07:10 +00:00
Adam Brown
528c5a3671
adding warning when the signout flow is unexpected
2021-11-08 17:08:53 +00:00
Adam Brown
3add33eb0d
removing unused imports
2021-11-08 15:11:03 +00:00
Adam Brown
579963733b
moving verification dismissing to the robot
2021-11-08 15:03:34 +00:00
Adam Brown
f61d20a7f8
adding sign out + re-sign in flows to the robots
...
- the verification popup if flaky so we're attempting both exit flows if needed
2021-11-08 14:50:58 +00:00
Benoit Marty
2b58c0e5ab
ktlint
2021-11-08 15:06:23 +01:00
Adam Brown
78675d4aa1
fixing formatting
2021-11-05 15:48:45 +00:00
Adam Brown
657a613374
ensuring we wait for the create room fragment to be ready
2021-11-05 15:47:21 +00:00
Adam Brown
b1397aee51
relying on createRoom to close itself rather than the newRoom flow
2021-11-05 15:35:57 +00:00
Adam Brown
0405c2df8d
adding missing activity wait whilst navigating to the room members
2021-11-05 15:01:06 +00:00
Adam Brown
803929ea45
using static imports for the espresso helpers and reusing existing wait for view
2021-11-05 14:56:29 +00:00
Adam Brown
7b6773f90e
removing no longer needed sleeps
2021-11-05 14:44:22 +00:00
Adam Brown
264f49b02c
moving settings robots to their own pacakge
2021-11-05 14:41:01 +00:00
Adam Brown
32f5893798
moving the signout to the robot but commenting out whilst a bug is fixed
...
- also makes waitForActivity stronger by also waiting for child views
2021-11-05 14:38:20 +00:00
Adam Brown
0f1c9f4af5
porting ui base to be a onboarding robot and providing via the element robot
2021-11-05 13:56:51 +00:00
Adam Brown
17789f00bb
ensuring we end up back where we started via the root robot helpers
2021-11-05 13:29:45 +00:00
Adam Brown
d2aec09b5b
making all waitForViews have an initial 100ms wait this completely removed the flakyness when running the tests on my emulator
2021-11-05 13:29:16 +00:00
Adam Brown
f08d3965c1
replacing sleeps with view waits where possible
2021-11-05 11:26:30 +00:00
Adam Brown
e0544a677d
removing sleeps in favour of waiting for the views to become ready
...
- improves the flakyness around the bottom sheets and dialogs
2021-11-05 11:16:00 +00:00
Adam Brown
5284765149
adding helper for waiting until view is ready
2021-11-05 10:33:19 +00:00
Adam Brown
557609c175
porting the room flows to the robot pattern
2021-11-04 16:14:51 +00:00
Adam Brown
e800c59f57
porting the new direct message checks to the robot pattern
2021-11-04 15:00:15 +00:00
Adam Brown
67fe07a385
porting settings crawling to the robot pattern
2021-11-04 14:46:01 +00:00
Adam Brown
2f3716d9b9
using robot pattern to navigate the settings
...
- will allow reuse of navigating around the app (eg enabling develop options and go back to previous locations)
2021-11-04 12:55:54 +00:00
Adam Brown
ed4f26de81
adding login timeouts to reduce flakyness during login
2021-11-04 12:35:03 +00:00
Benoit Marty
612f0c77ea
Wait a bit more
2021-10-08 16:26:36 +02:00
Benoit Marty
f5375c7af2
Run ./gradlew ktlintFormat
2021-10-02 11:49:28 +02:00
Benoit Marty
d1e9f3131a
Big annoying commit: execute command ./gradlew ktlintFormat
- Fix "colon-spacing"
2021-10-01 13:31:15 +02:00
Benoit Marty
2ca3c68611
Big annoying commit: execute command ./gradlew ktlintFormat
- Fix "import-ordering"
2021-10-01 13:31:15 +02:00
Benoit Marty
f39d2b141e
Wait for emoji to load, it's async now
...
Testing before release 1.3.0
2021-09-27 12:56:05 +02:00
Benoit Marty
1b262a4df8
Merge pull request #4071 from vector-im/tools/adm/connected_tests
...
Fixing no tests found when running vector:connectedAndroidTest
2021-09-24 09:53:04 +02:00
Adam Brown
4f340f6b90
adding extra sleeps in order to get the tests completing more consistently locally
2021-09-23 20:21:24 +01:00
ganfra
fc5c6b9b00
RoomDetail: lazy load EmojiDataSource data (+ async)
2021-09-23 13:13:16 +02:00
Benoit Marty
a76aedbbc7
Fix clicking on edited message
2021-09-03 17:02:14 +02:00
Benoit Marty
2b1c517f64
Fix test broken sometimes, and test new bottom sheet about room type
2021-09-03 17:02:14 +02:00
Benoit Marty
01dae575de
Fix sanity test with new notification V2 screens
2021-09-03 17:02:14 +02:00
Benoit Marty
73881d0813
Upgrade dependency on Barista.
...
Should fix #3929
Barista has changed location since 4.0.0
2021-09-03 17:02:14 +02:00
Benoit Marty
fc22376050
Ignore warning in test.
...
There is probably a better way than using the GlobalScope, but I'm not sure how to do it now.
2021-09-03 17:02:14 +02:00
Paulo Pinto
e61c8c28bb
Standardise spelling and casing of homeserver
...
Signed-off-by: Paulo Pinto <paulo.pinto@automattic.com>
2021-07-15 15:58:50 +01:00
Benoit Marty
25f7f29d94
Implement a workaround to render <del> and <u> in the timeline ( #1817 )
2021-05-19 15:15:34 +02:00
Benoit Marty
2d6fca9214
Merge pull request #3143 from vector-im/feature/bma/discovery_filtering
...
Filter some other words when navigating into the room directory
2021-04-09 08:52:32 +02:00
Benoit Marty
f1e280827d
Ensure there is no dup and cleanup
2021-04-08 19:39:49 +02:00
Benoit Marty
153d393bf1
Prevent searching for forbidden terms
2021-04-08 17:28:47 +02:00
Benoit Marty
1715143b85
Filter some other words
...
Cannot filter canonical alias anymore, as we now use word boundaries
2021-04-08 16:54:41 +02:00
Benoit Marty
c6bd378104
Test is passing
2021-04-08 12:44:28 +02:00
oogm
e8015bfbd4
Update emoji_picker_datasource.json to Unicode 13.1 and dynamically filter reactions by renderability
2021-03-15 00:20:59 +01:00
Benoit Marty
8580f46ec1
Fix other issue in test
2021-02-19 21:29:23 +01:00
Benoit Marty
490a8551ac
Items have been reordered
2021-02-19 21:29:23 +01:00
Benoit Marty
0f328fda44
Add the new screen to the sanity test
2021-02-19 21:29:23 +01:00
Benoit Marty
dea76fd81b
Fix test compilation
2021-02-18 15:36:51 +01:00
Benoit Marty
5fb273a5c8
Update sanity test
2021-02-11 11:04:07 +01:00
Valere
73fccdd6de
fix test compilation
2021-02-03 15:38:16 +01:00
Valere
697b551b9b
Cleaning / Code review
2021-02-02 23:10:14 +01:00
Onuray Sahin
883a7cecf0
Fix viewbinding npe crashes.
2021-01-22 15:34:40 +03:00
Benoit Marty
75e06d43c5
Cover room settings screens by the sanity unit test
2021-01-07 12:29:34 +01:00
Benoit Marty
27e5626fcf
Test has been passed!
2020-12-16 16:07:18 +01:00
Valere
bcd86977d2
Fix test + lint
2020-11-25 17:17:48 +01:00
Benoit Marty
a37af307f4
Making progress
2020-11-09 20:03:44 +01:00
Benoit Marty
01a5ec4c41
Go deeper in the settings
2020-11-09 16:56:20 +01:00
Benoit Marty
b09d45718a
Make id for recyclerView less generic, and remove unused layout
2020-11-09 16:56:20 +01:00
Benoit Marty
07c805a019
Create sanity test with all screens path
...
Introduce `com.schibsted.spain:barista`
2020-11-09 16:56:20 +01:00
Benoit Marty
482bb51640
More cleanup
2020-09-30 17:50:36 +02:00
Valere
3642ca5b4a
cleaning
2020-09-30 11:05:06 +02:00
Valere
2908a5d345
Added first ui bootstrap test
2020-09-30 10:13:59 +02:00
Valere
1e3bdd6a2e
Fix test
2020-09-29 18:00:15 +02:00
Benoit Marty
b14d22550b
PR Review
...
Cleanup and Add command line to run the UI tests
2020-09-29 15:12:25 +02:00
Valere
f79784bc8c
Stabilisation
...
Hide keyboard before entering text
2020-09-29 12:51:27 +02:00
Valere
bc2c345e21
First automated UI tests
2020-09-29 12:51:27 +02:00
Benoit Marty
a1f90abcd2
Rename package im.vector.riotx
to im.vector.app
(IDE)
2020-08-03 18:46:29 +02:00
Valere
4ce2478e44
Fix 404 when uploading xsigning keys
...
Own device keys was not yet uploaded, now it's done on session open . + added some cleaning of legacy things
2020-06-29 16:37:22 +02:00
Benoit Marty
1cd27d7f67
First commit to cleanup ReAuthHelper and it's usage
...
Also add some comment and do some other cleanup
2020-06-29 16:36:19 +02:00
Benoit Marty
a4192a0761
Emoji completion 🎉 does not completes to 🎉 like on web ( #1285 )
2020-04-28 14:29:43 +02:00
Benoit Marty
9c8ff7de7f
Add Android test for EmojiDataSource
2020-04-28 14:15:50 +02:00
Benoit Marty
8422c6de17
Remove test sample
2019-10-24 17:21:19 +02:00
Benoit Marty
504009499f
Rename im.vector.riotredesign to im.vector.riotx
2019-07-02 17:27:08 +02:00
Benoit Marty
9048a1dbbe
Rename app
to vector
2019-04-02 11:24:54 +02:00