Skip to content
This repository has been archived by the owner on Jan 7, 2018. It is now read-only.

Commit

Permalink
Fix tests due to changes in admin filtering interface.
Browse files Browse the repository at this point in the history
  • Loading branch information
GUI committed Feb 19, 2015
1 parent a4e052c commit b0383f8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/assets/javascripts/admin_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
// The other part of this is altering the CSS to disable transitions in
// admin_test.css.
$.support.transition = false;
$.fx.off = true;
$(document).ready(function() {
$.support.transition = false;
$.fx.off = true;
});
3 changes: 3 additions & 0 deletions spec/features/admin/stats_logs_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@
"interval" => "day",
})

find("a", :text => /Filter Results/).click
find("a", :text => /Switch to advanced filters/).click
fill_in "search", :with => "response_status:200"
click_button "Filter"
link = find_link("Download CSV")
Expand All @@ -51,6 +53,7 @@
"start_at" => "2015-01-13",
"end_at" => "2015-01-18",
"interval" => "day",
"query" => "",
})
end

Expand Down

0 comments on commit b0383f8

Please sign in to comment.