Skip to content

Commit

Permalink
fix: logs
Browse files Browse the repository at this point in the history
  • Loading branch information
guru-web3 committed Feb 5, 2025
1 parent fefc5ee commit 1b5da71
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions demo/redirect-flow-example/e2e/test.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ test('login with email password less and enable MFA using password', async ({ pa
const fixedEmail = "[email protected]";
const tag = fixedEmail.split("@")[0].split(".")[1];
const timestamp= Math.floor(Date.now() / 1000);
console.log({testEmailAppApiKey});
await page.goto('http://localhost:5173/');
await page.getByRole('textbox', { name: 'E.g. [email protected]' }).click();
await page.getByRole('textbox', { name: 'E.g. [email protected]' }).fill(fixedEmail);
Expand All @@ -23,7 +22,6 @@ test('login with email password less and enable MFA using password', async ({ pa

await delay(4000);
const ENDPOINT = `https://api.testmail.app/api/json?apikey=${testEmailAppApiKey}&namespace=kelg8&tag=${tag}&livequery=true&timestamp_from=${timestamp}`;
console.log({ENDPOINT});
const res = await axios.get(`${ENDPOINT}`);
const inbox = await res.data;
// const verificationCodeMatch = inbox.emails[0].html.match(/<span[^>]*font-weight: 600[^>]*>(\d+)<\/span>/);
Expand Down

0 comments on commit 1b5da71

Please sign in to comment.