1
0
forked from icd/rentgen
rentgen/tests/run-checks.sh
Jacek Wielemborek b1154c4d62 test: add Selenium WebDriver integration tests
- Add Selenium WebDriver for browser extension testing
- Simplify test content script (only essential DOM attributes)
- Rename test-content-script.js → inner-test-content-script.js for clarity
- Add DEBUG_ prefix to test event name (DEBUG_rentgen_test_request)
- Auto-restore manifest.json after tests (git checkout)
- Include tests in run-checks.sh script
- Update Dockerfile to use Selenium instead of Marionette
- Ignore tests directory in web-ext lint

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-28 11:04:16 +00:00

17 lines
262 B
Bash
Executable File

#!/bin/bash
# Code quality checks for Rentgen extension
# Runs typecheck and lint
set -e
echo "Running type checking..."
npm run typecheck
echo "Running linter..."
npm run lint
echo "Running tests..."
npm run test
echo "✓ All code quality checks passed!"