mirror of
https://github.com/discourse/discourse.git
synced 2026-08-05 18:46:18 +08:00
This commit expands the system-tests skill reference: a new "Test Selectors in Templates" section documents that `data-test-*` attributes get stripped from production builds by ember-test-selectors, a new "Assertors Must Use Capybara Matchers" section forbids `find(...).text == ...` patterns in page object assertors (they bypass Capybara's auto-retry and flake on re-renders), a new "Debugging Failed System Tests" section walks through diagnosing failures with strategic `puts` / `console.log` logging and lists common failure patterns, and the existing "Writing `it` Block Descriptions" section is reworked to consistently frame descriptions from the user's perspective. |
||
|---|---|---|
| .. | ||
| request-specs.md | ||
| rspec-style-guide.md | ||
| system-tests.md | ||
| theme-tests.md | ||
| tracking-helpers.md | ||