Skip to content

Commit

Permalink
remove sleep
Browse files Browse the repository at this point in the history
  • Loading branch information
omohokcoj committed Dec 25, 2024
1 parent 8edf640 commit 4ad0b04
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spec/signing_form_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def draw_canvas
ctx.lineTo(150, 150);
ctx.stroke();
JS
sleep 1
sleep 0.5
end

def field_value(submitter, field_name)
Expand Down
2 changes: 1 addition & 1 deletion spec/system/setup_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

expect do
click_button 'Submit'
sleep 2
page.driver.wait_for_network_idle
end.to change(Account, :count).by(1).and change(User, :count).by(1).and change(EncryptedConfig, :count).by(2)

user = User.last
Expand Down

0 comments on commit 4ad0b04

Please sign in to comment.