Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Combobox examples with both and list autocomplete: Add regression tests for Backspace #1345

Closed
mcking65 opened this issue Feb 28, 2020 · 0 comments
Labels
enhancement Any addition or improvement that doesn't fix a code bug or prose inaccuracy Example Page Related to a page containing an example implementation of a pattern regression-testing Related to AVA regression tests of example pages or AVA framework implementation within repo
Milestone

Comments

@mcking65
Copy link
Contributor

Prevent regression of backspace behaviors from bug #1332 in:

  1. autocomplete = both example
  2. autocomplete = list example

Implement the following tests in Ava.

Test 1

  1. Load the combobox with autocomplete = both example
  2. Focus the combobox and type "a".
  3. Type backspace to delete the auto-highlighted text "labama"
  4. Press backspace to delete the "a".
  5. Press down arrow.

Expected result: There are 56 suggested values in the listbox and "Alabama" is selected.

Test 2

  1. Load the combobox with autocomplete = both example
  2. Focus the combobox and type "no".
  3. Press Backspace to delete the auto-highlighted text "rth Carolina"
  4. Press backspace to delete the "o".
  5. Press down arrow.

Expected result: There are 9 suggested values in the listbox and "Nebraska" is selected.

Test 3

  1. Load the combobox with list autocomplete example.
  2. Focus the combobox and type "a".
  3. Press backspace to delete the "a".
  4. Press down arrow.

Expected result: There are 56 suggested values in the listbox and "Alabama" is selected.

Test 4

  1. Load the combobox with list autocomplete example.
  2. Focus the combobox and type "no".
  3. Press backspace to delete the "o".
  4. Press down arrow.

Expected result: There are 9 suggested values in the listbox and "Nebraska" is selected.

@mcking65 mcking65 added enhancement Any addition or improvement that doesn't fix a code bug or prose inaccuracy regression-testing Related to AVA regression tests of example pages or AVA framework implementation within repo Example Page Related to a page containing an example implementation of a pattern labels Feb 28, 2020
@mcking65 mcking65 added this to the 1.2 Release 1 milestone Feb 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Any addition or improvement that doesn't fix a code bug or prose inaccuracy Example Page Related to a page containing an example implementation of a pattern regression-testing Related to AVA regression tests of example pages or AVA framework implementation within repo
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant