/
Autocomplete Term Matching Search - QA Test Plan
Autocomplete Term Matching Search - QA Test Plan
On this page
These tests depend on a known set of sample Person and Organization records having been created on the QA instance of CollectionSpace. If your test results do not match the expected results described here, please write to the CollectionSpace Talk mailing list and ask that those records be reloaded.
Test 1: Basic Autocomplete Behavior
- Actions:
- Go to the Create New page
- Create a new Loan In record
- In the Lender field, enter James
- Expected:
- Within (at most) a few seconds, a "spinner" icon will appear to the right of the Lender field.
- When the spinner icon changes to a green 'x' icon, a dropdown menu will appear below the Lender field.
- The items in this menu should contain two or more matching Person and/or Organization terms, all of whose names contain the text
James
. The following text should appear at the very bottom of the menu:
Test 2: Using Wildcard Characters
- Actions:
- Beginning from Test 1, in the Lender field, enter:
james*company
- Beginning from Test 1, in the Lender field, enter:
- Expected:
- The items in the dropdown menu should contain one or more matching Organization terms, all of whose name(s) contain the text
James
andCompany
, in that order - The option to add a term to a Person or Organization vocabulary should appear at the bottom of the menu
- The items in the dropdown menu should contain one or more matching Organization terms, all of whose name(s) contain the text
- Actions:
- In the Lender field, enter:
company*james
- In the Lender field, enter:
- Expected:
- The dropdown menu should contain only the text "No matching terms found"
- No matching terms should be displayed. (This is because there are no terms that contain the text
Company
andJames
, in that order) - The option to add a term to a Person or Organization vocabulary should appear at the bottom of the menu
Test 3: Using Anchor Character at Start
- Actions:
- Beginning from Test 2, in the Lender field, enter: Thermos
- Expected:
- The items in the dropdown menu should contain two or more matching Organization terms, all of whose names contain the text Thermos
The following text should appear at the bottom of the menu:
- Actions:
- In the Lender field, enter: ^Thermos
- Note: the first character is a carat (^). You can enter this character by typing Shift-6 on most US keyboard layouts
- In the Lender field, enter: ^Thermos
- Expected:
- The items in the dropdown menu should contain a single matching Organization term, whose name begins with the text Thermos
The following text should appear at the bottom of the menu:
Test 4: Using Anchor Character at End
- Actions
- Beginning from Test 3, in the Lender field, enter: Asta
- Expected:
- The items in the dropdown menu should contain two or more matching Person and/or Organization terms, all of whose names contain the text
Asta
The following text should appear at the bottom of the menu:
- The items in the dropdown menu should contain two or more matching Person and/or Organization terms, all of whose names contain the text
- Actions
- In the Lender field, enter: Asta^
- Note: the first character is a carat (^). You can enter this character by typing Shift-6 on most US keyboard layouts
- In the Lender field, enter: Asta^
- Expected:
- The items in the dropdown menu should contain a single matching Organization term, whose name ends with the text
Asta
The following text should appear at the bottom of the menu:
- The items in the dropdown menu should contain a single matching Organization term, whose name ends with the text
Test 5: Using Anchor Characters at Start and End
- Actions
- Beginning from Test 4, in the Lender field, enter: ^Asta^
- Note: the first and last characters are carats (^). You can enter this character by typing Shift-6 on most US keyboard layouts
- Beginning from Test 4, in the Lender field, enter: ^Asta^
- Expected:
- The items in the dropdown menu should contain only one matching Organization term, whose name exactly matches the text Asta
The following text should appear at the bottom of the menu:
Test 6: Using Both Wildcards and Anchor Characters
- Actions:
- Beginning from Test 5, in the Lender field, enter: James*s
- Expected:
- The items in the dropdown menu should contain two or more matching Person and/or Organization terms, all of whose names contain the text
James
ands
, in that order. - The option to add a term to a Person or Organization vocabulary should appear at the bottom of the menu.
- The items in the dropdown menu should contain two or more matching Person and/or Organization terms, all of whose names contain the text
- Actions:
- In the Lender field, enter: James*s^
- Note: The last character is a carat (^). You can enter this character by typing Shift-6 on most US keyboard layouts
- In the Lender field, enter: James*s^
- Expected:
- The items in the dropdown menu should contain two or more matching Person and/or Organization terms, all of whose names contain the text
James
ands
, in that order, but also must all end with the texts
- The option to add a term to a Person or Organization vocabulary should appear at the bottom of the menu.
- The items in the dropdown menu should contain two or more matching Person and/or Organization terms, all of whose names contain the text