Smoke Test

General

// Definition

A small, fast test suite that verifies the most critical functionality works after a build — ensures the app is healthy enough for further testing. The first signal in any pipeline.

// Code Example

CypressSmoke suite — critical paths only
TypeScript
describe('@smoke critical paths', () => {
  it('home page loads', () => {
    cy.visit('/');
    cy.contains('qa.codes').should('be.visible');
  });

  it('login works end-to-end', () => {
    cy.visit('/login');
    cy.get('[data-testid=email]').type('user@example.com');
    cy.get('[data-testid=password]').type('secret');
    cy.get('[data-testid=submit]').click();
    cy.url().should('include', '/dashboard');
  });
});

// Related terms

Learn more · Software Testing Fundamentals

Chapter 3 · Lesson 2: Smoke, Sanity, and Regression Testing