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

Cypress: Use Rust crypto for the bot user in verification tests #11173

Merged
merged 4 commits into from
Jul 7, 2023

Conversation

richvdh
Copy link
Member

@richvdh richvdh commented Jun 30, 2023

We can already start using the Rust crypto implementation for the "bot" user in the verification tests!

I actually want to do this to help me test QR code verification, which is going to mean wiring up QR code scanning, which legacy Crypto doesn't support, and which I would much rather do in the rust impl.

Suggest reviewing commit-by-commit.

Requires matrix-org/matrix-js-sdk#3536.


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

@richvdh richvdh added the T-Task Refactoring, enabling or disabling functionality, other engineering tasks label Jun 30, 2023
@richvdh richvdh force-pushed the rav/element-r/36_rust_crypto_for_cypress_bot branch 2 times, most recently from da1f473 to 7ad96ac Compare June 30, 2023 21:48
@richvdh richvdh force-pushed the rav/element-r/36_rust_crypto_for_cypress_bot branch 2 times, most recently from ed852fb to 3af577a Compare June 30, 2023 22:14
@@ -59,7 +59,6 @@ export function handleSasVerification(verifier: Verifier): Promise<EmojiMapping[

// @ts-ignore as above, avoiding reference to VerifierEvent
verifier.on("show_sas", onShowSas);
verifier.verify();
Copy link
Member Author

Choose a reason for hiding this comment

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

with startVerification, the verify is implicit, so this is no longer needed.

@richvdh richvdh force-pushed the rav/element-r/37_enable_cypress branch from 8738cf5 to 851d398 Compare July 3, 2023 11:23
Base automatically changed from rav/element-r/37_enable_cypress to develop July 3, 2023 12:13
@richvdh richvdh force-pushed the rav/element-r/36_rust_crypto_for_cypress_bot branch from 3af577a to 50e86bb Compare July 3, 2023 14:55
no functional change here, just combining the various `cy.wrap()`ed things into
a single async func
We can already start using the Rust crypto implementation for the "bot" user in
the verification tests!
@richvdh richvdh force-pushed the rav/element-r/36_rust_crypto_for_cypress_bot branch from 50e86bb to 9a6e734 Compare July 3, 2023 15:12
@richvdh richvdh marked this pull request as ready for review July 6, 2023 11:14
@richvdh richvdh requested a review from a team as a code owner July 6, 2023 11:14
@richvdh richvdh added this pull request to the merge queue Jul 7, 2023
Merged via the queue into develop with commit 1a75d5d Jul 7, 2023
24 checks passed
@richvdh richvdh deleted the rav/element-r/36_rust_crypto_for_cypress_bot branch July 7, 2023 17:20
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