docbrown/spec/features/user_edits_profile_spec.rb
Mac Siri 1555388f12 Migrate to Travis CI --skip-ci (#588)
* Create .travis.yml

* Update .travis.yml

* Add postgresql to travis

* Change travis's postgresql version

* Add chrome addon to travis

* Adjust travis config --skip-ci

* Change travis dist

* Change travis to use Chrome --skip-ci

* Use IntegraitonHelpers --skip-ci

* Add no-sandbox option to headless chrome

* Add sudo to travis

* Fix broken spec

* Update travis.yml

* Change how travis store bundler cache

* Update chromedriver command

* Add CodeClimate to travis --skip-ci

* Remove deadcode --skip-ci

* Remove dead code

* Change rspec-retry back to 3

* Add deploy script to travis

* Safelist only master for Travis --skip-ci
2018-07-16 17:11:42 -04:00

33 lines
957 B
Ruby

# require "rails_helper"
# RSpec.describe "User edits their profile", type: :feature, js: true do
# let(:user) { create(:user, saw_onboarding: true) }
# before do
# sign_in user
# end
# describe "via their profile page" do
# it "clicks on the edit profile button" do
# visit "/#{user.username}"
# find(:xpath, "//button[@id='user-follow-butt']").click
# expect(page).to have_current_path("/settings")
# end
# end
# describe "via visiting /settings" do
# it "goes to /settings" do
# visit "/settings"
# expect(page).to have_current_path("/settings")
# end
# end
# describe "via the navbar" do
# it "clicks on the Settings button in the navbar" do
# visit "/"
# find(:xpath, "//button[@id='navigation-butt']").hover
# find(:xpath, "//div[@id='loggedinmenu']/a[@href='/settings']").click
# expect(page).to have_current_path("/settings")
# end
# end
# end