October DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsSlow PC?RecommendedPC slow today? Run a repair scan before it gets worseResolve common Windows issues and optimize system performance.Scan NowOctober DealsAmazon USDeal season is back - check today's better picksAmazon US: current deals, useful picks and tech finds.See Picks×
Skip to content
World desk4 min

How to Update Baseline Screenshots in Reg-suit

Reg-suit updates expected screenshots through its regular run workflow: regenerate images in actualDir, compare and review the report, then publish the intended snapshots.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

To update Reg-suit’s baseline, regenerate the intended screenshots in the project’s configured actualDir, run npx reg-suit run, and inspect the HTML comparison report. If the visual change is intentional, publish that run so its screenshots can serve as expected images in a later comparison. Reg-suit’s documented workflow does not include a separate “approve” or “update-baseline” command.

Update the baseline with the normal Reg-suit workflow

  1. Make the intended UI change and regenerate screenshots. The project supplies the screenshots to compare; save the new images in the configured actualDir. The official README describes actualDir as the required directory containing images to test. Reg-suit README
  2. Run the comparison workflow: npx reg-suit run. If your project uses a local CLI invocation or package script, use that equivalent instead.
  3. Review the HTML report. Check whether each difference reflects the intended UI change or an unintended regression.
  4. Publish the run with the intended screenshots. Reg-suit’s documented workflow publishes the comparison result and actual images under the current snapshot key; those published snapshots can be fetched as expected images in a subsequent run.

Do not treat “a difference was detected” as equivalent to “the test failed” or “the baseline should be accepted.” The official demo says the report is for the team to judge whether a visual difference is intended. Official Puppeteer demo

As an Amazon Associate I earn from qualifying purchases.

What npx reg-suit run does

The README describes run as combining sync-expected, compare, and publish -n. These stages explain why updating a baseline is a workflow rather than a standalone approval command.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Stage What it does What to check
sync-expected Fetches existing expected images into the working directory. The configured key-generator determines the expected key, and the publisher plugin retrieves the images. Confirm the key points to the baseline you meant to compare against and that the publisher can access it.
compare Compares images in actualDir with the fetched expected images and creates an HTML report. Inspect the reported differences instead of accepting them automatically.
publish Publishes the comparison result and actual images to external storage using the actual snapshot key from the key-generator plugin. Ensure this is the branch/commit run whose images you intend later runs to use.

Notifications may also be sent if configured. These command descriptions and the workflow are documented in the Reg-suit README.

#1 Best Overall
Optical Elite Digital Visual Acuity Eye Chart for Optometry, Snellen & Tumbling E, Randomize/Mirror, Works with TV/Monitor, Plug & Play, No PC Required, Auto Calibration, RF Remote, Supports 4K
  • Universal Compatibility: Designed for use with any screen, this all-in-one visual acuity chart does not require a computer. Suitable for all monitors, it's compact and easy to install. Supports HDMI connection for direct plug-and-play use.
  • Comprehensive Testing: Includes all tests such as Ishihara, Cross Cylinder, Red Green Balance, Fixation, Astigmatism, Cross Grid, Coincidence, Schober, Worth 4 Dot, Red Green Panel, Traffic Lights and more. Allows continuous testing at varying distances from 1m to 7m with random sequencing of optotypes. Offers the option for Imperial or Metric standards, plus randomize and mirror functions.
  • Plug and Play Convenience: Smart calibration ensures compatibility with any monitor or TV set. Enjoy full functionality with multiple charts for seamless testing.
  • Compact and Versatile Design: The small-sized remote is perfect for one-handed control, ensuring convenience during testing. Display video, audio, and pictures with customizable storage options. Utilizes a 5G system storage for easy access. Offers optional power supply solutions via USB port or charger.
  • RF Wireless Remote Control: Features a fluorescent keypad with RF wireless technology for hassle-free control. With omnidirectional 2.4G RF remote control, no direct aiming is required, ensuring a longer working distance, faster response time, and reliable performance.

Check the configuration and snapshot storage

Reg-suit expects regconfig.json in the project root. The README’s example uses core.actualDir for the input images and core.workingDir for temporary working files; it describes workingDir as optional and ordinarily ignored by Git. The example also configures a threshold rate, a Git-hash key generator, and an S3 publisher, but those are example settings rather than requirements for every project.

Expected snapshots must be retrievable through the configured publisher, and new snapshots are published through that publisher. The README lists S3 and Google Cloud Storage publisher plugins. The Puppeteer demo uses S3 for snapshots and HTML reports and shows npx reg-suit init for initial setup and npx reg-suit prepare --plugin publish-s3 to revisit plugin setup. Use these only if they match your project’s storage choice. README · Puppeteer demo

Rank #2
TopTes Guard-101 Gas Detector, 4 Gas Monitor for H2S, CO, LEL and O2, with Vibration, Visual and Audible Alarms, 14h Long Battery Life, Safety Explosion-Proof, for Work, Home - Orange
  • Quick Detection, Safety First: Guard-101 4 gas monitor multi gas detector is designed for rapid detection of 4 types of gases (H2S, CO, LEL, O2). The battery life lasts up to 14 hours, ensuring long-term monitoring of gas concentrations
  • User-Friendly Design: Guard-101 gas detector is made of high-strength ABS engineering plastic, which is waterproof, dustproof, and explosion-proof. Its back clip design makes it easy to carry in the workplace. Password protection prevents accidental operation, with an initial password of "69"
  • Triple Alarm, Data Storage: Guard-101 4 gas monitor multi gas detector utilizes three alarm modes: LED light, vibration, and sound. It responds within 0.5 seconds and continues to alarm until the gas concentration returns to normal. The Guard-101 also features an alarm record storage function, allowing you to check monitoring data at any time
  • Professional Certification: The Guard-101 4 Gas Monitor has passed rigorous safety tests conducted by internationally authorized institutions. It holds valid certification and meets industry standards, ensuring high reliability and accuracy in various environments
  • What You Get: Your purchase includes a Guard-101 gas detector, a packaging box, a user manual, a charging cable, and a standard gas hood. This device is suitable for a wide range of applications, including industrial manufacturing, mining, agriculture, emergency rescue, and home use

Make sure the baseline key is from the right Git history

When comparisons use Git-hash-based keys, the current branch and available commit history matter: they determine which snapshot key Reg-suit resolves as the comparison base. A detached HEAD can prevent the expected branch from being identified. In CI, check out the intended branch and make enough history available to resolve the base commit. The README’s GitHub Actions example uses fetch-depth: 0 before running Reg-suit; adapt the checkout and branch handling to your CI system. The README also documents workarounds for Travis CI, Wercker, AppVeyor, and GitLab CI. CI guidance in the README

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Troubleshoot common baseline-update problems

  • The report shows no expected images or comparison fails to find them: Check that sync-expected can access the configured publisher, and verify the key-generator is resolving the expected baseline key.
  • The wrong baseline is compared: Check the current branch, commit and key-generator configuration. In CI, confirm the base branch and required Git history are present.
  • CI reports detached HEAD or cannot identify a branch: Configure checkout so the job has the intended branch context. For GitHub Actions, the README example uses fetch-depth: 0.
  • There is a visual difference, but you are unsure whether to update: Use the HTML report to review the changed regions. A detected difference alone does not establish whether the change is correct; decide whether it matches the intended UI update.
  • The new screenshots do not appear as expected images in the next run: Confirm that the run containing the intended images completed its publish stage and that the next run resolves the corresponding snapshot key through the configured publisher.

Or skip the browser setup

If the goal is simply to capture a page for a visual reference, ScreenshotNeo offers a screenshot API and MCP server. For Reg-suit, you still need to generate the screenshots in your project’s configured actualDir and use Reg-suit’s comparison and publishing workflow. ScreenshotNeo can provide a capture without setting up a browser in your script:

Rank #3
Camera Tester, WANLUTECH 8MP TVI CVI AHD CVBS Analog Camera Tester 4.3 inches Screen UTP Cable Test RS485 PTZ Control Audio Test 12V Power Output
  • WANLUTECH analog camera tester supports to test max 8MP AHD/8MP TVI/8MP CVI/Analog CVBS camera. Using HD app can automatically recognize AHD CVI TVI cameras and display resolution and frame rate on the screen, support coaxial PTZ & call OSD menu (PLEASE NOTE that this model doe not support test IP network camera)
  • UTP Cable Tester: UTP cable continuity test and display on the screen, support to detect the near-end fault point of the RJ45 cable plug on the tester, support for measuring network cable length (When testing the length of the network cable, one end of the network cable should be connected to the tester and the other end of the cable cannot be connected to other devices), test length max 3000 meters
  • CVBS video signal test, 1 channel BNC input, NTSC/PAL (Auto adapt), PTZ control, RS485 control, Baud 600-115200bps, compatible with more than 30 protocols. Support audio test, 1 channel audio signal input, test the audio whether is normal
  • Built-in 3.7V/4000mAh battery. LED flashlight provides light for dark work environments. Power output: DC12V/1A. Power input: DC5V/2A. 4.3 inches screen, 480*272 resolution. Package include: 1x cctv tester, 1x 5V 2A USB charging cable, 1x BNC cable, 1x RS485 cable, 1x audio cable
  • PLEASE NOTE: there is a paper piece isolating the battery. Before using the tester, open the battery cover and remove the paper sheet. We are the manufacturer. Any questions, please let us know, We'll get back to you within 12 hours
curl -G "https://api.screenshotneo.com/v1/shot" -d access_key=YOUR_API_KEY --data-urlencode url=https://stripe.com -o shot.webp

See the ScreenshotNeo API documentation for request options. It accepts cookie/consent banners and removes known consent platforms, newsletter popups, and chat widgets before capture; those steps can be disabled. Bot checks, blank pages, failed loads, timeouts, and cache hits cost nothing, with response headers reporting the page verdict and billing status. Its MCP server provides take_screenshot, get_page_info, and capture_pdf tools for AI agents. The Free plan includes 1,000 screenshots per month without a card; paid plans start at $5 for 3,000.

Sign up for ScreenshotNeo’s free plan.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Version note

The Reg-suit GitHub releases page lists v0.14.6 as its latest release, while the npm package page surfaced v0.14.5. Because those pages disagree, check the current package and release state before pinning a version in a new setup. GitHub releases · npm package

Best Value
RM-60 Portable Radon Detector, High-Accuracy Sensor Radon Monitor, Long-Term Monitoring, Audible & Visual Alarms, Rechargeable Radon Tester with TFT Color Display, for Home, Basement, pCi/L or Bq/m³
  • ACCURATE DETECTION: This radon detector is equipped with a high-precision semiconductor sensor and vented housing. It detects radon from 0.09–1000 pCi/L (3.3–37000 Bq/m³) and supports switching between pCi/L and Bq/m³ units for efficient, efficiently and accurately detect radon for you
  • AUDIO & VISUAL ALARM: The detector has an alarm function, and when the radon concentration exceeds the preset limit, the flashing light and buzzer will alert you. Ideal for poorly ventilated basements, homes and construction sites. Alarm threshold and alpha particle sound are adjustable as needed
  • SHORT & LONG-TERM MONITORING: This radon monitor logs detailed data. The first reading appears after 12 hours and updates every 60 minutes. It records values for multiple time periods and peak values. Data auto-saves every 6 hours. Each log provides an overview of up to 504 days, and you can store up to 10 logs for reliable long-term radon monitoring
  • EASY TO USE & PORTABLE: Equipped with a color TFT 2.0 screen and graphical UI, it clearly displays radon levels for easy operation. Its portable design with an adjustable rear stand lets you easily place and view the device anywhere
  • LONG BATTERY LIFE: 2000 mAh rechargeable lithium battery, USB Type‑C charging; full charge in 3.5 hours (power‑off). Up to 45‑day runtime in standby mode with adjustable ECO standby time. It enables continuous monitoring even during travel for your peace of mind
Rank #4
Anpviz 5 Inch 4 in 1 CCTV Monitor Tester, Coaxial Analog Video CCTV Tester
  • Support up to HD TVI video surveillance testing: Support 2MP, 3MP, 4MP, 5MP 8MP. When TVI signal input, the tester will display HD TVI camera image.
  • Portable multi-functions CCTV tester with 5 inch TFT-LCD Screen(Not touch screen), 800*480 resolution, make your job more easily with this professional CCTV tester.
  • The CCTV tester builts in 18650 2600mA battery, after charging 3-4 hours, working time lasts 11 hours, long standby time. Small body, portable and easier to carry.
  • This camera tester also features a multi-purpose testing unit that includes built-in PTZ tester/controller, UTP cable test, audio surveillance test, and power output.
  • Support VGA/HDMI 1.1 Compliant Digital input, can be used for debugging DVR/NVR recorder, also can be a display.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Outdated Drivers Are Slowing You DownFree scan - exact matches
PC Slower Than It Used to Be?Free scan - under a minute

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.