debug-browser-tests

Browser Test Debugger Skill

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "debug-browser-tests" with this command: npx skills add iurygdeoliveira/labsis-kit/iurygdeoliveira-labsis-kit-debug-browser-tests

Browser Test Debugger Skill

Use this skill to create end-to-end tests or debug UI issues.

Rules

  1. Pest v4 Syntax
  • Use visit('/') .

  • Use ->waitForText('Start') .

  1. Mobile Debugging
  • To test mobile layouts, set the viewport explicitly at the start of the test.

it('works on mobile', function () { $browser = visit('/'); $browser->driver->manage()->window()->setSize(new \Facebook\WebDriver\WebDriverDimension(375, 812)); // iPhone X size

$browser->clickHamburgerMenu(); // Custom method example

});

  1. Debugging
  • Screenshots: $browser->screenshot('debug-step-1');

  • Pause: $browser->pause(1000); (Only for local debugging!)

  • Console Logs: $browser->assertNoConsoleLogs();

  1. CSP Handling
  • If you hit CSP errors in tests, check SecurityHeadersMiddleware .

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

scaffold-filament-resource

No summary provided by upstream source.

Repository SourceNeeds Review
General

scaffold-controller

No summary provided by upstream source.

Repository SourceNeeds Review
General

scaffold-filament-page

No summary provided by upstream source.

Repository SourceNeeds Review
General

manage-git

No summary provided by upstream source.

Repository SourceNeeds Review