Skip to content

Commit 361fa21

Browse files
authored
Merge pull request #760 from integer32llc/run-on-m1
2 parents 62245b4 + 2da8b99 commit 361fa21

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

tests/spec/features/highlighting_mir_output_spec.rb

-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
end
1313

1414
scenario "error locations are links" do
15-
pending "Double notifications block the text to click on"
16-
1715
within(:output, :mir) do
1816
click_link('src/main.rs:4:14: 4:19', match: :first)
1917
end

tests/spec/spec_helper.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
Capybara.default_driver = Capybara.javascript_driver = :firefox
5959
Capybara.app_host = "http://#{ADDRESS}:#{PORT}"
6060
Capybara.run_server = false
61-
Capybara.default_max_wait_time = 5
61+
Capybara.default_max_wait_time = ENV.fetch('CAPYBARA_WAIT', 5).to_f
6262
Capybara.automatic_label_click = true
6363

6464
Capybara::Screenshot.register_driver(:firefox) do |driver, path|

ui/src/sandbox.rs

+2
Original file line numberDiff line numberDiff line change
@@ -439,6 +439,8 @@ macro_rules! docker_command {
439439
fn basic_secure_docker_command() -> Command {
440440
let mut cmd = docker_command!(
441441
"run",
442+
"--platform",
443+
"linux/amd64",
442444
"--detach",
443445
"--cap-drop=ALL",
444446
// Needed to allow overwriting the file

0 commit comments

Comments
 (0)