facebook / facebook/docusaurus

Theme integration test suite

Đang mở
#3,523 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
meta
Ngôn ngữ chính
TypeScript
Star
66.2k
Fork
10k
Merge trung bình
1 ngày 3 giờ
Pull request đã merge (30 ngày)
52

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.