Skip to content

Cypress a11y tests for EuiSuggest and table features. - #6686

Merged
1Copenut merged 8 commits into
elastic:mainfrom
1Copenut:feature/cypress-a11y-suggest-tables
Apr 13, 2023
Merged

1Copenut merged 8 commits into
elastic:mainfrom
1Copenut:feature/cypress-a11y-suggest-tables

Conversation

@1Copenut

@1Copenut 1Copenut commented Apr 4, 2023 •

Copy link
Copy Markdown
Contributor

Summary

  • Adding tests for EuiSuggest and EuiTable with expandable rows.
  • Adding test for custom table with low-level components.

WRT to the EuiTable tests, I looked for table types that didn't have as much coverage in our existing tests. The mobile (responsive) and sorting features were well-covered, so I stuck to expandable rows and custom tables. I built the custom table with low-level components to evaluate the rendered HTML.

Closes #6684. Closes #6685.

QA

Remove or strikethrough items that do not apply to your PR.

Screen Shot 2023-04-13 at 10 47 28 AM

General checklist

  • Checked in Chrome, Safari, Edge, and Firefox
  • Added or updated jest and cypress tests
  • Checked for breaking changes and labeled appropriately
  • Checked for accessibility including keyboard-only and screenreader modes

* Adding tests for EuiSuggest and EuiTable with expandable rows.
* Adding test for custom table with low-level components.
@1Copenut 1Copenut added accessibility skip-changelog Use on PRs to skip changelog requirement (Don't delete - used for automation) accessibility - automated labels Apr 4, 2023
@1Copenut 1Copenut self-assigned this Apr 4, 2023
@1Copenut
1Copenut requested a review from cee-chen April 4, 2023 22:04
@kibanamachine

Copy link
Copy Markdown
Contributor

@1Copenut

1Copenut commented Apr 5, 2023

Copy link
Copy Markdown
Contributor Author

jenkins test this please

@kibanamachine

Copy link
Copy Markdown
Contributor

@kibanamachine

Copy link
Copy Markdown
Contributor

@1Copenut
1Copenut requested a review from cee-chen April 6, 2023 19:12
@1Copenut

Copy link
Copy Markdown
Contributor Author

jenkins test this please

@kibanamachine

Copy link
Copy Markdown
Contributor

@kibanamachine

Copy link
Copy Markdown
Contributor

Comment thread src/components/table/table.a11y.tsx Resolved
1Copenut added 2 commits April 11, 2023 10:11
* Updating Cypress type references.
* Simplifying custom table logic to its own file.
* Renaming basic_table to in_memory_table.
@1Copenut
1Copenut requested a review from cee-chen April 11, 2023 17:09
@kibanamachine

Copy link
Copy Markdown
Contributor

@kibanamachine

Copy link
Copy Markdown
Contributor

@1Copenut
1Copenut requested a review from cee-chen April 13, 2023 15:20
@kibanamachine

Copy link
Copy Markdown
Contributor

@cee-chen cee-chen left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉 🎉

@1Copenut
1Copenut merged commit 27cc319 into elastic:main Apr 13, 2023
@1Copenut
1Copenut deleted the feature/cypress-a11y-suggest-tables branch April 13, 2023 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

accessibility skip-changelog Use on PRs to skip changelog requirement (Don't delete - used for automation)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[EuiSuggest] Add Cypress a11y and keyboard test for component [EuiTable] Add Cypress a11y test for expandable rows and custom tables

3 participants