Skip to content

Add e2e testing framework#82

Open
imnasnainaec wants to merge 43 commits into
mainfrom
e2e
Open

Add e2e testing framework#82
imnasnainaec wants to merge 43 commits into
mainfrom
e2e

Conversation

@imnasnainaec
Copy link
Copy Markdown
Contributor

@imnasnainaec imnasnainaec commented May 21, 2026

Resolves #70


This change is Reviewable

Summary by CodeRabbit

  • New Features

    • Added end-to-end testing infrastructure using Playwright and Chrome DevTools Protocol
    • Added remote debugging support for development workflows
  • Tests

    • Established e2e test suite with smoke tests for extension functionality
    • Configured CI/CD to run tests across Ubuntu and Windows platforms
  • Documentation

    • Added testing guide with instructions for unit and end-to-end testing

Review Change Stack

@imnasnainaec imnasnainaec self-assigned this May 21, 2026
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 21, 2026

Warning

Rate limit exceeded

@imnasnainaec has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 7 minutes and 45 seconds before requesting another review.

You’ve run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 8fd427dc-fcf6-48e8-bb23-9f74d44d0f1c

📥 Commits

Reviewing files that changed from the base of the PR and between d8735ee and 127fd32.

📒 Files selected for processing (10)
  • .github/CODEOWNERS
  • .github/workflows/bump-versions.yml
  • .github/workflows/codeql.yml
  • .github/workflows/lint.yml
  • .github/workflows/publish.yml
  • .github/workflows/test.yml
  • e2e-tests/README.md
  • e2e-tests/fixtures/app.fixture.ts
  • e2e-tests/fixtures/helpers.ts
  • e2e-tests/global-setup.ts
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch e2e

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

imnasnainaec and others added 27 commits May 21, 2026 17:29
After the renderer dev server binds port 1212, webpack-dev-middleware
still holds HTTP requests open until the initial bundle compiles. Electron
launched during that window loads a blank page, then receives an HMR
full-reload once webpack finishes, which closes the Playwright page
reference and causes waitForSelector('#root') to fail.

Add waitForHttpOk, which makes a real HTTP GET to localhost:1212/ and
resolves only when webpack-dev-middleware unblocks the response (i.e.
compilation is done). This replaces the previous TCP-only waitForPort
call, ensuring Electron never loads an uncompiled renderer.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
webpack-dev-server briefly closes connections before its middleware is
fully attached, causing a socket hang up on the first HTTP probe. Retry
on error (matching the pattern used by waitForPort) instead of rejecting
immediately. The overallTimer still enforces the 5-minute budget and
cancels any hanging request if webpack never finishes compiling.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
coderabbitai[bot]

This comment was marked as resolved.

@imnasnainaec imnasnainaec marked this pull request as ready for review May 22, 2026 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add e2e testing with Playwright

1 participant