Commit graph

7 commits

Author SHA1 Message Date
Kerry
3de2bcdc1a
Fix: cypress toasts/analytics-toast.spec.ts failures ()
* Revert "skip broken analytics tests ()"

This reverts commit 83ee1946ea.

* reset window notification permission between tets
2023-06-28 21:02:58 +00:00
Kerry
83ee1946ea
skip broken analytics tests () 2023-06-27 08:47:49 +00:00
Michael Telatynski
86ea059de6
Make cypress happy about spec files all containing tests () 2023-04-25 15:42:59 +00:00
devonh
79033eb034
Add dendrite support to cypress tests ()
* Minimum hacks required to run cypress tests with dendrite

* Remove wget hack since dendrite containers now have curl

* Add basic dendritedocker plugin & hack into login spec for testing

* Add generic HomeserverInstance interface

* Add env var to configure which homeserver to use

* Remove synapse specific homeserver support api

* Update the rest of the tests to use HomeserverInstance

* Update cypress docs to reference new homeserver abstraction

* Fix formatting issues

* Change dendrite to use main branch container
2023-01-10 16:29:56 -07:00
Michael Weimann
526645c791
Apply prettier formatting 2022-12-12 12:24:14 +01:00
Michael Telatynski
2cf8a9a2f7
Stabilise Cypress login tests ()
* Attempt to stabilise login tests

* More stability

* Stabilise s'more

* don't clear LS as we rely on it for enablements

* Add small delay

* Iterate

* Update login.ts
2022-10-18 17:07:23 +01:00
Michael Telatynski
f566c600e2
Port remaining Puppeteer tests over to Cypress ()
* Port remaining Puppeteer tests over to Cypress

* Remove puppeteer support files

* Fix lifecycle matrixclientpeg setup race condition

* Alternative solution to the lifecycle problem

* Dismiss the notifications toast
2022-07-29 14:03:25 +00:00