Bugzilla – Attachment 158633 Details for
Bug 35263
Cannot update patron categories
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35263: Add selenium tests
Bug-35263-Add-selenium-tests.patch (text/plain), 1.64 KB, created by
Katrin Fischer
on 2023-11-07 21:53:12 UTC
(
hide
)
Description:
Bug 35263: Add selenium tests
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2023-11-07 21:53:12 UTC
Size:
1.64 KB
patch
obsolete
>From 01d4eeeecb39dbe876fc0b1caae0c39a5378b814 Mon Sep 17 00:00:00 2001 >From: Pedro Amorim <pedro.amorim@ptfs-europe.com> >Date: Mon, 6 Nov 2023 10:13:48 +0000 >Subject: [PATCH] Bug 35263: Add selenium tests > >Test plan, on k-t-d selenium (ktd --selenium up): >1) Apply just this tests patch >2) Run: prove t/db_dependent/selenium/administration_tasks.t >3) Notice it fails. Apply the other patch. Restart plack >4) Repeat step 2. Notice it passes. > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >Signed-off-by: David Nind <david@davidnind.com> >--- > t/db_dependent/selenium/administration_tasks.t | 11 +++++++++++ > 1 file changed, 11 insertions(+) > >diff --git a/t/db_dependent/selenium/administration_tasks.t b/t/db_dependent/selenium/administration_tasks.t >index dfaafdacd0..802388eb46 100755 >--- a/t/db_dependent/selenium/administration_tasks.t >+++ b/t/db_dependent/selenium/administration_tasks.t >@@ -198,6 +198,17 @@ SKIP: { > $s->fill_form( { categorycode => $category_code, description => 'Test category', enrolmentperiod => 12, category_type => 'A' } ); > $s->submit_form; > >+ $s->click( >+ { >+ href => '/admin/categories.pl?op=add_form&categorycode=' . $category_code, >+ main_class => 'main container-fluid' >+ } >+ ); # Edit button >+ $s->submit_form; >+ >+ # Make sure the category is updated >+ $s->driver->find_element('//div[@class="dialog message"]'); >+ > # Select "Show all" in the datatable "Show x entries" dropdown list to make sure our category is not hidden > $s->show_all_entries('//div[@id="patron_categories_wrapper"]'); > >-- >2.30.2
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 35263
:
158495
|
158496
|
158543
|
158544
|
158566
|
158567
|
158588
| 158633 |
158634
|
158635