| Index: Tools/GardeningServer/scripts/ui_unittests.js
|
| diff --git a/Tools/GardeningServer/scripts/ui_unittests.js b/Tools/GardeningServer/scripts/ui_unittests.js
|
| index 311520ae558cf20ebc287fde6395c82145c823e6..3ceaf115bc575dc0d232ceb9ab8ae7eaa5cff77c 100644
|
| --- a/Tools/GardeningServer/scripts/ui_unittests.js
|
| +++ b/Tools/GardeningServer/scripts/ui_unittests.js
|
| @@ -46,7 +46,7 @@ var kExampleResultsByTest = {
|
| }
|
| }
|
|
|
| -test("ui.onebar", 3, function() {
|
| +test("ui.onebar", 2, function() {
|
| if (window.location.hash) {
|
| window.location.hash = '';
|
| }
|
| @@ -56,16 +56,12 @@ test("ui.onebar", 3, function() {
|
| equal(onebar.innerHTML,
|
| '<ul class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all">' +
|
| '<li class="ui-state-default ui-corner-top ui-tabs-selected ui-state-active"><a href="#unexpected">Unexpected Failures</a></li>' +
|
| - '<li class="ui-state-default ui-corner-top"><a href="#expected">Expected Failures</a></li>' +
|
| '<li class="ui-state-default ui-corner-top ui-state-disabled"><a href="#results">Results</a></li>' +
|
| '</ul>' +
|
| '<div id="link-handling"><input type="checkbox" id="new-window-for-links"><label for="new-window-for-links">Open links in new window</label></div>' +
|
| '<div id="unexpected" class="ui-tabs-panel ui-widget-content ui-corner-bottom"></div>' +
|
| - '<div id="expected" class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide"></div>' +
|
| '<div id="results" class="ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide"></div>');
|
|
|
| - onebar.select('expected');
|
| - equal(window.location.hash, '#expected');
|
| onebar.select('unexpected');
|
| equal(window.location.hash, '#unexpected');
|
|
|
|
|