"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "scripts/test/Selenium/Agent/Admin/AdminSelectBox.t" between
otrs-5.0.39.tar.bz2 and otrs-5.0.40.tar.bz2

About: OTRS (formerly "Open Ticket Request System" now "Open Technology – Real Service") is a web-based ticketing systems used for Customer Service, Help Desk, IT Service Management. 5.x release ("Community Edition").

AdminSelectBox.t  (otrs-5.0.39.tar.bz2):AdminSelectBox.t  (otrs-5.0.40.tar.bz2)
skipping to change at line 61 skipping to change at line 61
"return \$('#SQL').hasClass('Error')" "return \$('#SQL').hasClass('Error')"
), ),
'1', '1',
'Client side validation correctly detected missing input value for # SQL', 'Client side validation correctly detected missing input value for # SQL',
); );
# wrong SQL statement, check server side validation # wrong SQL statement, check server side validation
$Selenium->find_element( "#SQL", 'css' )->clear(); $Selenium->find_element( "#SQL", 'css' )->clear();
$Selenium->find_element( "#SQL", 'css' )->send_keys("SELECT * FROM"); $Selenium->find_element( "#SQL", 'css' )->send_keys("SELECT * FROM");
$Selenium->find_element( "#Run", 'css' )->VerifiedClick(); $Selenium->find_element( "#Run", 'css' )->VerifiedClick();
$Selenium->WaitFor(
ElementExists => "//textarea[contains(\@class,'ServerError')]"
);
$Self->Is( $Self->Is(
$Selenium->execute_script( $Selenium->execute_script(
"return \$('#SQL').hasClass('ServerError')" "return \$('#SQL').hasClass('ServerError')"
), ),
'1', '1',
'Server side validation correctly detected missing input value for # SQL', 'Server side validation correctly detected missing input value for # SQL',
); );
$Selenium->find_element( "#DialogButton1", 'css' )->click(); $Selenium->find_element( "#DialogButton1", 'css' )->click();
 End of changes. 1 change blocks. 
0 lines changed or deleted 5 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)