facebook / facebook/docusaurus

Theme integration test suite

未关闭
#3,523 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
meta
主要语言
TypeScript
星标
66.2k
派生
10k
平均合并
1 天 3 小时
30 天内合并 PR
52

描述

## 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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。