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

            Bug ID: 43881
           Summary: Vendors_spec.ts receive test depends on the first
                    table row
   Initiative type: ---
        Sponsorship ---
            status:
           Product: Koha
           Version: Main
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Test Suite
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
  Target Milestone: ---

Vendors_spec.ts "receive should open in the same tab" searches the vendors
table for the vendor it created and then clicks "Receive shipments" in
tr:first. That assumes the created vendor is the first row, which is only true
when no other vendor is returned ahead of it. If another vendor is listed first
(for example one left over from an earlier spec), the click goes to the wrong
vendor, or the first row has no "Receive shipments" link and the test times
out. This is the failure seen on the Debian 12 Jenkins runs.

The test should find the row for its own vendor by name. Related: Bug 43880
(the vendors table search listing every active vendor), which made the leftover
rows visible.

Test plan:
1. Run t/cypress/integration/Acquisitions/Vendors_spec.ts
   => passes
2. Create another active vendor first (so it sorts before the test vendor) and
run it again
   => still passes

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to