Improve user feedback on the Profile > Design page
- Header changes immediately without a page reload - Lets the user know that we actually saved their setting when changed
This commit is contained in:
parent
0046409970
commit
30a66c065a
7 changed files with 73 additions and 12 deletions
|
@ -59,4 +59,21 @@ class Profile < Spinach::FeatureSteps
|
|||
Then 'I should see my activity' do
|
||||
page.should have_content "#{current_user.name} closed issue"
|
||||
end
|
||||
|
||||
When "I change my application theme" do
|
||||
choose "Violet"
|
||||
end
|
||||
|
||||
When "I change my code preview theme" do
|
||||
choose "Dark code preview"
|
||||
end
|
||||
|
||||
Then "I should see the theme change immediately" do
|
||||
page.should have_selector('body.ui_color')
|
||||
page.should_not have_selector('body.ui_basic')
|
||||
end
|
||||
|
||||
Then "I should receive feedback that the changes were saved" do
|
||||
page.should have_content("Saved")
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue