Edit Supply Partner page load time extended after removing an association

Description

Functional test "Supply partner edit: Administrator should be able to add a valid association" failed because the page was loading too long after removing the association.

Reproduction steps:

  1. Log in as administrator and go to Administration > Supply Partners.

  2. Click the Edit button next to supply partner.

  3. Remove the association and click the Update Supply Partner button.

  4. Click the Edit button again.

  5. Loading of the edited page takes much longer after the association is removed.

Expected results:

  • The page should not load longer.

Acceptance Criteria:

  • Verify why the "Edit Supply Partner" page takes longer to load after edit/remove an association.

  • Make sure that both functional tests noted below pass

NOTE: The functional test for the edition of supply partner is available at

Environment

None

Activity

Show:
Joanna Bebak
October 27, 2020, 8:56 AM

I tested the ticket, and the load times are virtually the same as on demo-v3. Functional tests also pass, so I’ll move the ticket to Done.

Paulina Buzderewicz
November 4, 2020, 1:45 PM

Opening Edit Supply Partner Page without Association:

  • before: ~30 seconds

  • now: ~10 seconds

Assignee

Paulina Buzderewicz

Reporter

Joanna Szymańska

Labels

Story Points

3

Time tracking

0m

Time remaining

16h

Components

Sprint

None

Fix versions

Priority

Blocker
Configure