Have you automated sign-up flow testing?

End-to-End Tests Feb 17, 2020

The sign-up flow might be one of the least-tested flows in software development. Few companies have automation to validate that this important functionality continues to work. Lack of automation is how this functionality remains one of the most error-prone.

This is perplexing since your sign-up flow is undoubtedly one of the most, if not the most, important end-to-end flows in your system. No new users, no new business => lost revenue almost immediately.

How do you test your sign-up flow?

Manually? On every deploy? Not sure it even makes the smoke check list for most of the companies we speak with.

The challenge with automating the test is you have to use an email server to receive email and then act on it. Not only that but your email server must allow you to use a new email address every single time since you often can't reuse an existing email address.

And you have to make sure that your email doesn't go to spam. And you need to render the email. Does anyone ever do it?

What if it looks completely broken or the link doesn't work?

Good news, everyone!

testRigor helps you to automate the testing of your complete end-to-end registration flow. Starting from registering on the website and filling out the registration form, then rendering the email and clicking on the link. And, finally, all the way to confirming that the account was created correctly. All on behalf of a user as an end-to-end test.

For example it could look like this:

click "Register"
generate by regex "[a-z0-9]{18,24}\@testrigor-mail\.com", then enter into "Email" and save as "newEmail"
enter "pAssword123$" into "Password"
click "Sign Up"
wait 15 seconds
check that email to saved value "newEmail" was delivered
check that page contains button "Confirm Registration"
click "Confirm Registration"
check that page contains text "Successfully confirmed"

This code above is actually exactly what we execute! Literally. It is not pseudo-code. It is our subset of plain English test commands which our machine-based approach supports.

Now pay attention to check that email to saved value "newEmail" was delivered command.

testRigor would check the POP3 server of testrigor-mail.com for a new mail in the account which was generated on step 2.

But that's not all! It would also render the page as if it is a web page! Therefore the next actions check that page contains button "Confirm Registration" and click "Confirm Registration" are performed on your email which is rendered as a page.

Don't hesitate to ask us for a demo to see how it would work for your website or mobile app (and yes, we support both web and mobile).

Great! You've successfully subscribed.
Great! Next, complete checkout for full access.
Welcome back! You've successfully signed in.
Success! Your account is fully activated, you now have access to all content.