Skip to content

Agents problem running seed.spec.ts #1141

@ignatandrei

Description

@ignatandrei

VS Code v1.105 has appeared as stable ( you may want to improve the page https://playwright.dev/docs/test-agents )

So I tried to try https://playwright.dev/docs/test-agents with ASPIRE ;-)

I have followed the tutorial, but the planner gives an error when run the test seed ( it says that "Error: Playwright Test did not expect test.describe() to be called here." - detailed error as image below )

This is the seed.spec.ts file - generated by playwright

import { test, expect } from '@playwright/test';

test.describe('Test group', () => {
  test('seed', async ({ page }) => {
    // generate code here.
  });
});

( I have tried to delete describe, and he didn't like test....)

Please advise what is wrong in the seed file .


Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions