Skip to content

Commit

Permalink
Fix tests by updating @playwright/test
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielleHuisman committed Jan 24, 2025
1 parent 715a66c commit fee5452
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/leptos/tests/playwright.rs
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,14 @@ pub fn playwright() {
.parse::<bool>()
.unwrap_or(false)
{
let status = Command::new("pnpm")
.arg("update")
.arg("@playwright/test")
.current_dir(repository_path.clone())
.status()
.expect("pnpm update failed.");
assert!(status.success(), "pnpm update failed");

let status = Command::new("npx")
.arg("playwright")
.arg("install")
Expand Down

0 comments on commit fee5452

Please sign in to comment.