Today we're excited to announce a built-in way for you to select files in an HTML5 input element and simulate dragging files into the browser with the introduction of the .selectFile() [https://docs.cypress.io/api/commands/selectfile] command, new in Cypress 9.3.0 [https://docs.cypress.io/guides/ref…
Visual Testing for Emails Sent Using 3rd Party Dynamic Templates
This blog post will teach you how to visually verify the emails sent by a 3rd party service. Such verification is necessary to ensure the emails have the expected style, and include the necessary information. The post teaches you how to deal with the difficult email markup generated from dynamic tem…
Full Testing of HTML Emails using SendGrid and Ethereal Accounts
Imagine you are sending beautiful HTML emails using your own SMTP server or even
a 3rd party service like SendGrid. What if the emails are formatted incorrectly?
What if the template string is incorrect and the user sees Dear <
Cypress + Storybook 2.0
When building a design system, we like to see components rendered in isolation. What better tool to do that than Storybook? We can see our components, wrap them in decorators, and show our stakeholders beautiful user story demos. Once we know how our components should look, we want to test them. Fo…
Testing HTML Emails using Cypress
In this blog post, we will use a local SMTP server to receive emails sent by the app to the user. We will test the HTML emails to make sure they look and work correctly. Note: you can find the source code shown in this blog post at cypress-email-example [https://github.com/bahmutov/cypress-email-e…