facebook / facebook/docusaurus

Theme integration test suite

Open
#3,523 1 comment 0 reactions 0 assignees View on GitHub
meta
Dominant language
TypeScript
Stars
66.2k
Forks
10k
Avg merge
1d 3h
Merged PRs (30d)
52

Description

## Theme integration test suite

We want a theme gallery (https://github.com/facebook/docusaurus/issues/3522) and share UX between themes.

This should enable to create a single Cypress integration test suite to validate the behavior of all the themes, as long as the test selectors are shared between each theme.

As the classic theme is the most advanced and the "reference" theme, we can use it to get started asap, until other themes catch up in feature parity.

We should think carefully about creating `testId` and aria-roles so that selectors are shared between each tests

Some work has already been done by @fanny here: https://github.com/facebook/docusaurus/pull/3468

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.