Deepen test coverage of CheckOut

Description

Testing details that have been known to break once in a while - like error messaging and accumulation of items as multiple are checked out, maybe state handling too (clearing state as user goes to another app)

Environment

None

Potential Workaround

None

Checklist

hide

TestRail: Results

Activity

Show:

Niels Erik Nielsen February 23, 2018 at 2:44 PM

The module's own suite only tests for error messages in ui-checkout, so I guess that's a bit thin (although it's been useful).

However, the cross-platform suite ('test-exercise' in ui-testing) checks out an item to a patron and looks up the status in the users loans afterwards - so we could say we're good with that for now.

Jakub Skoczen February 23, 2018 at 2:29 PM

Is this issue still relevant?

Niels Erik Nielsen August 24, 2017 at 7:31 AM

The branches (for having tests living in their respective ui module repos) have been merged, in ui-checkout and ui-testing.

Additional tests ought to be added: Testing that consecutive check-outs are accumulated to the list of items (something that we've seen breaking). This depends on though, about finding a way to obtain test data independently of other UI modules.

Niels Erik Nielsen August 17, 2017 at 11:24 AM

Have added tests for error messaging.

In a branch for now (https://github.com/folio-org/ui-checkout/tree/experiments-module-tests) as part of a proposal to have module-local tests. Can be moved up in ui-testing if we don't like the approach.

Details

Assignee

Reporter

Priority

Fix versions

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created August 16, 2017 at 8:08 PM
Updated September 11, 2018 at 8:07 AM
TestRail: Cases
TestRail: Runs