Skip to content

Commit 5dfa690

Browse files
committed
updates
1 parent 63cbdda commit 5dfa690

File tree

2 files changed

+8
-11
lines changed

2 files changed

+8
-11
lines changed

docs/integration-test-notes.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
11
# Integration Test Notes
22

33

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+
411
## Driver Options
5-
The current default driver is selenium chrome.
12+
The current default driver is selenium chrome.
613

714
Support is included for the following drivers:
815

spec/features/shared/examples.rb

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
require "rails_helper"
22
require "features/shared/contexts"
33

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-
94
shared_examples "New Comment Submission" do |expect_comment_count|
105
context "when the new comment is submitted" do
116
let(:name) { "John Smith" }
@@ -48,11 +43,6 @@
4843
shared_examples "Validation errors displaying" do
4944
context "when the new comment is submitted with blank fields", blank_form_submitted: true do
5045
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-
5646
expect(page).to have_content("Your comment was not saved!")
5747
expect(page).to have_content("Author: can't be blank")
5848
expect(page).to have_content("Text: can't be blank")

0 commit comments

Comments
 (0)