805c90ade7 
								
									
								
							
								 
							
						 
						
							
							
								
								Use Identity Server v2 API for tests ( #24086 )  
							
							
							
						 
						
							2023-01-03 00:59:00 -07:00  
				
					
						
							
							
								 
						
							
							
								7921a6cbf8 
								
									
								
							
								 
							
						 
						
							
							
								
								Apply prettier formatting  
							
							
							
						 
						
							2022-12-09 13:28:29 +01:00  
				
					
						
							
							
								 
						
							
							
								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  
				
					
						
							
							
								 
						
							
							
								172f2f3993 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix tests and convert to RTL ( #23474 )  
							
							
							
						 
						
							2022-10-13 09:22:34 +01:00  
				
					
						
							
							
								 
						
							
							
								2ef6abbfb8 
								
									
								
							
								 
							
						 
						
							
							
								
								Move from `browser-request` to `fetch` ( #23427 )  
							
							
							
						 
						
							2022-10-12 18:59:10 +01:00  
				
					
						
							
							
								 
						
							
							
								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  
				
					
						
							
							
								 
						
							
							
								d8124d37e4 
								
									
								
							
								 
							
						 
						
							
							
								
								Improve coverage ( #23380 )  
							
							
							
						 
						
							2022-09-30 18:27:59 +01:00  
				
					
						
							
							
								 
						
							
							
								5ec96f5abe 
								
									
								
							
								 
							
						 
						
							
							
								
								Add test coverage ( #23341 )  
							
							
							
						 
						
							2022-09-23 09:42:03 +01:00  
				
					
						
							
							
								 
						
							
							
								e873e84130 
								
									
								
							
								 
							
						 
						
							
							
								
								Disable tests relying on old room directory  
							
							
							
						 
						
							2022-07-15 12:22:33 +02:00  
				
					
						
							
							
								 
						
							
							
								ecda0a1073 
								
									
								
							
								 
							
						 
						
							
							
								
								Adapt to new ValidatedServerConfig location ( #22842 )  
							
							
							
						 
						
							2022-07-14 15:04:32 +02:00  
				
					
						
							
							
								 
						
							
							
								017dfb6606 
								
									
								
							
								 
							
						 
						
							
							
								
								Write additional tests ( #22802 )  
							
							... 
							
							
							
							* Write additional tests
* Make Sonar happier 
							
						 
						
							2022-07-11 13:22:37 +01:00  
				
					
						
							
							
								 
						
							
							
								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  
				
					
						
							
							
								 
						
							
							
								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  
				
					
						
							
							
								 
						
							
							
								e1f9e9a8f8 
								
							
								 
							
						 
						
							
							
								
								Step 8.1: Remove skin-sdk.js  
							
							
							
						 
						
							2022-03-28 13:02:50 -06:00  
				
					
						
							
							
								 
						
							
							
								384903361d 
								
							
								 
							
						 
						
							
							
								
								Step 4: Disable/remove bulk of skinner code  
							
							
							
						 
						
							2022-03-28 13:02:50 -06:00  
				
					
						
							
							
								 
						
							
							
								1bbecdff6c 
								
							
								 
							
						 
						
							
							
								
								Step 3.1: Stop using `getComponent` in tests  
							
							
							
						 
						
							2022-03-28 13:02:50 -06:00  
				
					
						
							
							
								 
						
							
							
								f149f9a9ad 
								
									
								
							
								 
							
						 
						
							
							
								
								Add mock to /versions API endpoint ( #21380 )  
							
							
							
						 
						
							2022-03-11 09:04:41 +00:00  
				
					
						
							
							
								 
						
							
							
								240c3be014 
								
									
								
							
								 
							
						 
						
							
							
								
								Mandate use of js-sdk/src/matrix import over js-sdk/src ( #21257 )  
							
							
							
						 
						
							2022-03-01 19:26:22 +00:00  
				
					
						
							
							
								 
						
							
							
								9115fb7509 
								
									
								
							
								 
							
						 
						
							
							
								
								Expect /capabilities after startClient in app tests ( #20599 )  
							
							
							
						 
						
							2022-01-18 09:55:56 +00:00  
				
					
						
							
							
								 
						
							
							
								8a9f677a76 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix app tests for new startClient method ( #20482 )  
							
							
							
						 
						
							2022-01-11 12:58:55 +00:00  
				
					
						
							
							
								 
						
							
							
								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  
				
					
						
							
							
								 
						
							
							
								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  
				
					
						
							
							
								 
						
							
							
								fe9d0189a0 
								
									
								
							
								 
							
						 
						
							
							
								
								Revert "Typescriptify tests"  
							
							... 
							
							
							
							This reverts commit 2a4dcd1267 
							
						 
						
							2021-10-01 15:41:32 +02:00  
				
					
						
							
							
								 
						
							
							
								ef436b8fa7 
								
									
								
							
								 
							
						 
						
							
							
								
								Revert "Fix joining-test"  
							
							... 
							
							
							
							This reverts commit ecf29d9409 
							
						 
						
							2021-10-01 15:41:28 +02:00  
				
					
						
							
							
								 
						
							
							
								e15d27b316 
								
									
								
							
								 
							
						 
						
							
							
								
								Revert "Fix loading-test"  
							
							... 
							
							
							
							This reverts commit 155d80b3fa 
							
						 
						
							2021-10-01 15:41:25 +02:00  
				
					
						
							
							
								 
						
							
							
								935f95fcde 
								
									
								
							
								 
							
						 
						
							
							
								
								Revert "Fix typescript errors"  
							
							... 
							
							
							
							This reverts commit 37a0957285 
							
						 
						
							2021-10-01 15:41:22 +02:00  
				
					
						
							
							
								 
						
							
							
								37a0957285 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix typescript errors  
							
							
							
						 
						
							2021-10-01 15:22:46 +02:00  
				
					
						
							
							
								 
						
							
							
								155d80b3fa 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix loading-test  
							
							
							
						 
						
							2021-10-01 15:18:50 +02:00  
				
					
						
							
							
								 
						
							
							
								ecf29d9409 
								
									
								
							
								 
							
						 
						
							
							
								
								Fix joining-test  
							
							
							
						 
						
							2021-10-01 15:18:42 +02:00  
				
					
						
							
							
								 
						
							
							
								2a4dcd1267 
								
									
								
							
								 
							
						 
						
							
							
								
								Typescriptify tests  
							
							
							
						 
						
							2021-10-01 14:56:07 +02:00  
				
					
						
							
							
								 
						
							
							
								26fef6f294 
								
							
								 
							
						 
						
							
							
								
								actually run the new test and remove unrelated tweak  
							
							
							
						 
						
							2021-07-16 13:45:10 +01:00  
				
					
						
							
							
								 
						
							
							
								b03b4582c0 
								
							
								 
							
						 
						
							
							
								
								Merge branch 'develop' of github.com:vector-im/element-web into t3chguy/querystring  
							
							... 
							
							
							
							 Conflicts:
	package.json
	src/@types/global.d.ts
	src/vector/app.tsx
	src/vector/jitsi/index.ts
	src/vector/platform/WebPlatform.ts
	yarn.lock 
							
						 
						
							2021-07-16 12:45:37 +01:00  
				
					
						
							
							
								 
						
							
							
								06852436e6 
								
							
								 
							
						 
						
							
							
								
								Fix loading-test for SSO plaf changes  
							
							... 
							
							
							
							Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> 
							
						 
						
							2020-06-25 23:59:08 +01:00  
				
					
						
							
							
								 
						
							
							
								19ff8dde1f 
								
							
								 
							
						 
						
							
							
								
								fix loading test for new sso pattern  
							
							... 
							
							
							
							Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> 
							
						 
						
							2020-06-03 20:35:56 +01:00  
				
					
						
							
							
								 
						
							
							
								a21d6e651f 
								
							
								 
							
						 
						
							
							
								
								Move dispatcher references in support of TypeScript conversion  
							
							... 
							
							
							
							See https://github.com/matrix-org/matrix-react-sdk/pull/4593  
							
						 
						
							2020-05-13 21:15:30 -06:00  
				
					
						
							
							
								 
						
							
							
								30a9094dc7 
								
							
								 
							
						 
						
							
							
								
								fix import in tests  
							
							... 
							
							
							
							Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> 
							
						 
						
							2020-04-23 10:19:06 +01:00  
				
					
						
							
							
								 
						
							
							
								afabf9d4b1 
								
							
								 
							
						 
						
							
							
								
								Fix tests post-js-sdk-filters change  
							
							... 
							
							
							
							Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> 
							
						 
						
							2020-04-20 19:47:16 +01:00  
				
					
						
							
							
								 
						
							
							
								8fdb41412f 
								
							
								 
							
						 
						
							
							
								
								Use URLSearchParams instead of transitive dependency `querystring`  
							
							... 
							
							
							
							Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> 
							
						 
						
							2020-04-12 01:45:58 +01:00  
				
					
						
							
							
								 
						
							
							
								c70bfe1f91 
								
							
								 
							
						 
						
							
							
								
								Update loading test for JS SDK IDB change  
							
							... 
							
							
							
							Part of https://github.com/vector-im/riot-web/issues/12207  
							
						 
						
							2020-02-27 14:57:52 +00:00  
				
					
						
							
							
								 
						
							
							
								fb77bcf762 
								
							
								 
							
						 
						
							
							
								
								Remove spinner check  
							
							... 
							
							
							
							We may no longer see a spinner for some login paths with the changes to add a
complete security step.
Part of https://github.com/vector-im/riot-web/issues/11214  
							
						 
						
							2020-01-16 16:07:49 +00:00  
				
					
						
							
							
								 
						
							
							
								3fb6b1ed63 
								
							
								 
							
						 
						
							
							
								
								Remove excessive sleep now that we're not using chrome  
							
							
							
						 
						
							2020-01-15 15:31:08 -07:00  
				
					
						
							
							
								 
						
							
							
								bcda501864 
								
							
								 
							
						 
						
							
							
								
								Replace usages of expect.toStartWith with boolean checks  
							
							
							
						 
						
							2020-01-15 14:44:46 -07:00  
				
					
						
							
							
								 
						
							
							
								84439cff86 
								
							
								 
							
						 
						
							
							
								
								Import the cryptostore from the right place  
							
							
							
						 
						
							2020-01-15 14:06:44 -07:00  
				
					
						
							
							
								 
						
							
							
								e37da08730 
								
							
								 
							
						 
						
							
							
								
								Replace beforeEach with just a cleanLocalstorage call  
							
							... 
							
							
							
							The rest isn't needed anymore. 
							
						 
						
							2020-01-15 14:06:24 -07:00  
				
					
						
							
							
								 
						
							
							
								3c9c0ec447 
								
							
								 
							
						 
						
							
							
								
								Leave the language handler setup to the test init scripts  
							
							
							
						 
						
							2020-01-15 14:05:55 -07:00  
				
					
						
							
							
								 
						
							
							
								161a1342b2 
								
							
								 
							
						 
						
							
							
								
								Swap over to Jest, breaking everything  
							
							
							
						 
						
							2020-01-15 13:24:19 -07:00  
				
					
						
							
							
								 
						
							
							
								a978a6734f 
								
							
								 
							
						 
						
							
							
								
								Fix CI tests  
							
							... 
							
							
							
							There's a bunch of generated files that webpack relies on to work, and Karma works off webpack. To make both happy we've added
a new `build:genfiles` script which takes care of this for us. We also have to install and build our other layers to get the
same effect (like generating the react-sdk's component index, while we still have one).
This commit also fixes all the imports in the tests because they were just wrong. They should have been caught in the ES6ification
earlier, but were missed. 
							
						 
						
							2020-01-13 20:40:00 -07:00  
				
					
						
							
							
								 
						
							
							
								17e332bb48 
								
							
								 
							
						 
						
							
							
								
								Import from src/ for the react-sdk and js-sdk  
							
							... 
							
							
							
							We compile directly for accuracy of sourcemaps. 
							
						 
						
							2019-12-23 20:02:11 -07:00  
				
					
						
							
							
								 
						
							
							
								73990acf7a 
								
							
								 
							
						 
						
							
							
								
								use function over const lambda  
							
							
							
						 
						
							2019-11-25 12:53:07 +00:00  
				
					
						
							
							
								 
						
							
							
								0a209fc340 
								
							
								 
							
						 
						
							
							
								
								Use promises in tests properly  
							
							
							
						 
						
							2019-11-22 14:08:45 +00:00