Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Add credentials when calling bootstrapCrossSigning in Cypress tests #9919

Merged
merged 6 commits into from
Jan 19, 2023

Conversation

devonh
Copy link
Contributor

@devonh devonh commented Jan 17, 2023

Dendrite doesn't use the auth shortcut that Synapse uses whereby recently logged in users don't have to re-login when uploading keys. This updates the cypress tests to pass through credentials which are redundant when running with Synapse but required when running with Dendrite.


This change is marked as an internal change (Task), so will not be included in the changelog.

@devonh devonh requested a review from a team as a code owner January 17, 2023 00:07
@devonh devonh added the T-Task Refactoring, enabling or disabling functionality, other engineering tasks label Jan 17, 2023
Copy link
Contributor

@weeman1337 weeman1337 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tests are passing 👍 Some small comments in the code. Can you have a look?

cypress/e2e/crypto/crypto.spec.ts Outdated Show resolved Hide resolved
cypress/e2e/crypto/crypto.spec.ts Outdated Show resolved Hide resolved
cypress/e2e/crypto/decryption-failure.spec.ts Outdated Show resolved Hide resolved
@devonh
Copy link
Contributor Author

devonh commented Jan 17, 2023

Thanks for the quick review! I've implemented your suggestions and they clean things up a good amount.

Copy link
Contributor

@weeman1337 weeman1337 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@weeman1337 weeman1337 merged commit 422802e into matrix-org:develop Jan 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
T-Task Refactoring, enabling or disabling functionality, other engineering tasks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants