This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// GENERATED: 2011-06-01 12:47:58 -0500 | |
// This file is automatically generated by spade. To update run | |
// 'spade update'. To use this file, reference it in your HTML file. Base | |
// sure that your base URL is to the top level directory containing all of | |
// your files. | |
/*globals spade */ | |
//@ begin boot | |
(function() { | |
// load spade itself |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function pullUpdates() { | |
jQuery.ajax({ | |
url: url, | |
dataType: 'json', | |
data: [], | |
success: function(data) { | |
groupedData = groupData(data); | |
groupedFilteredData = applyFilters(groupedData); | |
renderAlerts(groupedFilteredData); | |
setTimeout(pullUpdates, 30000); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@firebug | |
Scenario: Examine the assigned events | |
Given an event "Pings not responding" from the source "Test.srv" that is assigned | |
And I am logged in | |
When I go to the alerts index | |
And I wait until "div#assigned section.events" is visible | |
Then I should see "Pings not responding" within "div#assigned" | |
And I should not see "Pings not responding" in the assigned to me events section |