"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "scripts/test/Selenium/Agent/AgentCustomerInformationCenter.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").

AgentCustomerInformationCenter.t  (otrs-5.0.39.tar.bz2):AgentCustomerInformationCenter.t  (otrs-5.0.40.tar.bz2)
skipping to change at line 170 skipping to change at line 170
$Selenium->WaitFor( $Selenium->WaitFor(
JavaScript => JavaScript =>
'return typeof($) === "function" && $("#AgentCustomerInformation CenterSearchCustomerID").length;' 'return typeof($) === "function" && $("#AgentCustomerInformation CenterSearchCustomerID").length;'
); );
# input search parameters for CustomerUser # input search parameters for CustomerUser
$Selenium->find_element( "#AgentCustomerInformationCenterSearchCustomerU ser", 'css' ) $Selenium->find_element( "#AgentCustomerInformationCenterSearchCustomerU ser", 'css' )
->send_keys( $RandomID . 'CustomerUser' . '*' ); ->send_keys( $RandomID . 'CustomerUser' . '*' );
# Check result of customer user search (there should be 5 matches). # Check result of customer user search (there should be 5 matches).
$Selenium->WaitFor( JavaScript => "return \$('.ui-menu:eq(1) li').length == 5;" ); $Selenium->WaitFor( JavaScript => "return \$('li:contains(\"$RandomID\") ').length == 5;" );
$Selenium->find_element( "#AgentCustomerInformationCenterSearchCustomerU ser", 'css' )->clear(); $Selenium->find_element( "#AgentCustomerInformationCenterSearchCustomerU ser", 'css' )->clear();
# input search parameters CustomerID # input search parameters CustomerID
$Selenium->find_element( "#AgentCustomerInformationCenterSearchCustomerI D", 'css' ) $Selenium->find_element( "#AgentCustomerInformationCenterSearchCustomerI D", 'css' )
->send_keys($TestCustomerUserLogin); ->send_keys($TestCustomerUserLogin);
$Selenium->WaitFor( JavaScript => 'return typeof($) === "function" && $( "li.ui-menu-item:visible").length;' ); $Selenium->WaitFor( JavaScript => 'return typeof($) === "function" && $( "li.ui-menu-item:visible").length;' );
$Selenium->execute_script("\$('li.ui-menu-item:contains($TestCustomerUse rLogin)').click()"); $Selenium->execute_script("\$('li.ui-menu-item:contains($TestCustomerUse rLogin)').click()");
$Selenium->WaitFor( $Selenium->WaitFor(
JavaScript => 'return typeof($) === "function" && $(".ContentColumn .WidgetSimple .Header h2").length;' JavaScript => 'return typeof($) === "function" && $(".ContentColumn .WidgetSimple .Header h2").length;'
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

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