1
0

app-theming.feature 1.3 KB

123456789101112131415161718192021222324252627
  1. @apache
  2. Feature: app-theming
  3. Scenario: changing the color updates the header color
  4. Given I am logged in as the admin
  5. And I visit the settings page
  6. And I open the "Theming" section
  7. And I see that the color selector in the Theming app has loaded
  8. # The "eventually" part is not really needed here, as the colour is not
  9. # being animated at this point, but there is no need to create a specific
  10. # step just for this.
  11. And I see that the header color is eventually "#0082C9"
  12. When I set the "Color" parameter in the Theming app to "#C9C9C9"
  13. Then I see that the parameters in the Theming app are eventually saved
  14. And I see that the header color is eventually "#C9C9C9"
  15. Scenario: resetting the color updates the header color
  16. Given I am logged in as the admin
  17. And I visit the settings page
  18. And I open the "Theming" section
  19. And I see that the color selector in the Theming app has loaded
  20. And I set the "Color" parameter in the Theming app to "#C9C9C9"
  21. And I see that the parameters in the Theming app are eventually saved
  22. And I see that the header color is eventually "#C9C9C9"
  23. When I reset the "Color" parameter in the Theming app to its default value
  24. Then I see that the parameters in the Theming app are eventually saved
  25. And I see that the header color is eventually "#0082C9"