Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

E2E : move tchap functions out of element files #832

Merged

Conversation

estellecomment
Copy link
Contributor

@estellecomment estellecomment commented Nov 15, 2023

Tests still pass locally.

Created support/rooms.ts, and started moving tchap funcs into it.

Moving tchap funcs out of support/client.ts, which is copied from element and out of date. Then we can simply import the element version of client.ts and remove the copy (in future PR)

Moving tchap funcs out of room-utils.ts which isn't a cypress file. Cypress files have more boilerplate, but I'd rather have proper cypress funcs than home-made TS utils. It's more cleanly organized, but also it makes clear what functions contain cypress magic. (cypress calls are queued and executed later, which is not the standard js code execution)

@estellecomment estellecomment merged commit 9f53623 into develop_tchap Nov 15, 2023
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant