You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-30 02:21:17 +03:00
Improvements to Playwright test infrastructure (#12260)
* Move mailhog fixture to element-web-test.ts Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Remove spurious debug log Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Lazily set up ElementAppPage subfixtures to avoid conflicting on network routing Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Update playwright/e2e/crypto/utils.ts --------- Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
committed by
GitHub
parent
300f30eca9
commit
0e22413885
@ -36,9 +36,7 @@ import { ElementAppPage } from "../../pages/ElementAppPage";
|
||||
export async function waitForVerificationRequest(client: Client): Promise<JSHandle<VerificationRequest>> {
|
||||
return client.evaluateHandle((cli) => {
|
||||
return new Promise<VerificationRequest>((resolve) => {
|
||||
console.log("~~");
|
||||
const onVerificationRequestEvent = async (request: VerificationRequest) => {
|
||||
console.log("@@", request);
|
||||
await request.accept();
|
||||
resolve(request);
|
||||
};
|
||||
|
Reference in New Issue
Block a user