controller_header.t:
- select value by opening up element list with move_and_click() first,
then select the actual element
Change-Id: Ib7d5d4bd7cf7a793f00877176f7b2b0746c85d97
remove said functions, because find_element_by_xpath can do the exact same
thing those two functions could. also took to opportunity to clean up the
find_element_by_xpath calls
Change-Id: I25ad1429347b1cfab100f7ed59a04a71e4b885f0
formatting and diag texts were kinda all over the place.
now all files follow a certain scheme i.e how the diag texts are written,
proper capitalization, ' and " no getting used and confused randomly, etc.
Change-Id: Ifc8fe40ac0ed9d8e76a41d4149032aae0fbf9667
controller_header.t:
- change header information checks to fix selenium not finding the correct
elements
Change-Id: I96f680f00e86e3c668f1db2529552eb75ee227e6
controller_header.t:
- click on first element and sleep for 1 second, to make other popup
dissapear.
Change-Id: If4300ca4f527fa6acd51ac27dacf33dd2adec4c3
get_text_safe is mainly used to retrieve text from elements that like to
randomly dissapear. in the case of dissapearing, it wont crash the entire
script, instead it will only mark current test as failed.
added function call everywhere where it was needed
Change-Id: I82c00b135ec91e3ad5f003e0a1b9f677b5776b1a
controller_header.t:
- added refresh when trying to move objects to fix test not finding
buttons
- fixed up some alert messages
- soon, it will he ctr_headers time to shine (hopefully)
Change-Id: I58dc55e47d62d4e5198f2c1a57a601585ac15970
every test file now calls $d->quit(); after they are done testing, regardless
if successful or not. new geckodriver version has some issues when driver
instances are not killed properly
Change-Id: If3d9ccf139d4459345d08b96c33e6d76a0831f8f
controller_header.t:
- removed fill_element when checking if header rule condition was deleted,
since it isn't really necessary plus it causes problems with stale elements
Change-Id: I8e2c1ec89a0986531987b6fca07973104e18333f
controller_header.t:
- create a rewrite rule set, to add it to header actions/conditions later
- see if rewrite rule set got added
- delete it after test is done
Change-Id: I2f3553eb196f57642559fa3c3566ee7d91d37631
controller_header.t:
- create/edit/delelte header rule set
- create/edit header rule
- check if a second header rule moves up
- delete second header rule
- create/edit/delete header condition
- create/edit header action
- check if a second header action moves up
- delete header action
runner.t:
- add controller_header.t to experimental test plan
- make controller_header.t manually executable
Change-Id: I0cd3c9f3a6b388a0de848ca434926ccbb3620aa2