For the complete documentation index, see llms.txt. This page is also available as Markdown.

Playwright Scripts

Import your existing Playwright automation framework into WalnutAI and automatically convert your scripts into structured, execution-ready test cases.

1. Git Repository

  • Connect any Git repository that contains Playwright automation scripts. WalnutAI analyzes the complete framework, including the existing Page Object Model, tests, fixtures, and helpers, and uses the framework context to generate automated test cases within WalnutAI.

  • When to Use: Use this option when your Playwright project is maintained in a Git repository and you want to import the complete framework.

  • Result: The framework is analyzed, and automated test cases are generated in WalnutAI while preserving the existing framework context.

2. ZIP Archive

  • Upload a Playwright project as a ZIP file directly from your local device. WalnutAI analyzes the project files and converts the existing automation scripts into automated test cases.

  • When to Use: Use this option when your Playwright project is available locally as a ZIP archive.

  • Result: The uploaded project is analyzed and converted into automated test cases that can be reviewed and saved in WalnutAI.

3. Script Files

  • Upload individual Playwright test scripts to convert existing automation scripts into structured test cases within WalnutAI.

  • Supported Scripts: Playwright (.ts, .js, .spec.ts, .spec.js)

  • When to Use: Use this option when you have specific Playwright test scripts that you want to convert without importing the complete framework.

Steps to Generate Test Cases:

  • From Intelligence Hub, select the Playwright Framework.

  • Upload the supported Playwright script files.

  • Review the generated test cases.

  • Click Save to store the test cases in WalnutAI.

Result: The saved test cases are available in the Test Case module as automated test cases.

Last updated