kibana/test
Constance 8dfdeadd40
[Enterprise Search] Set up cypress-axe tests (#108465)
* Set up cypress-axe

@see https://github.com/component-driven/cypress-axe

* DRY out Kibana axe rules into constants that Cypress can use

* Create shared & configured checkA11y command

+ fix string union type error
+ remove unnecessary tsconfig exclude

* Add Overview plugin a11y tests

* Add AS & WS placeholder a11y checks

- Mostly just re-exporting the shared command and checking for failures, I only ran this after the shared axe config settings and found no failures

* Configure our axe settings further to catch best practices

- notably heading level issues (thanks Byron for catching this!)

- however I now also need to set an ignore on a duplicate landmark violation caused by the global header (not sure why it's showing up - shouldn't it be out of context? bah)

- remove option to pass args into checkA11y - I figure it's not super likely we'll need to override axe settings per-page (vs not running it), but we can pass it custom configs or args later if needed

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-24 12:05:41 -07:00
..
accessibility [Enterprise Search] Set up cypress-axe tests (#108465) 2021-08-24 12:05:41 -07:00
api_integration [data.search] Remove deprecated courier:batchSearches advanced setting (#109350) 2021-08-23 09:31:13 -07:00
common Make owner attribute required on kibana.json (#108231) 2021-08-24 10:02:32 -04:00
examples [ftr] rework ciGroup validation to remove JOBS.yml and avoid duplication (#109149) 2021-08-19 11:40:23 -05:00
functional [maps] remove xpack.maps.showMapVisualizationTypes (#105979) 2021-08-24 10:46:40 -06:00
harden Ban use of lodash.template (#100277) 2021-05-19 10:06:52 -04:00
interpreter_functional Make owner attribute required on kibana.json (#108231) 2021-08-24 10:02:32 -04:00
new_visualize_flow [esArchiver] drop support for --dir, use repo-relative paths instead (#101345) 2021-06-08 17:37:42 -04:00
package [package testing] Bump status page timeout (#107813) 2021-08-16 10:55:32 -07:00
plugin_functional Make owner attribute required on kibana.json (#108231) 2021-08-24 10:02:32 -04:00
scripts [ftr] rework ciGroup validation to remove JOBS.yml and avoid duplication (#109149) 2021-08-19 11:40:23 -05:00
security_functional [esArchiver] drop support for --dir, use repo-relative paths instead (#101345) 2021-06-08 17:37:42 -04:00
server_integration Make owner attribute required on kibana.json (#108231) 2021-08-24 10:02:32 -04:00
ui_capabilities/newsfeed_err [kbn/test] move types/ftr into src (#99555) 2021-05-17 09:51:53 -07:00
visual_regression [test] Migrates visualize esArchive to kbnArchiver (#102850) 2021-06-23 21:12:56 -04:00
tsconfig.json [build_ts_refs] improve caches, allow building a subset of projects (#107981) 2021-08-10 22:12:45 -07:00