nextcloud/tests/acceptance/features/bootstrap
Abijeet 81f34e224c
Allows adding of hex color to the theme-color
Fixes #7158. Adds a # on the color if missing.

Increased maxlength, added hash:true for jscolor, and adding a # if not present on the change event.

Since the input element now allows a hex code, changed values to hexcode.

In addition, added a function to get RGB array from hex or rgb values. Calling it in both methods and using it to perform comparison.

Also changed the way we were determining whether the jscolor component had loaded.

Changed the control to use data-jscolor rather than defining opts in the class.

Signed-off-by: Abijeet <abijeetpatro@gmail.com>
2017-12-08 10:42:41 +01:00
..
AppNavigationContext.php Extract app navigation elements to its own context 2017-07-08 15:36:01 +02:00
CommentsAppContext.php add acceptance tests 2017-10-28 23:57:35 +02:00
FeatureContext.php Move acceptance tests from build/acceptance to tests/acceptance 2017-04-21 14:44:29 +02:00
FilesAppContext.php Solve acceptance test failure due to clicks on covered elements 2017-10-19 01:46:13 +02:00
FilesSharingAppContext.php Remove "content" locator from acceptance tests 2017-05-02 15:09:25 +02:00
LoginPageContext.php Fix acceptance test 2017-11-08 09:19:33 +01:00
NotificationContext.php Remove "content" locator from acceptance tests 2017-05-02 15:09:25 +02:00
SettingsContext.php Add acceptance tests for unselecting items in dropdown for tags 2017-07-10 03:38:22 +02:00
SettingsMenuContext.php try to lower the timeout in an acceptance test 2017-06-26 14:42:07 +02:00
ThemingAppContext.php Allows adding of hex color to the theme-color 2017-12-08 10:42:41 +01:00
UsersSettingsContext.php Move acceptance tests from build/acceptance to tests/acceptance 2017-04-21 14:44:29 +02:00