"Fossies" - the Fresh Open Source Software Archive  

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

Run.t  (otrs-5.0.39.tar.bz2):Run.t  (otrs-5.0.40.tar.bz2)
skipping to change at line 137 skipping to change at line 137
return true; return true;
}; };
}()); }());
JAVASCRIPT JAVASCRIPT
$Selenium->execute_script($CheckConfirmJS); $Selenium->execute_script($CheckConfirmJS);
# delete test stats # delete test stats
# click on delete icon # click on delete icon
$Selenium->find_element( $Selenium->find_element(
"//a[contains(\@href, \'Action=AgentStatistics;Subaction=DeleteActio n;StatID=$StatsIDLast\' )]" "//a[contains(\@href, \'Action=AgentStatistics;Subaction=DeleteActio n;StatID=$StatsIDLast;\' )]"
)->VerifiedClick(); )->VerifiedClick();
$Selenium->WaitFor(
JavaScript =>
"return typeof(\$) === 'function' && \$('a[href*=\"DeleteAction;
StatID=$StatsIDLast;\"]').length == 0;"
);
$Self->True( $Self->True(
index( $Selenium->get_page_source(), "Action=AgentStatistics;Subacti on=Edit;StatID=$StatsIDLast" ) == -1, index( $Selenium->get_page_source(), "Action=AgentStatistics;Subacti on=Edit;StatID=$StatsIDLast;" ) == -1,
"Test statistic is deleted - $StatsIDLast " "Test statistic is deleted - $StatsIDLast "
); ) || die;
# make sure the cache is correct. # make sure the cache is correct.
$Kernel::OM->Get('Kernel::System::Cache')->CleanUp( Type => "Stats" ); $Kernel::OM->Get('Kernel::System::Cache')->CleanUp( Type => "Stats" );
} }
); );
1; 1;
 End of changes. 4 change blocks. 
3 lines changed or deleted 9 lines changed or added

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