Bugzilla – Attachment 42111 Details for
Bug 14536
PageObject-pattern base implementation
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14536 - PageObject squashable
Bug-14536---PageObject-squashable.patch (text/plain), 1.57 KB, created by
Olli-Antti Kivilahti
on 2015-08-31 11:05:08 UTC
(
hide
)
Description:
Bug 14536 - PageObject squashable
Filename:
MIME Type:
Creator:
Olli-Antti Kivilahti
Created:
2015-08-31 11:05:08 UTC
Size:
1.57 KB
patch
obsolete
>From 7778d2e1deb6704045c16403da816a76d07eb888 Mon Sep 17 00:00:00 2001 >From: Olli-Antti Kivilahti <olli-antti.kivilahti@jns.fi> >Date: Tue, 25 Aug 2015 11:46:18 +0300 >Subject: [PATCH] Bug 14536 - PageObject squashable > >--- > misc/devel/interactiveWebDriverShell.pl | 6 ++++++ > t/lib/Page.pm | 11 +++++++++++ > 2 files changed, 17 insertions(+) > >diff --git a/misc/devel/interactiveWebDriverShell.pl b/misc/devel/interactiveWebDriverShell.pl >index 0af4a2b..83f6980 100755 >--- a/misc/devel/interactiveWebDriverShell.pl >+++ b/misc/devel/interactiveWebDriverShell.pl >@@ -118,6 +118,12 @@ my $supportedPageObjects = { > status => "OK", > params => ["borrowernumber"], > }, >+ "members/statistics.pl" => >+ { package => "t::lib::Page::Members::Statistics", >+ urlEndpoint => "members/statistics.pl", >+ status => "OK", >+ params => ["borrowernumber"], >+ }, > "members/member-flags.pl" => > { package => "t::lib::Page::Members::MemberFlags", > urlEndpoint => "members/member-flags.pl", >diff --git a/t/lib/Page.pm b/t/lib/Page.pm >index 6774662..e162ba7 100644 >--- a/t/lib/Page.pm >+++ b/t/lib/Page.pm >@@ -150,6 +150,17 @@ sub pause { > return $self; > } > >+=head >+Wrapper for Selenium::Remote::Driver->refresh() >+=cut >+ >+sub refresh { >+ my ($self) = @_; >+ $self->getDriver()->refresh(); >+ $self->debugTakeSessionSnapshot(); >+ return $self; >+} >+ > =head poll > Polls anonymous subroutine $func at given rate $pauseMillis for given times $polls or > until $func succeeds without exceptions. >-- >1.9.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 14536
:
41023
|
41052
|
41057
|
41121
|
41156
|
41254
|
41460
|
41524
|
41525
|
41534
|
41678
|
42060
|
42111
|
42118
|
42136
|
42160
|
42433
|
42435
|
42716
|
44410
|
47254
|
63245