Testcase Reducer

Helps with reducing markup and CSS for the purposes of generating test cases.

Testcase Reducer - Reduce Markup and CSS for Generating Test Cases

Testcase Reducer is a Firefox add-on that allows you to easily reduce markup and CSS of web elements in order to generate simplified test cases. It provides a devtools panel to configure parameters and offers a preview of the resulting markup. The reduced test cases can be copied to local files or uploaded to Codepen, JSBin, or JSFiddle.

Add-on stats

Users: 46
Rating: 5.00
(2)
Version: 1.5.0 (Last updated: 2024-03-03)
Creation date: 2019-02-21
Weekly download count: 1
Firefox on Android: No
Risk impact: Moderate risk impact
Risk likelihood:
Manifest version: 2
Permissions:
  • <all_urls>
  • webNavigation
  • https://codepen.io/*
  • https://jsbin.com/*
  • https://jsfiddle.net/*
Size: 93.43K
URLs: Website

Other platforms

Not available on Chrome
Not available on Android
Not available on Edge
Want to check extension ranking and stats more quickly for other Firefox add-ons? Install Chrome-Stats extension to view Firefox-Stats data as you browse the Firefox Browser Add-ons.

Add-on summary

  1. Inspect the element you would like to reduce a test-case for/from in the devtools.
  2. Configure the parameters in the testcase reducer devtools panel for the addon;
    • Including ancestor nodes may be necessary to capture the HTML/CSS causing the issue.
    • Including CSS fonts may be necessary if webfonts are part of the problem.
    • Including @media rules can catch responsive breakpoints that may cause the issue.
    • Including important meta-tags can help for mobile layout (meta viewport) or charset/Content-Type issues.
    • Including @page rules can catch print-stylesheet-specific issues.
    • Including scripts may be helpful if the issue is script-triggered.
  3. Click "reduce" to see the resulting markup and a preview.
    • Showing the preview iframe with the original viewport size can help reveal responsive breakpoint issues.
  4. Copy and paste the markup to your own local file, or click to upload to Codepen, JSBin, or JSFiddle.

User reviews

essential when you need to isolate a markup to create a test case.
by kdubost, 2020-06-29

by Dennis Schubert, 2019-04-02
View all user reviews

Add-on safety

Risk impact

Testcase Reducer requires a few sensitive permissions. Exercise caution before installing.

Risk likelihood

Testcase Reducer is probably trust-worthy. Prefer other publishers if available. Exercise caution when installing this add-on.

Upgrade to see risk analysis details