Skip to content

Commit

Permalink
reduce sleep to 0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
caitmich committed Oct 12, 2023
1 parent 85866b1 commit 9cb2de7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions spec/features/note_pages_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@
describe 'cancel button' do
it 'returns to the note page' do
cancel_form
sleep 1
sleep 0.5
expect(current_path).to eq project_node_note_path(current_project, @node, @note)
end
end
Expand Down Expand Up @@ -227,7 +227,7 @@
describe 'cancel button' do
it 'returns to the node page' do
cancel_form
sleep 1
sleep 0.5
expect(current_path).to eq project_node_path(current_project, @node)
end
end
Expand Down
2 changes: 1 addition & 1 deletion spec/features/tags_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@

it 'renders manage tag' do
click_link 'Manage tags'
sleep 1
sleep 0.5
expect(current_path).to eq(project_tags_path(current_project))
end
end
Expand Down
2 changes: 1 addition & 1 deletion spec/support/qa_shared_examples.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
it 'redirects the user back to #index after updating the record' do
find('.dataTable tbody tr:first-of-type').hover
click_link 'Edit'
sleep 1
sleep 0.5

expect(current_path).to eq polymorphic_path([:edit, current_project, :qa, records.first])

Expand Down

0 comments on commit 9cb2de7

Please sign in to comment.