element-web/test
Travis Ralston 4171c008a4
Convert sticker end-to-end tests to Cypress (#8807)
* Convert sticker end-to-end tests to Cypress

Reference materials:
* https://www.cypress.io/blog/2020/02/12/working-with-iframes-in-cypress/
* https://github.com/cypress-io/cypress/issues/136
* https://docs.cypress.io/api/commands/origin#Other-limitations

Ideally we'd be able to use `cy.origin()` to jump into the iframe, but it's explicitly not supported. Instead we disable web security as instructed by cypress because it's our only reasonable option here. Thankfully, disabling web security doesn't appear to remove the crypto libraries from the browser so we can still function in that respect.

Rationale for why we can't just serve the sticker picker off the app domain is included in the code.

* Appease the linter

* More linter appeasement
2022-06-10 09:24:15 -06:00
..
__snapshots__ Don't try (and fail) to show replies for redacted events (#8141) 2022-03-24 12:17:42 +00:00
accessibility Step 8.1: Remove skinning setup from all tests 2022-03-28 14:02:31 -06:00
audio Step 8.1: Remove skinning setup from all tests 2022-03-28 14:02:31 -06:00
autocomplete Resolve emoji autocomplete not being temporally consistent (#8086) 2022-04-14 20:31:50 +00:00
components Update the live timeline when the JS SDK resets it (#8806) 2022-06-10 08:59:07 -04:00
editor Add support for MD / HTML in room topics (#8215) 2022-06-07 14:20:32 -06:00
end-to-end-tests Convert sticker end-to-end tests to Cypress (#8807) 2022-06-10 09:24:15 -06:00
hooks Add public room directory hook (#8626) 2022-05-19 09:03:29 +01:00
i18n
i18n-test Fall back to untranslated string rather than showing missing translation error (#8609) 2022-05-16 13:28:24 +01:00
images Add support for Animated (A)PNG (#8158) 2022-03-28 09:38:54 +01:00
img
notifications Typescriptification - notification utils (#8209) 2022-04-01 08:45:50 +02:00
settings Fix font not resetting when logging out (#8670) 2022-05-26 09:56:53 +01:00
setup Step 8.2: Fix wiring of jest test setup to avoid import cycle issues 2022-03-28 14:02:31 -06:00
stores Expire video member events after 1 hour (#8776) 2022-06-09 13:19:52 +00:00
test-utils Update the live timeline when the JS SDK resets it (#8806) 2022-06-10 08:59:07 -04:00
utils Live location share - enable reply and react to tiles (#8721) 2022-06-02 15:43:19 +00:00
.eslintrc.js Eslint - require copyright header rule (#8514) 2022-05-06 09:09:28 +00:00
CallHandler-test.ts Make system fonts work more reliably (#8602) 2022-05-23 17:29:16 +01:00
DecryptionFailureTracker-test.js Add raw error to analytics E2E error event context (#8447) 2022-05-04 21:46:03 -06:00
DeviceListener-test.ts Step 8.1: Remove skinning setup from all tests 2022-03-28 14:02:31 -06:00
HtmlUtils-test.tsx Add support for MD / HTML in room topics (#8215) 2022-06-07 14:20:32 -06:00
Image-test.ts Step 8.1: Remove skinning setup from all tests 2022-03-28 14:02:31 -06:00
KeyBindingsManager-test.ts Work towards unifying `KeyboardShortcuts` and `KeyBindingsDefaults` #2 (#7674) 2022-01-31 15:55:45 +00:00
Markdown-test.ts Fix formatting not being applied after links (#7990) 2022-03-08 13:12:36 +00:00
MatrixClientPeg-test.ts use fake timers and restore mocks in MatrixClientPeg test (#8356) 2022-04-19 14:44:15 +02:00
PosthogAnalytics-test.ts Replace deprecated String#substr with String#slice (#8314) 2022-04-14 07:52:42 +00:00
Reply-test.ts Step 8.1: Remove skinning setup from all tests 2022-03-28 14:02:31 -06:00
RoomNotifs-test.ts Fix js-sdk types (#8588) 2022-05-13 19:13:21 +00:00
ScalarAuthClient-test.ts Test typescriptification - Terms/ScalarAuthClient (#8480) 2022-05-03 15:09:07 +00:00
SlashCommands-test.tsx Add support for MD / HTML in room topics (#8215) 2022-06-07 14:20:32 -06:00
Terms-test.tsx Test typescriptification - Terms/ScalarAuthClient (#8480) 2022-05-03 15:09:07 +00:00
TextForEvent-test.ts Eslint - require copyright header rule (#8514) 2022-05-06 09:09:28 +00:00
UserActivity-test.ts Typescriptification - notification utils (#8209) 2022-04-01 08:45:50 +02:00
createRoom-test.ts Revert "Make widgets in video rooms mutable again to de-risk future upgrades" (#8803) 2022-06-09 09:56:02 -04:00
globalSetup.js Eslint - require copyright header rule (#8514) 2022-05-06 09:09:28 +00:00
languageHandler-test.ts Add support for overriding strings in the app (#7886) 2022-03-01 11:53:09 -07:00
linkify-matrix-test.ts Delete groups (legacy communities system) (#8027) 2022-03-22 23:07:37 +00:00
setupTests.js Eslint - require copyright header rule (#8514) 2022-05-06 09:09:28 +00:00
useTopic-test.tsx Add support for MD / HTML in room topics (#8215) 2022-06-07 14:20:32 -06:00