Skip to content

v0.0.3 - Enhanced Init Command & Improved BDD Templates

Choose a tag to compare

@gurvinder-dhillon gurvinder-dhillon released this 27 Nov 05:22
· 89 commits to main since this release

πŸŽ‰ What's New

Enhanced Init Command

  • Zero-parameter setup: Simply run npx openqa init - no arguments needed!
  • Interactive prompts: Choose framework (Playwright-BDD or Cucumber.js), install browsers, and select AI provider
  • Smart browser installation: Optional Chromium installation with progress tracking
  • Provider-specific guidance: Tailored setup instructions based on your AI provider choice (Anthropic vs Others)

Improved BDD Templates

  • Fixed timeout issues: 4-minute default timeout for AI-powered browser tests
  • Better test results: Cucumber reports now output to cucumber-test-results/ directory
  • Included .gitignore files: Both templates now include proper .gitignore files for clean repositories
  • Fixed Playwright-BDD template: Proper test instance export for bddgen compatibility

LangChain Agent Enhancements

  • Configurable recursion limit: Default increased to 100 (from 25) for complex workflows
  • Environment variable support: Configure models via ANTHROPIC_MODEL, OPENAI_MODEL, GOOGLE_MODEL, DEFAULT_MODEL
  • Flexible timeout control: Set RECURSION_LIMIT environment variable

Documentation Improvements

  • Simplified Quick Start: Single npx openqa init command for new projects
  • Clear authentication steps: Added auth instructions to all integration guides
  • Better organization: Separated new projects from existing project integrations

πŸ“¦ Installation

# New projects
npx openqa init

# Existing projects
npm install openqa

πŸ”§ What's Fixed

  • βœ… Cucumber template timeout errors
  • βœ… Playwright-BDD bddgen "Can't guess test instance" error
  • βœ… ES module error in CLI init command
  • βœ… Missing .gitignore files in templates
  • βœ… Confusing README structure

πŸ“ Full Changelog

  • Enhanced init command with interactive prompts and browser installation
  • Fix Cucumber template timeouts (4-minute default)
  • Fix .gitignore files not being published to npm
  • Fix playwright-bdd template: export test instance for bddgen
  • Restructure README with step-by-step flow
  • Add recursion limit and model configuration to LangChain agent
  • Add Cucumber.js example for testing and reference

πŸ™ Contributors

Generated with Claude Code

Co-Authored-By: Claude noreply@anthropic.com