Videos
Check out our tutorial video series.
Automate SMS code integration testing using real phone numbers and browsers with Cypress and MailSlurp. Learn how in this tutorial.
Cypress is a browser automation tool that can be used with MailSlurp to test SMS automation such as login and sign-up app flows. In this post we will demonstrate how to setup Cypress to fetch and read real text messages from phone numbers we create in MailSlurp. We will use the Cypress SMS plugin to achieve this (or we could use the MailSlurp client directly).
The code for this examples can be found on Github.
First install Cypress JS and configure the config file:
We will test the sign-up process for a demonstration app. The app allows sign-up with a phone number and sends a verification code to the users via SMS. The code must then be extracted and entered into the app to complete sign-up.
Check out our tutorial video series.
Email and SMS guides for automation and testing.
View github project code for multiple languages.
Latest posts from the MailSlurp team.
Test, build, and automate messaging with a free MailSlurp account.