Skip to content

Conversation

@kylegach
Copy link
Contributor

@kylegach kylegach commented May 28, 2025

What I did

  • Add "Automate with CI" sections to Interaction and Accessibility testing guides
  • Add "Querying within shadow DOM" section to Interaction testing guide

Checklist for Contributors

Testing

Manual testing

  1. Sync this branch with locally running docs

Documentation

  • Add or update documentation reflecting your changes
  • If you are deprecating/removing a feature, make sure to update
    MIGRATION.MD

Checklist for Maintainers

  • When this PR is ready for testing, make sure to add ci:normal, ci:merged or ci:daily GH label to it to run a specific set of sandboxes. The particular set of sandboxes can be found in code/lib/cli-storybook/src/sandbox-templates.ts

  • Make sure this PR contains one of the labels below:

    Available labels
    • bug: Internal changes that fixes incorrect behavior.
    • maintenance: User-facing maintenance tasks.
    • dependencies: Upgrading (sometimes downgrading) dependencies.
    • build: Internal-facing build tooling & test updates. Will not show up in release changelog.
    • cleanup: Minor cleanup style change. Will not show up in release changelog.
    • documentation: Documentation only changes. Will not show up in release changelog.
    • feature request: Introducing a new feature.
    • BREAKING CHANGE: Changes that break compatibility in some way with current major version.
    • other: Changes that don't fit in the above categories.

Greptile Summary

Enhanced testing documentation with new sections on CI automation for accessibility and interaction testing, plus shadow DOM querying for web components.

  • Added CI automation sections in docs/writing-tests/accessibility-testing.mdx and docs/writing-tests/interaction-testing.mdx
  • Added shadow DOM querying guide with code examples in docs/writing-tests/interaction-testing.mdx
  • Added docs/_snippets/shadow-dom-testing-library-in-preview.md showing TypeScript/JavaScript setup for shadow DOM testing
  • Added docs/_snippets/shadow-dom-testing-library-in-story.md with practical examples of shadow DOM element queries

- Add "Automate with CI" sections to Interaction and Accessibility testing guides
- Add "Querying within shadow DOM" section to Interaction testing guide
@kylegach kylegach self-assigned this May 28, 2025
@kylegach kylegach requested a review from jonniebigodes as a code owner May 28, 2025 20:59
@kylegach kylegach added documentation patch:yes Bugfix & documentation PR that need to be picked to main branch ci:docs Run the CI jobs for documentation checks only. labels May 28, 2025
Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

4 file(s) reviewed, 1 comment(s)
Edit PR Review Bot Settings | Greptile

@nx-cloud
Copy link

nx-cloud bot commented May 28, 2025

View your CI Pipeline Execution ↗ for commit ceefaf2.

Command Status Duration Result
nx run-many -t build --parallel=3 ✅ Succeeded 1m 27s View ↗

☁️ Nx Cloud last updated this comment at 2025-05-30 18:11:15 UTC

Copy link
Contributor

@jonniebigodes jonniebigodes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for taking the time to adjust the documentation. I appreciate it 🙏 ! I left a couple of small items for you to look into when you can. Nothing major or blocking this from getting merged and released.

Approving to unblock you.

@kylegach kylegach merged commit 9d8c255 into next May 30, 2025
8 checks passed
@kylegach kylegach deleted the docs-testing-improvements branch May 30, 2025 18:06
shilman pushed a commit that referenced this pull request May 31, 2025
Docs: Testing section improvements
(cherry picked from commit 9d8c255)
@github-actions github-actions bot added the patch:done Patch/release PRs already cherry-picked to main/release branch label May 31, 2025
@github-actions github-actions bot mentioned this pull request May 31, 2025
12 tasks
@ndelangen ndelangen removed the patch:yes Bugfix & documentation PR that need to be picked to main branch label Oct 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci:docs Run the CI jobs for documentation checks only. documentation patch:done Patch/release PRs already cherry-picked to main/release branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants