https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=38899

Jonathan Druart <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |additional_work_needed

--- Comment #54 from Jonathan Druart <[email protected]> ---
@ koha-tmpl/intranet-tmpl/prog/js/vue/components/ButtonSubmit.vue:4 @
 <template>
-    <button type="submit" class="btn btn-primary">
+    <button v-if="form" @click="form.requestSubmit()" class="btn btn-primary">
+        <font-awesome-icon v-if="icon" :icon="icon" />
+        {{ text }}
+    </button>


This makes some Cypress tests fail.

18:46:27 koha_1       |       <failure message="Timed out retrying after
10000ms: Expected to find element: `#report_builder .default-report .action
input`, but never found it." type="AssertionError"><![CDATA[AssertionError:
Timed out retrying after 10000ms: Expected to find element: `#report_builder
.default-report .action input`, but never found it.
18:46:27 koha_1       |     at Context.eval
(webpack://koha/./t/cypress/integration/ERM/UsageReports_spec.ts:108:11)]]></failure>



18:43:25 koha_1       |     <testcase name="Data provider tab options Should
allow manual file upload" time="0.000" classname="Should allow manual file
upload">
18:43:25 koha_1       |       <failure message="Timed out retrying after
10000ms: Expected to find element: `#files &gt; form &gt; fieldset &gt;
input[type=submit]`, but never found it."
type="AssertionError"><![CDATA[AssertionError: Timed out retrying after
10000ms: Expected to find element: `#files > form > fieldset >
input[type=submit]`, but never found it.
18:43:25 koha_1       |     at Context.eval
(webpack://koha/./t/cypress/integration/ERM/DataProviders_spec.ts:639:11)]]></failure>


Patch incoming.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to