Bugzilla – Attachment 64292 Details for
Bug 18804
Selenium tests are failing
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 18804: (bug 13501 follow-up) Fix add item form (select2)
Bug-18804-bug-13501-follow-up-Fix-add-item-form-se.patch (text/plain), 1.09 KB, created by
Jonathan Druart
on 2017-06-14 16:36:49 UTC
(
hide
)
Description:
Bug 18804: (bug 13501 follow-up) Fix add item form (select2)
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2017-06-14 16:36:49 UTC
Size:
1.09 KB
patch
obsolete
>From d37d4b56c82273aafa78a3d9b916f075dfd9c6b0 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 14 Jun 2017 13:08:43 -0300 >Subject: [PATCH] Bug 18804: (bug 13501 follow-up) Fix add item form (select2) > >Hard to say here, select2 adds so many elements that we need to ignore. >Here we just assume that input text with an id starting with >tag_952_subfield must be filled >--- > t/db_dependent/selenium/basic_workflow.t | 4 ++++ > 1 file changed, 4 insertions(+) > >diff --git a/t/db_dependent/selenium/basic_workflow.t b/t/db_dependent/selenium/basic_workflow.t >index 945a442..5749e2f 100644 >--- a/t/db_dependent/selenium/basic_workflow.t >+++ b/t/db_dependent/selenium/basic_workflow.t >@@ -126,6 +126,10 @@ SKIP: { > my $inputs = $driver->find_child_elements($form, '//input[@type="text"]'); > for my $input ( @$inputs ) { > next if $input->is_hidden(); >+ >+ my $id = $input->get_attribute('id'); >+ next unless $id =~ m|^tag_952_subfield|; >+ > $input->send_keys('t_value_bib'.$biblionumber); > } > >-- >2.1.4
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 18804
:
64289
|
64290
|
64291
|
64292
|
64358
|
64359
|
64360
|
64361
|
64362
|
64363
|
64365
|
64366
|
64367
|
64368
|
64373
|
64374
|
64375
|
64376
|
64417