Demo

From rakovi4/continue-framework · View interactive version

Demo is an AI agent skill from the GitHub repository rakovi4/continue-framework. Run a Selenium test in visible (non-headless) mode with slowdown so the user can watch it. Use when user wants to demo or visually watch a Selenium test or mentions /demo command.

How to use this skill

Skill file

/demo - Run Selenium Test in Visible Slow-Motion Mode

Usage

/demo should_display_board_with_columns
/demo CreateTaskPageTest.should_display_create_task_form
/demo CreateTaskPageTest                          # Run all tests in class
/demo                                             # Run all frontend Selenium tests

What It Does

Temporarily modifies Selenium configuration to run browser tests visibly with delays, so the user can watch the test execute in real time. All changes are reverted after the test completes (even on failure).

Setup

Read ProductSpecification/technology.md for:

Read .claude/tech/{backend}/templates/acceptance/ to find the UI test base class and Browser statements class paths and conventions.

Workflow

1. Load Port Configuration

Read ports from infrastructure/.env:

source infrastructure/.env

2. Apply Demo Changes

Locate the UI test base class and Browser statements class using tech profile template conventions.

UI test base class:

Browser statements class:

3. Ensure Clean Environment

4. Run the Test

Resolve the argument to a test filter using the acceptance test command pattern from Conventions table.

| Argument | Filter |

|----------|--------|

| should_method_name | Filter to *.ClassName.should_method_name (search test files to resolve class) |

| ClassName.should_method_name | Filter to *.ClassName.should_method_name |

| ClassName | Filter to *.ClassName |

| (none) | Run all frontend acceptance tests |

Use a generous timeout (180s) since delays add up.

5. Revert All Changes (ALWAYS)

After the test finishes (pass or fail), revert both files to their original state — undo all changes from step 2.

6. Report Result

Report whether the test passed or failed. If it failed, include the error output.

Rules

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.