Commit graph

24 commits

Author SHA1 Message Date
renovate[bot]
d4cde9bf59
Update plugin paparazzi to v1.3.2 (#2229)
* Update plugin paparazzi to v1.3.2

* Add Guava dependency constraint as a workaround

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
2024-01-31 13:11:26 +01:00
Benoit Marty
5d086ad82d Fix moar ktlint issues 2024-01-11 10:02:10 +01:00
Jorge Martin Espinosa
f88507117b
Element Call SPA integration (#1283)
* Integrate Element Call into EX, being able to open its URLs and handle the call in-app.
* Add custom scheme support with format `element:call?url=...`.
* Update androix.webkit
* Silence the foreground service notification.
- Allow foreground service tap action to re-open the ongoing call.
- Unify notification small icons in different modules using a vector one.

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-09-15 16:39:44 +02:00
Benoit Marty
ecc7ba0089 Move io.element.android.tests.uitests.ScreenshotTest to ui.T to generate much shorter name for screenshot files. 2023-08-17 18:09:09 +02:00
Benoit Marty
4312a96851 Cleanup: there are no androidTest on those modules. 2023-07-24 12:41:02 +02:00
Benoit Marty
62354326a9 Exclude app module for now. 2023-07-19 15:27:21 +02:00
Benoit Marty
2b71922cae Ensure uitest take preview from app module. 2023-07-19 14:47:30 +02:00
Benoit Marty
2686e5d912 Ensure uitest take preview from appnav module. 2023-07-19 14:41:41 +02:00
Jorge Martin Espinosa
8865cc2b57
Disable Paparazzi tasks when Kover is running. (#884)
* Disable Paparazzi tasks when Kover is running.

It allows us to split the test jobs between unit tests, screenshot test and coverage reports.

* Move Sonar upload to the quality workflow, since we have no lint info in tests.
2023-07-17 10:55:51 +02:00
Jorge Martin Espinosa
9251cbf536 [Message Actions] Report messages (#642)
* Add report messages feature

* Try to improve how snackbars are delivered

---------

Co-authored-by: ElementBot <benoitm+elementbot@element.io>
2023-06-23 10:44:47 +02:00
Benoit Marty
2222ac7302 Add missing module, so that they can contribute to the screenshot test and the test coverage. 2023-06-16 17:13:00 +02:00
Benoit Marty
80b656a9c5 Use gradle logger to filter out when running with only warning logs. 2023-05-25 12:03:51 +02:00
Jorge Martin Espinosa
9a45e48d9e Group design components in Showkase for the Compound team (#375)
* Screenshot tests changes:

    - Group components for Showkase.
    - Set special Paparazzi config for scrolling screens using non null `Preview.heightDp`.
    - Add merged theme preview with `ElementThemedPreview` component.
2023-05-02 16:13:35 +00:00
Jorge Martin Espinosa
de010545fb Update Gradle to 8.1 and AGP to v8.0 (#329)
* Update AGP to 8.0.0.

* Set JAVA_HOME to JDK17

* Update lint version.

* Use right JDK for dependency analysis, replace deprecated env var.

* Upgrade to Gradle 8.1.

* Remove `@Supress(DSL_SCOPE_VIOLATION)` as it's no longer needed.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-04-17 08:49:52 +00:00
ganfra
91bff7fad4 Add utility methods for automatically including api/impl feature modules 2023-03-23 18:06:32 +01:00
Benoit Marty
b74e1e6074 allLibraries renamed to allLibrariesImpl and only reference implementation of the libraries. 2023-03-16 10:10:55 +01:00
Benoit Marty
9bdcaae0cf Create allFeatureApis extension and rename allFeatures to allFeaturesImpl 2023-03-09 14:52:40 +01:00
ganfra
0c6cd35b69 Rename tests/uitest modules 2023-01-20 17:51:52 +01:00
Benoit Marty
bfb8f4bba2 Cleanup 2023-01-18 15:49:57 +01:00
Benoit Marty
1336e2ab79 Change name of test 2023-01-18 15:49:57 +01:00
Benoit Marty
d68787b936 Plugin config 2023-01-18 15:20:45 +01:00
Benoit Marty
0c511b1092 Make generated code visible 2023-01-18 15:20:32 +01:00
Benoit Marty
7bbadf3765 Create extensions to include all libraries and all modules 2023-01-18 15:20:32 +01:00
Benoit Marty
d06351b69f Move Showkase to a dedicated module for ui tests. 2023-01-18 15:19:54 +01:00