Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ test.describe('login-init', () => {
test('bad user input: non-existing email', async ({ model }) => {
await model.load(projectId, true, 'login-init');

await model.loginInit.fillEmailUsername('user-does-not-exist@corbado.com');
await model.loginInit.fillEmailUsername('integration-test+notexist@corbado.com');
await model.loginInit.submitPrimary();
await model.loginInit.expectTextError("Couldn't find your account.");
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ test.describe('social logins', () => {
);
});

test('signup with socials should be possible (account does not exist)', async ({ model }) => {
// Reason for skip: https://www.notion.so/Issues-related-to-email-and-social-login-in-tests-javascript-complete-1bceeb954aa280148c34d10aac8c2117
test.skip('signup with socials should be possible (account does not exist)', async ({ model }) => {
await model.load(projectId, true, 'signup-init');

const email = process.env.PLAYWRIGHT_GOOGLE_EMAIL ?? '';
Expand Down
4 changes: 2 additions & 2 deletions packages/tests-e2e/src/connect/scenarios/login.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ test.describe('login component (without user)', () => {
await model.loadLogin();
await model.expectScreen(ScreenNames.InitLogin);

await model.login.submitEmail('unknown-email@corbado.com', false);
await model.login.submitEmail('integration-test+unknown@corbado.com', false);
await model.expectError(ErrorTexts.UnknownEmail);
});

Expand All @@ -167,7 +167,7 @@ test.describe('login component (without user)', () => {

await model.loadLogin();
// It seems that the InitLogin page is now cached so that email needs to be submitted before reaching the InitLoginFallback screen.
await model.login.submitEmail('dummy-email@corbado.com', false);
await model.login.submitEmail('integration-test+dummy@corbado.com', false);
await model.expectScreen(ScreenNames.InitLoginFallback);
});

Expand Down
Loading