Skip to content

Commit

Permalink
feat(roll): roll to 1.49 Playwright (#1600)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
playwrightmachine and github-actions[bot] authored Nov 21, 2024
1 parent 5259f14 commit e1a0dec
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dotnet/versioned_docs/version-stable/aria-snapshots.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,14 @@ import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
import HTMLCard from '@site/src/components/HTMLCard';

import LiteYouTube from '@site/src/components/LiteYouTube';

## Overview

In Playwright, aria snapshots provide a YAML representation of the accessibility tree of a page. These snapshots can be stored and compared later to verify if the page structure remains consistent or meets defined expectations.

<LiteYouTube id="P4R6hnsE0UY" title="Getting started with ARIA Snapshots" />

The YAML format describes the hierarchical structure of accessible elements on the page, detailing **roles**, **attributes**, **values**, and **text content**. The structure follows a tree-like syntax, where each node represents an accessible element, and indentation indicates nested elements.

Following is a simple example of an aria snapshot for the playwright.dev homepage:
Expand Down
4 changes: 4 additions & 0 deletions java/versioned_docs/version-stable/aria-snapshots.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,14 @@ import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
import HTMLCard from '@site/src/components/HTMLCard';

import LiteYouTube from '@site/src/components/LiteYouTube';

## Overview

In Playwright, aria snapshots provide a YAML representation of the accessibility tree of a page. These snapshots can be stored and compared later to verify if the page structure remains consistent or meets defined expectations.

<LiteYouTube id="P4R6hnsE0UY" title="Getting started with ARIA Snapshots" />

The YAML format describes the hierarchical structure of accessible elements on the page, detailing **roles**, **attributes**, **values**, and **text content**. The structure follows a tree-like syntax, where each node represents an accessible element, and indentation indicates nested elements.

Following is a simple example of an aria snapshot for the playwright.dev homepage:
Expand Down
4 changes: 4 additions & 0 deletions nodejs/versioned_docs/version-stable/aria-snapshots.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,14 @@ import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
import HTMLCard from '@site/src/components/HTMLCard';

import LiteYouTube from '@site/src/components/LiteYouTube';

## Overview

In Playwright, aria snapshots provide a YAML representation of the accessibility tree of a page. These snapshots can be stored and compared later to verify if the page structure remains consistent or meets defined expectations.

<LiteYouTube id="P4R6hnsE0UY" title="Getting started with ARIA Snapshots" />

The YAML format describes the hierarchical structure of accessible elements on the page, detailing **roles**, **attributes**, **values**, and **text content**. The structure follows a tree-like syntax, where each node represents an accessible element, and indentation indicates nested elements.

Following is a simple example of an aria snapshot for the playwright.dev homepage:
Expand Down
2 changes: 2 additions & 0 deletions nodejs/versioned_docs/version-stable/release-notes.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ import LiteYouTube from '@site/src/components/LiteYouTube';

## Version 1.49

<LiteYouTube id="S5wCft-ImKk" title="Playwright 1.49" />

### Aria snapshots

New assertion [expect(locator).toMatchAriaSnapshot()](/api/class-locatorassertions.mdx#locator-assertions-to-match-aria-snapshot) verifies page structure by comparing to an expected accessibility tree, represented as YAML.
Expand Down
4 changes: 4 additions & 0 deletions python/versioned_docs/version-stable/aria-snapshots.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,14 @@ import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
import HTMLCard from '@site/src/components/HTMLCard';

import LiteYouTube from '@site/src/components/LiteYouTube';

## Overview

In Playwright, aria snapshots provide a YAML representation of the accessibility tree of a page. These snapshots can be stored and compared later to verify if the page structure remains consistent or meets defined expectations.

<LiteYouTube id="P4R6hnsE0UY" title="Getting started with ARIA Snapshots" />

The YAML format describes the hierarchical structure of accessible elements on the page, detailing **roles**, **attributes**, **values**, and **text content**. The structure follows a tree-like syntax, where each node represents an accessible element, and indentation indicates nested elements.

Following is a simple example of an aria snapshot for the playwright.dev homepage:
Expand Down

0 comments on commit e1a0dec

Please sign in to comment.