Skip to content

Commit 01c46d1

Browse files
committed
Fix matrix test
1 parent 8247d3c commit 01c46d1

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

packages/matrix/tests/registration-with-token.spec.ts

+7
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ import {
2626
showAllCards,
2727
setupUser,
2828
encodeToAlphanumeric,
29+
decodeFromAlphanumeric,
2930
} from '../helpers';
3031
import { registerUser, createRegistrationToken } from '../docker/synapse';
3132

@@ -108,6 +109,12 @@ test.describe('User Registration w/ Token - isolated realm server', () => {
108109
},
109110
});
110111

112+
await page.bringToFront();
113+
114+
await expect(page.locator('[data-test-email-validated]')).toContainText(
115+
'Success! Your email has been validated',
116+
);
117+
111118
// base 64 encode the matrix user id
112119
const matrixUserId = encodeToAlphanumeric('@user1:localhost');
113120
await setupPayment(matrixUserId, realmServer, page);

0 commit comments

Comments
 (0)