ui-test-runner

Run UI test markers via make commands and analyze failures.

3|1|Updated Feb 4, 2022
One-click install
npx skills add https://github.com/4IRL/urls4irl --skill ui-test-runner
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ui-test-runner
Source: https://github.com/4IRL/urls4irl/tree/main/.claude/skills/ui-test-runner
Command: npx skills add https://github.com/4IRL/urls4irl --skill ui-test-runner

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies the execution of UI tests by providing clear procedures and automation steps, reducing manual effort and errors in testing front-end interfaces.

Core Features & Use Cases

  • Test Marker Identification: Finds and lists all UI test markers in the pytest configuration.
  • Targeted Test Execution: Runs specific UI test sets based on user input, using optimized built targets.
  • Failure Analysis: Reports and documents test failures with relevant error information.
  • Use Case: When a developer or tester needs to verify UI changes, they specify a marker and quickly execute all related tests, saving time and ensuring consistency.

Quick Start

Ask the AI to run the UI tests for a specific marker, for example, "login_ui", to automatically execute and analyze the results.

Frequently Asked Questions about ui-test-runner

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate running specific pytest UI test markers in a CI/CD workflow?

Automating pytest UI test markers involves orchestrating execution via make commands within CI/CD pipelines. This process targets specific test sets using pre-built assets, systematically verifying front-end interface stability and reporting detailed failure analysis for debugging.

What is the best way to identify and group UI tests using pytest markers?

Identifying UI tests with pytest markers requires scanning the pytest configuration to find and list all relevant test markers. This grouping mechanism allows you to target and execute specific front-end UI test sets efficiently, ensuring consistent verification of interface changes.

Can I run targeted UI test sets locally without triggering the full test suite?

Yes, you can run targeted UI test sets locally by specifying a marker. This executes only the related tests using optimized built targets, saving time and ensuring consistency when verifying specific front-end UI changes without running the entire suite.

How do I debug front-end UI test failures reported by automated test runners?

Debugging front-end UI test failures utilizes failure analysis reports generated after execution. These reports document test failures with relevant error information and debugging guidance, helping developers quickly identify and resolve interface stability issues.

Does this UI testing approach work with Selenium and continuous integration environments?

Yes, this UI testing approach works seamlessly within continuous integration environments and local setups using Selenium. It orchestrates test execution via make commands, ensuring front-end UI stability and quality across both CI/CD workflows and local development environments.

Why are my pytest UI tests failing during continuous integration builds?

Pytest UI tests may fail during continuous integration due to front-end instability or asset issues. The runner provides detailed failure analysis and debugging guidance, documenting relevant error information to help identify and resolve UI test marker execution problems.