Describe steps in plain English
Use ai.run, ai.step, and ai.verify inside your Playwright tests.
Write Playwright tests in plain English, keep full Playwright control, and unlock the TestNeo workflow for execution evidence and release assurance.
Keep your existing Playwright workflow while adding natural-language authoring and optional TestNeo publishing.
Use ai.run, ai.step, and ai.verify inside your Playwright tests.
No black-box runtime. Your tests run in your normal Playwright/browser context.
Push run history for release evidence, visibility, and team collaboration.
import { test, expect } from "@testneo/playwright-ai-sdk";
test("inline hybrid", async ({ page, ai }) => {
await ai.run(`
Navigate to https://www.saucedemo.com
Enter username as "standard_user"
Enter password as "secret_sauce"
Click on Login button
Verify "Products" is visible
`, {
autoPublish: {
projectId: Number(process.env.TESTNEO_PROJECT_ID),
testName: "inline hybrid quickstart"
}
});
await ai.step("Add Sauce Labs Backpack to cart");
await expect(page.locator(".shopping_cart_badge")).toHaveText("1");
});
Use your debugger, existing Playwright config, and traces without changing your core setup.
Mix plain-English steps with page.* and expect() where needed.
Choose mode by context: CI gate rigor, balanced defaults, or adaptive local exploration.
Keep local iteration fast, then publish evidence to TestNeo for release decisions.
Use 10 guest runs without signup, then move to team workflows with full release visibility.