Verified Commit 37f8f038 authored by Kaspar Vollenweider's avatar Kaspar Vollenweider 👻
Browse files

trying to deflapp flappy test

parent c9ad883b
Pipeline #13875 passed with stage
in 27 minutes and 19 seconds
......@@ -154,17 +154,20 @@ class ClientsTest < ApplicationSystemTestCase
assert page.has_text? 'Client was successfully deleted.'
test 'client pagination' do
test 'client_pagination' do
login_as @superadmin
70.times do
create :client
visit clients_path
first(:link, '2').click
assert page.has_css? '.pagination'
Client.order('created_at desc').paginate(page: 2).each do |client|
assert page.has_text?
assert page.has_text?
within page.first('.pagination') do
assert page.has_link? '1', href: clients_path(page: 1)
assert page.has_link? 'Previous', href: clients_path(page: 1)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment