# Setting up super fast Cypress tests on GitHub Actions

DevFeed: [Setting up super fast Cypress tests on GitHub Actions](<https://devfeed.tech/articles/setting-up-super-fast-cypress-tests-on-github-actions-80499.md>)

Original publisher: [Read original article](<https://posthog.com/blog/cypress-end-to-end-tests>)

Published: 2020-06-10T00:00:00Z

Content type: tutorial

Language: en

Sources: [PostHog](<https://devfeed.tech/sources/posthog.md>)

Topics: [Test automation](<https://devfeed.tech/topics/test-automation.md>), [GitHub Actions](<https://devfeed.tech/topics/github-actions.md>), [CI/CD](<https://devfeed.tech/topics/cicd.md>), [Headless Browser](<https://devfeed.tech/topics/headless-browser.md>)

Tags: [attr](<https://devfeed.tech/tags/attr.md>), [browser](<https://devfeed.tech/tags/browser.md>), [caching](<https://devfeed.tech/tags/caching.md>), [chromium](<https://devfeed.tech/tags/chromium.md>), [ci](<https://devfeed.tech/tags/ci.md>), [ci-cd](<https://devfeed.tech/tags/ci-cd.md>), [cypress](<https://devfeed.tech/tags/cypress.md>), [github](<https://devfeed.tech/tags/github.md>), [github-actions](<https://devfeed.tech/tags/github-actions.md>), [tests](<https://devfeed.tech/tags/tests.md>)

## AI overview

The article describes how PostHog uses Cypress end-to-end tests with GitHub Actions to check pull requests. It covers reusable data-attribute selectors, caching Python and JavaScript dependencies and frontend builds to shorten runs, and uploading screenshots as artifacts when tests fail. The changes reduced the reported workflow time from more than 10 minutes to about 5 minutes. It also outlines planned automated performance testing.

## Source excerpt

Moving fast is easy. Moving fast with confidence is hard. If you've been keeping track of The Array release posts you know that we prioritize...