-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* screenshots in system tests * more screenshots * Google::Cloud::Storage.anonymous * Update Dangerfile * Update docker-compose-testing.yml * HAS_JOSH_K_SEAL_OF_APPROVAL * change fail to warn in danger junit parsing so if all tests pass, we don't worry
- Loading branch information
1 parent
84a306c
commit afc29e8
Showing
5 changed files
with
68 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
require "application_system_test_case" | ||
|
||
class ScreenshotsTest < ApplicationSystemTestCase | ||
Capybara.default_max_wait_time = 60 | ||
|
||
test 'front page with navbar search autocomplete' do | ||
visit '/' | ||
fill_in("searchform_input", with: "Canon") | ||
assert_selector ".typeahead li", text: "Canon A1200 IR conversion at PLOTS Barnraising at LUMCON" | ||
take_screenshot | ||
end | ||
|
||
test 'wiki' do | ||
visit '/wiki' | ||
take_screenshot | ||
end | ||
|
||
test 'tags' do | ||
visit '/tags' | ||
take_screenshot | ||
end | ||
|
||
test 'blog' do | ||
visit '/blog' | ||
take_screenshot | ||
end | ||
|
||
test 'people' do | ||
visit '/people' | ||
take_screenshot | ||
end | ||
end |