Item sort order - Checklist

Item sort order - Checklist

Checklist

Area

Requirement

Check #

Scenario

Test case (green-pass / red-fail)

Passed?

Area

Requirement

Check #

Scenario

Test case (green-pass / red-fail)

Passed?

UI - create

Add a numeric sort order field to the item record

1.1

Create 1st item from UI and check "order" field (must be “1”)

https://foliotest.testrail.io/index.php?/cases/view/808496

Yes

 

For newly created items via UI, increment the sort order field

1.2

Create 2nd item from UI and check "order" field (must be “2”)

see 1.1

Yes

 

 

1.3

Create 3rd item with the same "order" value as 1st item has

Blocked by UI implementation
TBD by @Maksym Ishchenko (Out of scope?)

 

 

 

1.4

Create 4rd item with "order" value not in the sequence - ex.: 909

Blocked by UI implementation
TBD by @Maksym Ishchenko (Out of scope?)

 

 

 

 

Validation of “order” field during CREATE

Blocked by UI implementation
TBD by @Maksym Ishchenko (Out of scope?)

 

 

 

1.5

There are 2 Holdings records. All holdings have the different number of items.
Verify that Item created in Holdings A will get "order" value according to Holdings A “order” sequence.

https://foliotest.testrail.io/index.php?/cases/view/808497

Yes

UI - Fast add

 

1.6

Create Instance, Holdings, Item via “Fast add” feature and check Item’s “order” field (must be “1”)

https://foliotest.testrail.io/index.php?/cases/view/808498

Yes

UI - Duplicate

 

1.7

Duplicate existing Item:
Verify that "order" field will be “re-filled” with value “last in the item’s order sequence + 1”

https://foliotest.testrail.io/index.php?/cases/view/808499

No (retest in scope of UXPROD-1625)
TBD by @Maksym Ishchenko

UI - Edit

 

1.8

There are 5 items with 1, 2, 3, 4, 5 sequence.
Edit "order" of 4th Item to 1 (update should be successful, 2 items will have “1” in order field now)

Blocked by UI implementation
TBD by @Maksym Ishchenko (Out of scope?)

 

 

 

1.9

There are 5 items with 1, 2, 3, 4, 5 sequence.
Edit "order" of 1st Item to “5” (update should be successful, 2 items will have “5” in order field now)

Blocked by UI implementation
TBD by @Maksym Ishchenko (Out of scope?)

 

 

 

 

Validation of “order” field during Edit

Blocked by UI implementation
TBD by @Maksym Ishchenko (Out of scope?)

 

 

 

1.10

Clear “order” field during Edit

Not clear if we will have validation. TBD @Maksym Ishchenko (Out of scope?)

 

 

 

1.11

Edit any Item field (barcode, status, tag) but don’t change “order” field “order” field shouldn’t be updated)

https://foliotest.testrail.io/index.php?/cases/view/808500

Yes

UI - Delete

 

1.12

Delete 1st item in the sequence and check other items "order" values (“order” field has not been changed in existing items)

https://foliotest.testrail.io/index.php?/cases/view/808501

Yes

UI - Move Item/Holdings

 

1.13

Move 1 item within different holdings of same instance ("order" value of moved item should be updated to the last in sequence)

https://foliotest.testrail.io/index.php?/cases/view/808502

Yes

 

 

1.14

Move multiple items within different holdings of same instance ("order" value of moved items should be updated to the last in sequence in series)

see 1.13

Yes

 

 

1.15

Move 1 item within holdings of different instances ("order" value of moved item should be updated to the last in sequence)

https://foliotest.testrail.io/index.php?/cases/view/808503

Yes

 

 

1.16

Move Multiple items within holdings of different instances ("order" value of moved items should be updated to the last in sequence in series)

see 1.15

Yes

 

 

1.17

Move 1 holding with multiple items within different instances

https://foliotest.testrail.io/index.php?/cases/view/808504

Yes

 

 

1.18

Move multiple holdings with items within different instances

see 1.17

Yes

UI - Data import

 

1.19

Import multiple items.
(created Items should have filled “order” values as they are processed during import. 1st created = 1, etc)

https://foliotest.testrail.io/index.php?/cases/view/831984
https://foliotest.testrail.io/index.php?/cases/view/831985

 

 

 

1.20

Import one item per record.
(created Item should have filled “order” value with “1”)

https://foliotest.testrail.io/index.php?/cases/view/808505

Yes

 

 

1.21

Update Item (“order” field shouldn’t be changed/updated)

https://foliotest.testrail.io/index.php?/cases/view/808507

Yes

UI - Orders

 

1.22

Verify that Item(s) created via "Orders" app will have "order" field (multiple created Items should have sequence in “order” fields, ex.: 1, 2, 3, 4, 5, etc.)

https://foliotest.testrail.io/index.php?/cases/view/808506

Yes

UI - Bulk edit

 

1.23

Update Items (“order” field shouldn’t be changed/updated)

https://foliotest.testrail.io/index.php?/cases/view/812851

No (see MODBULKED-40)

API |Create

 

2.1

Create Check validation, must accept "numbers" only:
not " ", "", "#", "a", "01", "0023"

https://foliotest.testrail.io/index.php?/cases/view/808478

Yes

 

 

2.2

Create 1st item without "order" field and check generated "order" field (“1”)

https://foliotest.testrail.io/index.php?/cases/view/808479

Yes

 

 

2.3

Create 2nd item without "order" field (must be last in the list - “2”)

see 2.2

Yes

 

 

2.4

Create 3rd item with the same "order" value as 1st item has (there are duplicates now with “1” value)

https://foliotest.testrail.io/index.php?/cases/view/808480

Yes

 

 

2.5

Create 4th item with "order" value not in the sequence (ex.: 909)

see 2.4

Yes

 

 

2.6

Create Item with specified "order" value = the last in sequence

see 2.4

Yes

 

 

2.7

There are 2 Holdings records. All holdings have different number of items.
Verify that Item created in Holdings A will get "order" value according to Holdings A sequence

https://foliotest.testrail.io/index.php?/cases/view/808481

Yes

API | EDIT

Allow for libraries to change the sort order (numeric value) via API

3.1

Edit. Check validation, must accept "numbers" only:
not " ", "", "#", "a", "01", "0023"

https://foliotest.testrail.io/index.php?/cases/view/808482

Yes

 

No validation needed for deduplication

3.2

There are 5 items with 1, 2, 3, 4, 5 sequence.
Edit "order" of 4th Item to 1 (2 items will have “1” in order field)

https://foliotest.testrail.io/index.php?/cases/view/808483

Yes

 

 

 

3.3

There are 5 items with 1, 1, 2, 3, 4 sequence.
Edit "order" of 1th Item to “5” (should be successful)

see 3.2

Yes

 

 

3.4

Edit (remove). Send request with empty "order" field (“order” field value must be updated to the last in the sequence)

https://foliotest.testrail.io/index.php?/cases/view/808484

Yes

API | Batch create (mod-inventory)

 

4.1

Create Multiple Items without "order" field (created Items must have sequence like 1, 2, 3, 4, 5)

https://foliotest.testrail.io/index.php?/cases/view/808494

Yes

 

 

4.2

Create multiple Items with filled "order" value (should retain specified values)

https://foliotest.testrail.io/index.php?/cases/view/808495

Yes

API | Batch edit (mod-inventory-storage)

 

4.3

Edit Multiple Items. No "order" in request (“order” field values must be re-generated, starting from the last in the sequence).
Before update: 1, 2, 3
After update: 4, 5, 6

https://foliotest.testrail.io/index.php?/cases/view/812846

Yes

 

 

4.4

Edit multiple Items with filled "order" value (should retain specified values)

https://foliotest.testrail.io/index.php?/cases/view/812850

Yes

Existing (migrated) records

For existing items: Populate numeric sort “order field with current” sort (based on Barcode)

5.1

Check that “order” field exists in migrated records.
"order" field value is equal to “Barcode” sort sequence

How to verify that items are sorted by new “order” actually?
- update some existing “barcode” and check the sorting sequence.

https://foliotest.testrail.io//index.php?/cases/view/813029

Yes

RTAC table of Locate (only API check)

Add sort order to the RTAC response

 

6.1

Add items with "itemDisplayOrder" fields filled and check mod-rtac response

https://foliotest.testrail.io/index.php?/cases/view/812999

Yes

 

 

6.2

Add items with "itemDisplayOrder" fields filled and check edge-rtac BATCH response /rtac

https://foliotest.testrail.io/index.php?/cases/view/813003

Yes

 

 

6.3

Add items with "itemDisplayOrder" fields filled and check single instance edge-rtac response /rtac/{instanceId}

https://foliotest.testrail.io/index.php?/cases/view/813004

Yes

Load test | RTAC

 

7.1

15000 Items in 1 Holdings and check “itemDisplayOrder”

How to generate such numbers? - Used existing record:
https://foliotest.testrail.io/index.php?/cases/view/813668

No

Load test | mod-inventory

 

7.2

15000 Items in 1 Holdings and check “itemDisplayOrder”

https://foliotest.testrail.io/index.php?/cases/view/813675

Yes

ECS

 

8.1

There are 2 Holdings records (each in different member tenants).
Holdings have different number of items.
Verify that Item created in Holdings A will get "order" value according to Holdings A sequence

https://foliotest.testrail.io/index.php?/cases/view/808508

Yes

 

 

8.2

Update ownership of Holdings and verify the order of items (“order” values shouldn’t change)

https://foliotest.testrail.io/index.php?/cases/view/808509

Yes

 

 

8.3

Update ownership of 1 Item and verify the order of moved item (“order” value should be regenerated)

https://foliotest.testrail.io/index.php?/cases/view/808510 There is Issue on UI, but works via API

Yes

 

 

8.4

Update ownership of multiple Items and verify the order of moved items (“order” value should be regenerated)