Tutorials

Number of posts: 69

Uploading files made easy with the .selectFile command

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() command, new in Cypress 9.3.0. Selecting files in an HTML5 input elementWith the new .selectFile() command, you can…

Read More

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. For…

Read More

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 and watch a video explaining the testing proce…

Read More