Skip to content

Run browser tests in safari #368

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

mcbarton
Copy link
Collaborator

Description

Please include a summary of changes, motivation and context for this PR.

Fixes # (issue)

Type of change

Please tick all options which are relevant.

  • Bug fix
  • New feature
  • Added/removed dependencies
  • Required documentation updates

@codecov-commenter
Copy link

codecov-commenter commented Jul 22, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 81.78%. Comparing base (3f5166e) to head (adcf86a).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #368      +/-   ##
==========================================
- Coverage   82.10%   81.78%   -0.32%     
==========================================
  Files          20       20              
  Lines         950      950              
  Branches       87       87              
==========================================
- Hits          780      777       -3     
- Misses        170      173       +3     

see 1 file with indirect coverage changes
see 1 file with indirect coverage changes

🚀 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.

@mcbarton mcbarton changed the title [wip] Run browser tests in safari Run browser tests in safari Jul 23, 2025
@mcbarton mcbarton marked this pull request as ready for review July 23, 2025 09:09
@mcbarton mcbarton requested a review from vgvassilev July 23, 2025 09:09
@mcbarton mcbarton force-pushed the Run-browser-tests-in-safari branch from 5efac06 to 88566ee Compare July 23, 2025 09:11
Copy link
Contributor

@vgvassilev vgvassilev left a comment

Choose a reason for hiding this comment

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

Cool that we can run now tests in Safari too. Does it fail if something is broken?

@mcbarton
Copy link
Collaborator Author

Cool that we can run now tests in Safari too. Does it fail if something is broken?

@vgvassilev Yes it will fail if something is broken, because emrun will catch the non zero exit code, just like the other browsers. Selenium and safaridriver are just used to open the webpage in Safari, then emrun gets the output from the tests running (including the return value).

@mcbarton mcbarton force-pushed the Run-browser-tests-in-safari branch from 88566ee to 34e8bf8 Compare July 25, 2025 13:53
@mcbarton
Copy link
Collaborator Author

I will update this PR soon to use the relative path to safari test script to be consistent with what cppinterop does

@mcbarton mcbarton force-pushed the Run-browser-tests-in-safari branch from f82d694 to 2f902c9 Compare August 11, 2025 10:09
@mcbarton mcbarton force-pushed the Run-browser-tests-in-safari branch from 2f902c9 to adcf86a Compare August 11, 2025 10:09
@mcbarton mcbarton requested a review from vgvassilev August 11, 2025 10:14
Copy link
Contributor

@vgvassilev vgvassilev left a comment

Choose a reason for hiding this comment

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

LGTM!

@mcbarton mcbarton merged commit fd6edbd into compiler-research:main Aug 11, 2025
15 checks passed
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.

3 participants