Skip to content

Commit

Permalink
missed some more window constructors
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonDanisch committed Jan 24, 2025
1 parent 14b4027 commit 2172961
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/ElectronTests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ function start(testsession::TestSession; timeout=300)
start(testsession.server)
end
if !isdefined(testsession, :window) || !testsession.window.exists
testsession.window = Window()
testsession.window = Bonito.EWindow()
end
reload!(testsession; timeout=timeout)
catch e
Expand Down
2 changes: 1 addition & 1 deletion test/connection-serving.jl
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ path = joinpath(@__DIR__, "test.html")
app = App(export_test_app)
export_static(path, app; connection=connection(), asset_server=server())
# We need to drop a bit lower and cant use `testapp` here, since that uses fixed connection + asset server
window = Window(URI("file://" * path))
window = Bonito.EWindow(URI("file://" * path))
sleep(0.5) # how did this work before without syncronization?
result = run(window, "$(query_testid("result")).innerText")
@test result == "passed"
Expand Down

0 comments on commit 2172961

Please sign in to comment.