docbrown/spec/system/user/user_edits_customization_spec.rb
Lisa Sy fc4f6e3b1c
Improve information architecture of Settings (#11347)
* WIP Rename categories and make consistency card titles

* Add rest of sections to Extensions page

* icons

* Reshuffle Integrations and remove unnecessary Integrations tab in controller

* Update rspec tests

* Fix specs

Co-authored-by: ludwiczakpawel <ludwiczakpawel@gmail.com>
Co-authored-by: rhymes <rhymes@hey.com>
2020-11-24 12:26:06 -08:00

21 lines
488 B
Ruby

require "rails_helper"
RSpec.describe "User edits their Customization settings", type: :system do
let(:user) { create(:user) }
before do
sign_in user
visit user_settings_path(:customization)
end
describe "visiting Customization section" do
it "makes the 'Save Button' footer sticky once a theme is selected", js: true do
expect(page).not_to have_css(".sticky")
choose("Ten X Hacker Theme")
expect(page).to have_css(".sticky")
end
end
end