Skip to content

test(e2e): fix print urls cases#5563

Merged
chenjiahan merged 1 commit intomainfrom
print_url_cases_0708
Jul 8, 2025
Merged

test(e2e): fix print urls cases#5563
chenjiahan merged 1 commit intomainfrom
print_url_cases_0708

Conversation

@chenjiahan
Copy link
Copy Markdown
Member

Summary

Fix the failed print urls cases for #5561

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

Copilot AI review requested due to automatic review settings July 8, 2025 07:39
@netlify
Copy link
Copy Markdown

netlify bot commented Jul 8, 2025

Deploy Preview for rsbuild ready!

Name Link
🔨 Latest commit 7e4b080
🔍 Latest deploy log https://app.netlify.com/projects/rsbuild/deploys/686ccb4dd1a28d000831a355
😎 Deploy Preview https://deploy-preview-5563--rsbuild.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 77 (🟢 up 5 from production)
Accessibility: 97 (no change from production)
Best Practices: 100 (no change from production)
SEO: 100 (no change from production)
PWA: 60 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR fixes failing print URLs test cases by updating log matching logic and assertions.

  • Switched from strict endsWith to broader includes for URL path matching.
  • Changed expectations to assert logs are present (toBeTruthy).
  • Corrected label in test filter from Network: to Local: for the local URL case.

@chenjiahan chenjiahan merged commit f4ea225 into main Jul 8, 2025
13 checks passed
@chenjiahan chenjiahan deleted the print_url_cases_0708 branch July 8, 2025 07:45
@chenjiahan chenjiahan mentioned this pull request Jul 8, 2025
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.

2 participants