[Rt-commit] rt branch, 4.2/queue-summary-refactoring, updated. rt-4.0.0rc4-32-ga80f79f
Ruslan Zakirov
ruz at bestpractical.com
Wed Mar 2 08:25:38 EST 2011
The branch, 4.2/queue-summary-refactoring has been updated
via a80f79f5b86c7d683a0b0b324fd4302b00ed66eb (commit)
via a8513b3a26b97bccfd353efd8ea08d4996c8b8f4 (commit)
via a73b654aa09b9bbea443910642c3f148e787a605 (commit)
from 67cd856d599af200f4c65db95b555f879a749773 (commit)
Summary of changes:
t/web/custom_search.t | 7 ++++---
t/web/walk.t | 4 ++--
2 files changed, 6 insertions(+), 5 deletions(-)
- Log -----------------------------------------------------------------
commit a73b654aa09b9bbea443910642c3f148e787a605
Author: Ruslan Zakirov <ruz at bestpractical.com>
Date: Wed Mar 2 16:20:34 2011 +0300
no quick search preferences link in the UI
diff --git a/t/web/walk.t b/t/web/walk.t
index abdac2c..8b61adf 100644
--- a/t/web/walk.t
+++ b/t/web/walk.t
@@ -3,7 +3,7 @@
use strict;
use warnings;
-use RT::Test tests => 92;
+use RT::Test tests => 91;
my ( $baseurl, $m ) = RT::Test->started_ok;
@@ -166,7 +166,7 @@ diag 'walk into /Prefs' if $ENV{TEST_VERBOSE};
{
for my $id (
'settings', 'settings-about_me', 'settings-search_options', 'settings-myrt',
- 'settings-quicksearch', 'settings-saved-searches-search-0', 'settings-saved-searches-search-1', 'settings-saved-searches-search-2',
+ 'settings-saved-searches-search-0', 'settings-saved-searches-search-1', 'settings-saved-searches-search-2',
'logout'
)
{
commit a8513b3a26b97bccfd353efd8ea08d4996c8b8f4
Author: Ruslan Zakirov <ruz at bestpractical.com>
Date: Wed Mar 2 16:21:38 2011 +0300
no more link under preferences, use one from "rt at glance"
diff --git a/t/web/custom_search.t b/t/web/custom_search.t
index f8fde25..fd9cf75 100644
--- a/t/web/custom_search.t
+++ b/t/web/custom_search.t
@@ -22,7 +22,8 @@ like ($t_link->url, qr/$id/, 'link to the ticket we created');
$m->content_lacks ('customsearch at localhost', 'requestor not displayed ');
$m->get ( $url.'Prefs/MyRT.html' );
my $cus_hp = $m->find_link( text => "My Tickets" );
-my $cus_qs = $m->find_link( text => "Quick search" );
+$m->get ( $url );
+my $cus_qs = $m->find_link( text => "Edit", url_regex => qr/QueueSummary/ );
$m->get ($cus_hp);
$m->content_contains('highest priority tickets');
commit a80f79f5b86c7d683a0b0b324fd4302b00ed66eb
Author: Ruslan Zakirov <ruz at bestpractical.com>
Date: Wed Mar 2 16:22:25 2011 +0300
Want checkbox has been changed, so it's an array now
diff --git a/t/web/custom_search.t b/t/web/custom_search.t
index fd9cf75..14d0b3b 100644
--- a/t/web/custom_search.t
+++ b/t/web/custom_search.t
@@ -67,7 +67,7 @@ $m->content_lacks ('customsearch at localhost', 'requestor not displayed ');
my $nlinks = $#{$m->find_all_links( text => "General" )};
$m->get ($cus_qs);
$m->form_name ('Preferences');
-$m->untick('Want-General', '1');
+$m->untick( Want => 'General');
$m->click_button (name => 'Save');
$m->get( $url );
@@ -77,7 +77,7 @@ is ($#{$m->find_all_links( text => "General" )}, $nlinks - 1,
# get it back
$m->get ($cus_qs);
$m->form_name ('Preferences');
-$m->tick('Want-General', '1');
+$m->tick( Want => 'General' );
$m->click_button (name => 'Save');
$m->get( $url );
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list