Testez les flux de vérification à grande échelle

Vérification d'inscription

Validez vos flux d'inscription et de vérification. Recevez OTP, liens magiques et emails de confirmation programmatiquement.

Fonctionnalités clés

  • Capturez les codes OTP
  • Extrayez les liens magiques
  • Testez les cas limites
  • Surveillez la délivrabilité

Exemple

// JavaScript example
async function testSignupFlow() {
  // Create temp inbox
  const inbox = await mailhook.createRandomAddress();

  // Submit signup form
  await page.fill('#email', inbox.address);
  await page.click('#submit');

  // Wait for and retrieve OTP
  const emails = await mailhook.pollInbox(inbox.id, {
    timeout: 30000
  });

  // Extract OTP from email
  const otp = emails[0].textBody.match(/\d{6}/)[0];

  // Complete verification
  await page.fill('#otp', otp);
  await page.click('#verify');

  // Assert success
  expect(await page.url()).toContain('/dashboard');
}

Prêt à commencer ?

Créez votre première boîte en moins de 60 secondes.