[Bps-public-commit] RTx-TakeScreenshots branch, master, updated. 5131d68f7d2bea967ffe7643fe1be323c964ad8c

Thomas Sibley trs at bestpractical.com
Wed Apr 27 18:53:27 EDT 2011


The branch, master has been updated
       via  5131d68f7d2bea967ffe7643fe1be323c964ad8c (commit)
       via  e4649cb50645db4eac9afdbeba52cf0e81cb85da (commit)
       via  97865e2fba576562fe2df7ffb54c44082e8e9b9c (commit)
      from  d42fcdd0e3fc9e24aeffef69314d8f27b8d52e61 (commit)

Summary of changes:
 bin/take-screenshots |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

- Log -----------------------------------------------------------------
commit 97865e2fba576562fe2df7ffb54c44082e8e9b9c
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Wed Apr 27 18:52:46 2011 -0400

    Wait up to 5s for pages to load, so we don't catch JS with its pants down

diff --git a/bin/take-screenshots b/bin/take-screenshots
index 3ec46dc..3a0778c 100755
--- a/bin/take-screenshots
+++ b/bin/take-screenshots
@@ -109,6 +109,7 @@ for my $page (@pages) {
 
     print "Screenshotting $title\n";
     $firefox->open("$RT$url");
+    $firefox->wait_for_page_to_load(5000);
 
     if ($url =~ m{^/m/} and not $resized) {
         resize_window($firefox, 416, 400);

commit e4649cb50645db4eac9afdbeba52cf0e81cb85da
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Wed Apr 27 18:53:05 2011 -0400

    Screenshot a boring ticket update page, for now

diff --git a/bin/take-screenshots b/bin/take-screenshots
index 3a0778c..850f6ec 100755
--- a/bin/take-screenshots
+++ b/bin/take-screenshots
@@ -144,6 +144,7 @@ __DATA__
 homepage|/index.html
 ticket_basics|/Ticket/Display.html?id=1
 ticket_history|/Ticket/History.html?id=1
+ticket_update|/Ticket/Update.html?id=1
 # Ticket create is special-cased above
 search_results|/Search/Results.html?Query=id+<+4;Order=DESC
 search_bulk_update|/Search/Bulk.html?Query=id+<+4;Order=DESC

commit 5131d68f7d2bea967ffe7643fe1be323c964ad8c
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Wed Apr 27 18:53:23 2011 -0400

    Screenshot aileron's menus with some flown out

diff --git a/bin/take-screenshots b/bin/take-screenshots
index 850f6ec..00f7aa6 100755
--- a/bin/take-screenshots
+++ b/bin/take-screenshots
@@ -101,6 +101,16 @@ for my $subscribe (grep { $_->[1] =~ /Dashboards\/Subscription/ } @pages) {
     }
 }
 
+# Nab the menus in action
+{
+    $firefox->open($RT);
+    $firefox->run_script('jQuery("#tools-config-queues-select").focus();');
+    $firefox->pause(1000);
+    print "Screenshotting aileron_menus\n";
+    $firefox->capture_entire_page_screenshot("$output/aileron_menus.png");
+    $firefox->open($RT);
+}
+
 my $resized = 0;
 
 # Capture the pages we want

-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list