Skip to content

feat: Add support for iframes in page scanner utility - #144

Merged
fralongo merged 4 commits into
mainfrom
flongo-page-scanner-3
Jul 15, 2025
Merged

feat: Add support for iframes in page scanner utility#144
fralongo merged 4 commits into
mainfrom
flongo-page-scanner-3

Conversation

@fralongo

Copy link
Copy Markdown
Member

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@fralongo
fralongo requested a review from a team as a code owner July 11, 2025 12:13
@fralongo
fralongo requested review from jperals and removed request for a team July 11, 2025 12:13
@codecov

codecov Bot commented Jul 14, 2025

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.39%. Comparing base (837fb68) to head (fdfd705).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #144      +/-   ##
==========================================
+ Coverage   99.38%   99.39%   +0.01%     
==========================================
  Files          33       33              
  Lines         810      826      +16     
  Branches      214      232      +18     
==========================================
+ Hits          805      821      +16     
  Misses          5        5              

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@fralongo
fralongo force-pushed the flongo-page-scanner-3 branch from 5928a54 to a55841c Compare July 14, 2025 12:32
test('with iframes', async () => {
const { container } = render(<AppWithIframe />);
await waitFor(() => {
(

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Does this waitFor do anything? From the docs:

Returning a falsy condition is not sufficient to trigger a retry, the callback must throw an error in order to retry the condition

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Interesting, I didn't know. Let me remove the waiting then.

@fralongo
fralongo requested a review from jperals July 15, 2025 08:13
@fralongo
fralongo added this pull request to the merge queue Jul 15, 2025
Merged via the queue into main with commit 9cb7d0e Jul 15, 2025
36 checks passed
@fralongo
fralongo deleted the flongo-page-scanner-3 branch July 15, 2025 09:17
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