Skip to content
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

Run basic test on firefox #2962

Merged
merged 4 commits into from
Jul 16, 2024
Merged

Run basic test on firefox #2962

merged 4 commits into from
Jul 16, 2024

Conversation

fonsp
Copy link
Owner

@fonsp fonsp commented Jul 16, 2024

I think running all the frontend tests on firefox will cause too much debugging headache, so here is a github action that just runs a Pluto notebook with this code:

@bind x html"""
<script>
currentScript.value = "hello from " + navigator.userAgent
currentScript.dispatchEvent(new CustomEvent("input"))
</script>
"""
x

And it launches a firefox process. When the tab opens, the bond value is set, and the test finishes.

Copy link
Contributor

Try this Pull Request!

Open Julia and type:

julia> import Pkg
julia> Pkg.activate(temp=true)
julia> Pkg.add(url="https://github.com/fonsp/Pluto.jl", rev="firefox-launch-test")
julia> using Pluto

@fonsp fonsp added frontend Concerning the HTML editor tests issues that improve the code coverage and the automatic testing labels Jul 16, 2024
@fonsp fonsp merged commit 64914cd into main Jul 16, 2024
4 of 13 checks passed
@fonsp fonsp deleted the firefox-launch-test branch July 16, 2024 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frontend Concerning the HTML editor tests issues that improve the code coverage and the automatic testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant