Welcome to the Cypress Demo Site!

This site is designed to provide a comprehensive playground for your Cypress automation testing journey. Explore various UI elements and interactions all in one place.

Forms with Various Input Types

File Uploads

Single File Upload

Multiple File Upload

Drag and Drop File Upload

Drag and drop files here, or browse

File Upload with Shadow DOM

This file input is inside a custom element with a Shadow DOM. Cypress needs specific commands to interact with it.

Interactions & Dialogs

Hover & Tooltip

This is a helpful tooltip!

Hovering over the button reveals a tooltip.

Modals & Popups

Click the button to open a custom modal dialog.

Native Browser Dialogs (Alerts, Confirmations & Prompts)

**Important Note:** When running this demo within an iframe (like in the Canvas environment) or in a headless browser (like Cypress by default), native browser `alert()`, `confirm()`, and `prompt()` dialogs will **not visually appear** in the main window. However, Cypress *does* interact with them. To test these, you typically use `cy.on('window:alert', (str) => { /* assertions */ })` or `cy.on('window:confirm', (str) => { /* assertions and return true/false */ })` and `cy.stub(window, 'prompt')` to control the input and assertions in your Cypress tests.

Event status: None

Buttons & Links

Internal Link External Link (Google)

Event status: None

Tabs

Content for Tab 1. This can be used for displaying different sections of information without navigating to a new page.

Accordions

Accordion Panel 1

This is the content for Accordion Panel 1. It expands and collapses.

You can put text, images, or other elements here.

Accordion Panel 2

Content for Accordion Panel 2.

Slider/Carousel

Slide 1: Welcome!
Slide 2: Explore Features
Slide 3: Happy Testing!

Date Pickers

Keyboard Interactions

Press 'Enter' after typing in the input field.

Dynamic Content & Scrolling

Search with Autocomplete (Auto-suggest Dropdown)

This acts as an auto-suggest dropdown. Type "A", "B", "O", etc., to see suggestions.

Advanced Filter Dropdown (Multi-select Simulation)

Click the input to open the filter options. You can select multiple items.

Selected: None

Dynamic Dropdown

Selecting a country will dynamically update the available cities.

Tables with Sorting/Filtering/Pagination

ID Name Value Status
Page 1 of X

Scroll Testing Area (Country Flags)

E-commerce Functionality (Cart)

Product 1

Awesome Gadget

A must-have gadget for your daily needs.

$49.99
Product 2

Super Widget

Enhance your productivity with this super widget.

$29.50
Product 3

Mega Device

Experience the future with our mega device.

$99.00

Your Shopping Cart

Your cart is empty.

Admin Panel

Admin Login

Advanced Interactions

Window Handling

Clicking this button will open a new blank browser window/tab.

Iframe Handling

This section contains an iframe. To interact with elements inside, Cypress requires switching context.

Mouse Operations (Double Click & Right Click)

Double Click Me
Right Click Me

Event status: None

Responsive Layout Elements

This section demonstrates how the layout adapts to different screen sizes. Try resizing your browser window (especially narrowing it) to see how the layout changes. The mobile navigation menu (top right icon) is visible on smaller screens.

Small Screen (1 col)
Medium Screen (2 cols)
Large Screen (3 cols)
Extra Large (4 cols)

The boxes above demonstrate how the number of columns changes based on screen width.