Commit Graph

177 Commits

Author SHA1 Message Date
Dominik Henneke
0040181489
Correctly fill window.matrixChat even when a Wrapper module is active (#26395)
Signed-off-by: Dominik Henneke <dominik.henneke@nordeck.net>
2023-10-18 21:13:30 -04:00
Michael Telatynski
7fe11a6026
Make tests happier
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2023-09-26 12:28:31 +01:00
Michael Telatynski
f659c47a61
Update loading-test.tsx 2023-09-06 18:14:38 +01:00
Michael Telatynski
c525b633bd
Migrate translations to keys and switch to Localazy (#26106) 2023-09-05 17:17:25 +01:00
maheichyk
3fd6b62254
Add support for rendering a custom wrapper around Element (#25537)
Co-authored-by: Mikhail Aheichyk <mikhail.aheichyk@nordeck.net>
2023-08-30 07:52:41 +01:00
Michael Telatynski
017fbb3793
Remove redundant makeRegistrationUrl prop (#25953) 2023-08-15 16:18:55 +01:00
Michael Telatynski
7351c722be
Fix tests for Matrix v1.1 requirement (#25898) 2023-08-14 09:07:43 +01:00
renovate[bot]
790ff16701
Update all non-major dependencies (#25858)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-07-27 11:33:18 +01:00
Kerry
e68583a6e2
Test: don't unmount MatrixChat before setup is finished (#25783) 2023-07-17 08:50:13 +12:00
Šimon Brandner
93e6ee11ab
Switch to the new session API for screen-sharing (#25802) 2023-07-14 22:05:23 +02:00
Kerry
ef30662c04
store fragmentafterlogin in sesison storage for oidc login (#25688) 2023-07-11 02:19:15 +00:00
夜坂雅
93c17104f1
Allow default_server_config as a fallback config (#25682) 2023-07-10 09:56:24 +01:00
Michael Telatynski
0299aef79d
Conform more of the codebase to strictNullChecks & noImplicitAny (#25680) 2023-06-28 15:09:36 +01:00
Andy Balaam
1fb03c82fe
Ensure we actually wait for the login form to appear in loading-test (#25287) 2023-05-05 12:53:12 +01:00
Andy Balaam
f00c742ebc
Wait for login screen to appear in loading-test (#25276) 2023-05-05 11:56:35 +01:00
Michael Telatynski
a722b71b6c
Remove unused property (#25213) 2023-04-28 10:07:48 +01:00
Michael Telatynski
f5b8bccb65
Conform more of the codebase with noImplicitAny and strictNullChecks (#25174
* Conform more of the codebase with `noImplicitAny` and `strictNullChecks`

* Fix tests

* Update src/vector/app.tsx
2023-04-25 09:36:17 +01:00
renovate[bot]
1ebe574ab1
Update dependency typescript to v5 (#25050)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2023-04-06 13:17:51 +01:00
Kerry
f033becebb
remove makeType utility from loading-test (#24958) 2023-03-28 09:01:33 +13:00
Michael Telatynski
b9b0b096a4
Allow desktop app to expose recent rooms in UI integrations (#16940) 2023-03-22 09:22:51 +00:00
Andy Balaam
3903e86d9c
Upgrade our eslint config to the latest (#24647)
* Fix lint error in test-utils.ts

* Upgrade eslint config (and separate projects to support it)

* Handle possibility that req.error could be null
2023-03-01 14:44:03 +00:00
Travis Ralston
805c90ade7
Use Identity Server v2 API for tests (#24086) 2023-01-03 00:59:00 -07:00
Michael Weimann
7921a6cbf8
Apply prettier formatting 2022-12-09 13:28:29 +01:00
Michael Weimann
cbf5c43ae7
Update to eslint-plugin-matrix-org 0.8 (#23825)
* Update to eslint-plugin-matrix-org 0.8

* Exclude some eslint rules for specs

* Fix eslint tests path
2022-11-23 16:24:36 +00:00
Michael Telatynski
172f2f3993
Fix tests and convert to RTL (#23474) 2022-10-13 09:22:34 +01:00
Michael Telatynski
2ef6abbfb8
Move from browser-request to fetch (#23427) 2022-10-12 18:59:10 +01:00
Kerry
0e8e472138
Device manager - tweak string formatting of default device name (#23457)
* tweak string formatting of default device name

* cheaters path to beating quality gate

* more electronplatform test coverage

* remove test that throw errors

* cover some more window.electrons

* more coverage

* empty line
2022-10-12 15:35:52 +02:00
Michael Telatynski
d8124d37e4
Improve coverage (#23380) 2022-09-30 18:27:59 +01:00
Michael Telatynski
5ec96f5abe
Add test coverage (#23341) 2022-09-23 09:42:03 +01:00
Janne Mareike Koschinski
e873e84130
Disable tests relying on old room directory 2022-07-15 12:22:33 +02:00
Michael Weimann
ecda0a1073
Adapt to new ValidatedServerConfig location (#22842) 2022-07-14 15:04:32 +02:00
Michael Telatynski
017dfb6606
Write additional tests (#22802)
* Write additional tests

* Make Sonar happier
2022-07-11 13:22:37 +01:00
Kerry
5ade461ea5
unit test getVectorConfig (#22373)
* test getconfig

Signed-off-by: Kerry Archibald <kerrya@element.io>

* whitespace

Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-05-27 13:09:27 +00:00
Kerry
9df5bf17f4
unit test WebPlatform (#22371)
* test most version stuff

Signed-off-by: Kerry Archibald <kerrya@element.io>

* tidy

Signed-off-by: Kerry Archibald <kerrya@element.io>

* eof

Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-05-27 10:30:13 +00:00
Travis Ralston
e1f9e9a8f8 Step 8.1: Remove skin-sdk.js 2022-03-28 13:02:50 -06:00
Travis Ralston
384903361d Step 4: Disable/remove bulk of skinner code 2022-03-28 13:02:50 -06:00
Travis Ralston
1bbecdff6c Step 3.1: Stop using getComponent in tests 2022-03-28 13:02:50 -06:00
Germain
f149f9a9ad
Add mock to /versions API endpoint (#21380) 2022-03-11 09:04:41 +00:00
Michael Telatynski
240c3be014
Mandate use of js-sdk/src/matrix import over js-sdk/src (#21257) 2022-03-01 19:26:22 +00:00
Michael Telatynski
9115fb7509
Expect /capabilities after startClient in app tests (#20599) 2022-01-18 09:55:56 +00:00
Germain
8a9f677a76
Fix app tests for new startClient method (#20482) 2022-01-11 12:58:55 +00:00
Matthew Hodgson
9b780e0e60
Simple static location sharing (#19754)
Adds static location share a la [MSC3488](https://github.com/matrix-org/matrix-doc/pull/3488) behind a labs flag, supporting legacy `m.location` `msgtype` too.  Powered by https://github.com/matrix-org/matrix-react-sdk/pull/7135.  Adds maplibre as a dependency.

To make this work, you have to add a valid `map_style_url` to your config.json.
2021-12-06 10:11:06 +00:00
Dariusz Niemczyk
4efa0b215f
Add typescript support and fix tests after threads work (#19247)
* Typescriptify tests
* Fix tests after threads work
* Add proper types for jest
2021-10-01 15:48:57 +01:00
Dariusz Niemczyk
fe9d0189a0
Revert "Typescriptify tests"
This reverts commit 2a4dcd1267.
2021-10-01 15:41:32 +02:00
Dariusz Niemczyk
ef436b8fa7
Revert "Fix joining-test"
This reverts commit ecf29d9409.
2021-10-01 15:41:28 +02:00
Dariusz Niemczyk
e15d27b316
Revert "Fix loading-test"
This reverts commit 155d80b3fa.
2021-10-01 15:41:25 +02:00
Dariusz Niemczyk
935f95fcde
Revert "Fix typescript errors"
This reverts commit 37a0957285.
2021-10-01 15:41:22 +02:00
Dariusz Niemczyk
37a0957285
Fix typescript errors 2021-10-01 15:22:46 +02:00
Dariusz Niemczyk
155d80b3fa
Fix loading-test 2021-10-01 15:18:50 +02:00
Dariusz Niemczyk
ecf29d9409
Fix joining-test 2021-10-01 15:18:42 +02:00