File tree Expand file tree Collapse file tree 2 files changed +8
-11
lines changed Expand file tree Collapse file tree 2 files changed +8
-11
lines changed Original file line number Diff line number Diff line change 1
1
# Integration Test Notes
2
2
3
3
4
+ ## CI
5
+ See the .travis.yml file, at the bottom, to see what driver is used by Travis.
6
+
7
+ ` DRIVER=poltergeist_errors_ok bundle exec rake `
8
+
9
+ Codeship is set to use the default driver.
10
+
4
11
## Driver Options
5
- The current default driver is selenium chrome.
12
+ The current default driver is selenium chrome.
6
13
7
14
Support is included for the following drivers:
8
15
Original file line number Diff line number Diff line change 1
1
require "rails_helper"
2
2
require "features/shared/contexts"
3
3
4
- # Set this slightly longer than longest animations
5
- # client/app/bundles/comments/components/CommentBox/CommentBox.scss:6
6
- # client/app/bundles/comments/components/CommentBox/CommentForm/CommentForm.jsx:320
7
- # CAPYBARA_ANIMATION_SLEEP = 1
8
-
9
4
shared_examples "New Comment Submission" do |expect_comment_count |
10
5
context "when the new comment is submitted" do
11
6
let ( :name ) { "John Smith" }
48
43
shared_examples "Validation errors displaying" do
49
44
context "when the new comment is submitted with blank fields" , blank_form_submitted : true do
50
45
scenario "validation errors displayed" do
51
- # Sleeping is CRITICAL to this test not crashing on Travis
52
- # See builds here:
53
- # https://travis-ci.org/shakacode/react-webpack-rails-tutorial/builds/178794772
54
- # sleep CAPYBARA_ANIMATION_SLEEP
55
-
56
46
expect ( page ) . to have_content ( "Your comment was not saved!" )
57
47
expect ( page ) . to have_content ( "Author: can't be blank" )
58
48
expect ( page ) . to have_content ( "Text: can't be blank" )
You can’t perform that action at this time.
0 commit comments