Skip to content

Conversation

@marktnoonan
Copy link
Contributor

  • Closes

User facing changelog

The Specs List page now shows the number of matches for the current search in the search bar.

Additional details

This PR does a couple of other small things:

  • For accessibility, the number of matches is displayed in live region set to polite in the specs page, but also in InlineSpecsListHeader.vue, where it isn't present visibly in the design, but it is still useful to announce to assistive technology that the result set is updated.
  • For accessibility, the placeholder attribute in InlineSpecsListHeader.vue has been replaced with a genuine label element, and a new ticket created to do this more generally with our core Input component.
  • The default "Clear" button that comes with input[type=search] has been hidden as it clashed with the location of the matches count info. I do think the "clear search" function is useful, but it probably needs some input from design in order to look right, and can be implemented with a custom icon.
  • One other button now has a label, and the related tests have been updated to look for the labels rather than data-cy attributes.

How has the user experience changed?

Newly added results counter:
Screen Shot 2021-11-23 at 5 15 39 PM

PR Tasks

  • Have tests been added/updated?
  • [na] Has the original issue (or this PR, if no issue exists) been tagged with a release in ZenHub? (user-facing changes only)
  • [na] Has a PR for user-facing changes been opened in cypress-documentation?
  • [na] Have API changes been updated in the type definitions?
  • [na] Have new configuration options been added to the cypress.schema.json?

@cypress-bot
Copy link
Contributor

cypress-bot bot commented Nov 23, 2021

Thanks for taking the time to open a PR!

@cypress
Copy link

cypress bot commented Nov 23, 2021



Test summary

4815 0 49 0Flakiness 1


Run details

Project cypress
Status Passed
Commit 9d9743e
Started Nov 23, 2021 10:28 PM
Ended Nov 23, 2021 10:38 PM
Duration 10:16 💡
OS Linux Debian - 10.10
Browser Multiple

View run in Cypress Dashboard ➡️


Flakiness

cypress/integration/commands/net_stubbing_spec.ts Flakiness
1 network stubbing > waiting and aliasing > can timeout waiting on a single request using "alias.request"

This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard

@lmiller1990 lmiller1990 merged commit 345d4ee into 10.0-release Nov 24, 2021
@lmiller1990 lmiller1990 deleted the UNIFY-601-number-of-matches branch November 24, 2021 05:56
tgriesser added a commit that referenced this pull request Nov 29, 2021
* 10.0-release:
  refactor: remove @packages/desktop-gui (#19127)
  feat: switch browser runner (#19048)
  fix: bump resource class for tests that require node_modules install (#19079)
  fix(unify): reporter styles (#19034)
  fix test
  feat(unify): add number of matches to specs search (#19076)
  feat(launchpad): open in IDE modal and feature (#18975)
  fix: 10.0 appveyor updateyaml (#19074)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants