Update tests/playwright-test/aria-snapshot-file.spec.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Simon Knott <info@simonknott.de>
This commit is contained in:
parent
272f4c8e73
commit
8e631b2c4d
|
|
@ -128,7 +128,7 @@ test('should generate snapshot name', async ({ runInlineTest }, testInfo) => {
|
||||||
expect(snapshot2).toBe('- heading "hello world 2" [level=1]');
|
expect(snapshot2).toBe('- heading "hello world 2" [level=1]');
|
||||||
});
|
});
|
||||||
|
|
||||||
test('backwads compat with .yml extension', async ({ runInlineTest }) => {
|
test('backwards compat with .yml extension', async ({ runInlineTest }) => {
|
||||||
const result = await runInlineTest({
|
const result = await runInlineTest({
|
||||||
'a.spec.ts-snapshots/test-1.yml': `
|
'a.spec.ts-snapshots/test-1.yml': `
|
||||||
- heading "hello old world"
|
- heading "hello old world"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue