Skip to content
This repository has been archived by the owner on Sep 25, 2019. It is now read-only.

Selenium-Chrome rspec test integration #283

Open
wants to merge 10 commits into
base: development
Choose a base branch
from

Conversation

llja0112
Copy link
Contributor

@llja0112 llja0112 commented Nov 7, 2014

  1. Install chromedriver - homebrew install chromedriver
  2. Add :js => true to test using selenium-chrome. For example: describe 'Example', :js => true do ... end
  3. "requests/announcement_copy_pages_spec.rb" is used as sample for how you should use selenium chrome browser.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.16%) when pulling a88d9f6 on llja0112:master into 86d828e on Coursemology:development.

@raymondtangsc
Copy link
Contributor

@wangqiang1208 , please help to verify. also, we need to verify it runs on travis successfully

@jsyeo
Copy link
Contributor

jsyeo commented Nov 13, 2014

it's failing because travis doesn't have chromedriver. travis-ci/travis-ci#272

@raymondtangsc
Copy link
Contributor

possible to fix ?

visit course_announcements_path(course)
end

describe "Test 1" do
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The title must have an actual meaning

@jsyeo
Copy link
Contributor

jsyeo commented Nov 13, 2014

@raymondtangsc, yep, I will fix.

@raymondtangsc
Copy link
Contributor

@jsyeo , do we have a command to let travis know that we what it to re-run the test cases ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants