Merge pull request #1805 from internetee/1804-upgrade-ui-tests-for-admin-portal-users

1804 upgrade UI tests for admin portal users
This commit is contained in:
Timo Võhmar 2021-02-01 16:23:27 +02:00 committed by GitHub
commit 4497efc33a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
23 changed files with 798 additions and 7 deletions

View file

@ -15,7 +15,7 @@ class AdminAreaDomainsLegalDocTest < ApplicationSystemTestCase
def test_absent_doc_downloading_without_errors
visit admin_domain_url(@domain)
assert_nothing_raised do
click_on "#{@document.created_at}"
click_on "#{@document.created_at}", match: :first
end
end
end