Keep your staging environment under constant watch. This scheduled automation runs your full E2E or smoke suite against staging every night, captures failures with full reproduction context, files Linear tickets for genuine regressions, and posts a summary to your QA Slack channel — so you walk into each morning knowing exactly where staging stands.Documentation Index
Fetch the complete documentation index at: https://docs.devin.ai/llms.txt
Use this file to discover all available pages before exploring further.
Use this template
Open Nightly QA & Smoke Tests in Devin and create the automation with the default configuration. You can customize it before saving.
Looking for a hands-on walkthrough? See the step-by-step tutorial for Nightly QA & Smoke Tests.
What this automation does
The Nightly QA template is a foundational automation for any team that ships with a CI/staging workflow. Devin runs your test suite (Playwright, Cypress, custom scripts — whatever you’ve already got), categorizes each failure as a flake or a real regression, and files tickets with enough context for a human to fix without re-reproducing.How it works
Trigger: Schedule event —recurring
- Event:
schedule:recurring- Conditions:
rrulematchesFREQ=DAILY;BYHOUR=2;BYMINUTE=0
- Conditions:
Prerequisites
- Integrations: None required. This automation runs purely as a scheduled session.
Example prompt
The template ships with this prompt. You can edit it after clicking Use template, or leave it as-is.Setting it up
- Open Automations → Templates in Devin.
- Click Nightly QA & Smoke Tests. The create page opens with this template pre-filled.
- Connect any required integrations and install MCP servers if you haven’t already.
- Replace any placeholder values in the trigger conditions (for example, swap
your-org/your-repofor your actual repo). - Review the prompt and adjust it for your team’s language, conventions, and guardrails.
- Click Create automation.
When to use this template
- Catching regressions that only surface in staging environments
- Maintaining confidence in long-running test suites that can’t run on every commit
- Filing tickets automatically for genuine flakes so they don’t rot
- Keeping your QA feedback loop running overnight and across weekends
Customization ideas
- Change the schedule (hourly, per-deploy, on-demand via webhook)
- Swap in any test harness — Playwright, Cypress, Jest, pytest, Go test
- Route results to Linear, Jira, GitHub issues, or Slack
- Attach secrets for staging database credentials so Devin can query verification data
