Commit graph

27 commits

Author SHA1 Message Date
Théophile Diot
417e93f04a
Fix shenanigans with automatic UI tests and comment temporarily simple mode tests on services page 2024-05-02 10:05:06 +02:00
Théophile Diot
bc077b6253
Update assert_button_click function in ui/utils.py to handle button click failures 2024-04-25 17:04:22 +02:00
Théophile Diot
326b7672cc
Update UI utils.py to remove unnecessary driver.set_window_size() call 2024-04-25 10:51:39 +02:00
Théophile Diot
2a0f9567de
Execute pre-commit-config and apply it 2024-03-07 17:10:34 +00:00
Jordan Blasenhauer
ced2428eed update ui tests
* enhance bans page test : toggle modal + better filter testing
* enhance global config page test : select plugin + test every setting type + better filter
* enhance services page test : modal test + one plugin a time + better modal filter + modal settings type + update services card filter
* add return keyword on execute_script
2024-03-04 17:43:53 +01:00
Jordan Blasenhauer
7ef9dcc7bd precommit 2024-03-01 18:26:55 +01:00
Jordan Blasenhauer
781eee2901 fix filter settings + use execute_script on tests
* fix filter settings showing all settings when search value is empty
* enhance multiple settings template : add presentation title + better typo for multiple setting title
* update access_page to get page without button action
* click on selenium exception button using execute_script avoiding issues
2024-03-01 18:20:08 +01:00
Jordan Blasenhauer
8c8a2e51b0 use xpath for bans page test 2024-03-01 17:39:50 +01:00
Jordan Blasenhauer
df853e06d7 show window size 2024-03-01 17:19:08 +01:00
Jordan Blasenhauer
df3c16c120 update plugins and tests
* remove tabs and update by select component for better UX
* update script to make new elements work
* update keyword filter settings script
* no longer max-h with overflow on global  config page
* update service modal to fit new elements, enhance responsive and add separator
*remove error actions on test utils
* enhance some base components like button size, service card data position, modal size...
2024-02-29 15:35:44 +01:00
Jordan Blasenhauer
f7a5c3a6b6 update templates + try fix element not into view
* now show on flash message when overlap services on pro version
* update home card to take care of expire case
* add alert when pro plugins without pro license on plugins page
* add alert when accessing pro plugins settings without pro license
* try to move to button element before clicking on it to avoid not in viewport exception
2024-02-28 18:27:46 +01:00
Jordan Blasenhauer
5213c63d8d update tests and pro data on template
* remove using complex execute script on selenium for select, only check if  click doesn't return an error
*start adding conditions with pro data to display useful details or alerts
2024-02-28 17:52:12 +01:00
Jordan Blasenhauer
1e3de2fbf2 try to fix string error 2024-02-28 17:08:24 +01:00
Jordan Blasenhauer
1fe5b4a212 add logs to utils 2024-02-28 16:48:17 +01:00
Jordan Blasenhauer
f87693075e fix } syntax 2024-02-28 15:38:39 +01:00
Jordan Blasenhauer
5f2a284587 enhance logs page + update test utils 2024-02-28 15:10:56 +01:00
Jordan Blasenhauer
375b31e84c remove linebreak on script execute 2024-02-28 14:16:24 +01:00
Jordan Blasenhauer
763a3217be check select is now js script only 2024-02-28 12:19:15 +01:00
Jordan Blasenhauer
149cffe0bd update test utils 2024-02-28 11:24:00 +01:00
Jordan Blasenhauer
83f425ddfe update tests 2024-02-28 09:38:29 +01:00
Jordan Blasenhauer
4db88df054 udpate tests 2024-02-27 18:33:33 +01:00
Jordan Blasenhauer
1d56a96bde update test + pezxommir
* change selector for filter keyword on global config page
* update service test
* remove return statement on test utils
* use utils to verify selects on plugins page
2024-02-26 19:14:11 +01:00
Jordan Blasenhauer
af667ada49 enhance services page + udpate script and tests
* add timeout to execute nomatch showing in order to execute it after the filter logic
* add services card filter : now can filter with name, method or draft/online state
* display no matching filter on services card and service settings too
* card services filtering only showing if at least 4 services
*add new services filter to testing
*update test utils to try fixing issue
2024-02-26 12:20:39 +01:00
Jordan Blasenhauer
d1f2455f96 update test utils 2024-02-25 20:30:36 +01:00
Jordan Blasenhauer
5d84aea801 add filter testing 2024-02-24 23:11:47 +01:00
Jordan Blasenhauer
9e546afa34 update ui and tests
* remove plugins card and show no match on filterting inside globla config page (update html + js)
* add missing css
* tests now can use javascript selector
* start adding some testing
2024-02-24 18:17:35 +01:00
Théophile Diot
b8eaa1e5f5
Start refactoring UI tests 2024-02-07 15:06:24 +01:00