Skip to content

Conversation

@Skn0tt
Copy link
Member

@Skn0tt Skn0tt commented Feb 28, 2025

No description provided.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

PR Overview

This PR updates the recommended snapshot extension from ".snapshot.yml" to ".aria.yml" to standardize file naming across tests, source code, and documentation.

  • Updated test assertions and snapshot file paths in test files
  • Modified helper functions and SnapshotRecorder configuration for the new extension
  • Adjusted documentation to reflect the new snapshot naming convention

Reviewed Changes

File Description
tests/playwright-test/playwright.artifacts.spec.ts Updated expected file names for snapshot artifacts
tests/playwright-test/aria-snapshot-file.spec.ts Changed snapshot file names and references to .aria.yml
packages/playwright/src/matchers/toMatchAriaSnapshot.ts Adjusted expected file extension for snapshot comparisons
packages/playwright/src/index.ts Updated SnapshotRecorder to use the .aria.yml extension
docs/src/api/class-locatorassertions.md Revised documentation to use .aria.yml in snapshot examples
docs/src/aria-snapshots.md Updated instructions for storing snapshots with the new extension

Copilot reviewed 7 out of 7 changed files in this pull request and generated no comments.

@github-actions
Copy link
Contributor

Test results for "tests 1"

1 failed
❌ [playwright-test] › tests/ui-mode-trace.spec.ts:503:5 › should show copy prompt button in errors tab @windows-latest-node18-1

5 flaky ⚠️ [chromium-library] › tests/library/chromium/oopif.spec.ts:284:3 › should click @chromium-ubuntu-22.04-node22
⚠️ [firefox-page] › tests/page/page-evaluate.spec.ts:403:3 › should throw for too deep reference chain @firefox-ubuntu-22.04-node18
⚠️ [chromium] › tests/headerView.spec.tsx:43:1 › should toggle filters @web-components-html-reporter
⚠️ [webkit-page] › tests/page/page-set-input-files.spec.ts:38:5 › should upload a folder @webkit-ubuntu-22.04-node18
⚠️ [playwright-test] › tests/ui-mode-test-watch.spec.ts:145:5 › should watch all @windows-latest-node18-1

38628 passed, 796 skipped
✔️✔️✔️

Merge workflow run.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants