Skip to content

test(e2e): Add E2E Astro tests#238

Merged
Lms24 merged 7 commits into
mainfrom
lms/e2e-tests-astro
Dec 6, 2023
Merged

test(e2e): Add E2E Astro tests#238
Lms24 merged 7 commits into
mainfrom
lms/e2e-tests-astro

Conversation

@Lms24
Copy link
Copy Markdown
Member

@Lms24 Lms24 commented Dec 6, 2023

This PR adds E2E tests to our monorepo based on Playwright.

More Specifically, this PR

  • adds Playwright
  • adds an Astro E2E test app
  • adds a few tests, mostly for Astro toolbar and Spotlight interaction

In the future, we can add more test apps for different frameworks.

I'm also gonna open a follow up PR to run these tests in CI

@vercel
Copy link
Copy Markdown

vercel Bot commented Dec 6, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
spotlightjs ✅ Ready (Inspect) Visit Preview Dec 6, 2023 1:05pm

@codecov
Copy link
Copy Markdown

codecov Bot commented Dec 6, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (45a1f70) 32.85% compared to head (92e5550) 32.85%.
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #238   +/-   ##
=======================================
  Coverage   32.85%   32.85%           
=======================================
  Files          44       44           
  Lines        2030     2030           
  Branches       71       71           
=======================================
  Hits          667      667           
  Misses       1363     1363           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Lms24 Lms24 merged commit 0d314f8 into main Dec 6, 2023
@Lms24 Lms24 deleted the lms/e2e-tests-astro branch December 6, 2023 13:13
BYK added a commit that referenced this pull request May 14, 2026
#1299)

## Summary

Resolves 20 of 22 open Dependabot security alerts by updating direct
dependencies and adding/updating pnpm overrides. The remaining 2 vite
alerts (#234, #237) affecting vite 5.x in spotlight have been dismissed
as tolerable risk (dev-only dependency).

## Changes

### Direct dependency updates
- **hono** 4.12.14 → 4.12.18 — fixes 5 alerts (#252, #253, #256, #257,
#258)
- **@hono/node-server** 1.19.10 → 1.19.14 — fixes #238

### pnpm override updates/additions
- **vite** `>=6.0.0 <6.3.6` → `>=6.0.0 <6.4.2` with `~6.4.2` target —
fixes #234 for vite 6.x
- **vite** added `>=7.0.0 <7.3.2` → `>=7.3.2` override — covers future
vite 7.x usage
- **lodash** `>=4.17.23` → `>=4.18.0` — fixes #235, #236
- **defu** added `>=6.1.5` — fixes #233
- **fast-uri** added `>=3.1.2` — fixes #254, #255
- **ip-address** added `>=10.1.1` — fixes #251

### Auto-resolving alerts (via transitive updates)
- **@xmldom/xmldom** (#247–250) — already at 0.9.9, above patched 0.8.13
- **astro** (#245, #246, #259, #260) — updated transitively; alerts will
auto-close

### Dismissed alerts
- **#234** (vite WebSocket file read) — vite 5.4.21 not in vulnerable
range `>= 6.0.0`
- **#237** (vite path traversal `.map`) — dev-only risk; requires
`--host` flag

## Verification
- `pnpm run build --filter @spotlightjs/spotlight` — passed
- `pnpm run test --filter @spotlightjs/spotlight` — 186/186 tests passed
- Website build failure is pre-existing on main (unrelated esbuild/astro
compat issue)
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.

1 participant