app-theming.feature 1.1 KB

1234567891011121314151617181920212223
  1. Feature: app-theming
  2. Scenario: changing the color updates the header color
  3. Given I am logged in as the admin
  4. And I visit the settings page
  5. And I open the "Theming" section
  6. And I see that the color selector in the Theming app has loaded
  7. And I see that the header color is "#0082C9"
  8. When I set the "Color" parameter in the Theming app to "#C9C9C9"
  9. Then I see that the parameters in the Theming app are eventually saved
  10. And I see that the header color is "#C9C9C9"
  11. Scenario: resetting the color updates the header color
  12. Given I am logged in as the admin
  13. And I visit the settings page
  14. And I open the "Theming" section
  15. And I see that the color selector in the Theming app has loaded
  16. And I set the "Color" parameter in the Theming app to "#C9C9C9"
  17. And I see that the parameters in the Theming app are eventually saved
  18. And I see that the header color is "#C9C9C9"
  19. When I reset the "Color" parameter in the Theming app to its default value
  20. Then I see that the parameters in the Theming app are eventually saved
  21. And I see that the header color is "#0082C9"