Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Scenario Title

Pre-conditions

Steps

Expected Result

Ensure the offer dropdown is editable.

  • Admin Tools access

  • Sanity Access

  1. Access the Admin Support tool.

  2. Click on the Offers button to open the form.

  3. Click on the "Assign offer dropdown" field.

  4. Attempt to type an offer name into the dropdown.

The dropdown field should allow the user to type an offer name.

Verify that search results appear quickly when typing an offer name.

  • Admin Tools access

  • Sanity Access

  1. Access the Admin Support tool.

  2. Click on the Offers button to open the form.

  3. Click on the "Assign offer dropdown" field.

  4. Start typing an offer name.

Search results should be displayed within a few seconds of typing.

Verify that the loading icon is displayed while the user is typing

  • Admin Tools access

  • Sanity Access

  1. Access the Admin Support tool.

  2. Click on the Offers button to open the form.

  3. Click on the "Assign offer dropdown" field.

  4. Start typing an offer name.

The loading icon must be displayed while the user is typing or until the result is found.

Ensure offers can be searched with at least three characters.

  • Admin Tools access

  • Sanity Access

  1. Access the Admin Support tool.

  2. Click on the Offers button to open the form.

  3. Click on the "Assign offer dropdown" field.

  4. Type a string with less than three characters, examples:
    "ic e"
    "nd "
    "iC e"

No offers should be displayed in the dropdown and the follow message must be displayed: Icon + No results for <value entered>.

E.g: icon + No results for "ic e".

Verify that the search returns offers containing the typed characters in any part of the offer title (beginning, middle, or ending).

  • Admin Tools access

  • Sanity Access

  1. Access the Admin Support tool.

  2. Click on the Offers button to open the form.

  3. Click on the "Assign offer dropdown" field.

  4. Type a string that matches the beginning of an offer title (e.g., "ice").

  5. Type a string that matches the middle of an offer title (e.g., "nd d").

  6. Type a string that matches the ending of an offer title (e.g., "ink").

  • When typing a string that matches any part of the string, the relevant offers should be displayed, e.g: Ice Brioche And Drink

Verify that the search is case-insensitive.

  • Admin Tools access

  • Sanity Access

  1. Access the Admin Support tool.

  2. Click on the Offers button to open the form.

  3. Click on the "Assign offer dropdown" field.

  4. Type an offer name using mixed case, e.g:
    "icE", “ICE", "DRINNK", "ND d", "DRI”

The dropdown should display the correct offer regardless of the case used in the search e.g: Ice Brioche And Drink

Ensure the dropdown displays existing offers in alphabetical order by ASC

  • Admin Tools access

  • Sanity Access

  1. Access the Admin Support tool.

  2. Click on the Offers button to open the form.

  3. Click on the "Assign offer dropdown" field.

  4. Type an offer name with at least three characters.

The dropdown should display all existing offers containing the search string, sorted in alphabetical order by ASC.

Warn the user when the offer does not appear in the list.

  • Admin Tools access

  • Sanity Access

  1. Access the Admin Support tool.

  2. Click on the Offers button to open the form.

  3. Click on the "Assign offer dropdown" field.

  4. Type a non-existing offer name (less than three characters or invalid).

A warning message should display stating that the offer does not appear in the list. The follow message must be displayed: Icon + No results for <value entered>.

E.g: icon + No results for "ic e".

Verify the feature toggle for the new dropdown functionality.

  • Admin Tools access

  • Sanity Access

  • Launch Darkly

  1. Access the Admin Support tool.

  2. Toggle the feature on and off in the test environment.

  3. Click on the Offers button to open the form while the feature is toggled off.

  4. Check the "Assign offer dropdown" field.

When toggled off, the dropdown should revert to the previous non-editable state. When toggled on, the new editable dropdown functionality should be available.