Skip to content

feat: Playwright config-level Stacks settings#21

Merged
satoshai-dev merged 1 commit intomainfrom
feat/config-level-settings
Feb 26, 2026
Merged

feat: Playwright config-level Stacks settings#21
satoshai-dev merged 1 commit intomainfrom
feat/config-level-settings

Conversation

@satoshai-dev
Copy link
Copy Markdown
Owner

Summary

  • Adds PlaystacksOptions interface for setting Stacks config in playwright.config.ts's use block
  • Exports a pre-configured test that reads options (stacksPrivateKey, stacksNetwork, stacksFeeMultiplier, etc.) from the Playwright config
  • testWithStacks() still works for file-level overrides that take precedence over config-level defaults
  • Includes changeset

Closes #16

Test plan

  • Verify test export reads options from playwright.config.ts use block
  • Verify testWithStacks() overrides config-level settings
  • Verify error when neither config-level nor file-level provides required fields (network, key)

🤖 Generated with Claude Code

Add PlaystacksOptions interface for setting Stacks config in
playwright.config.ts `use` block. Export a pre-configured `test`
that reads options from config and a `testWithStacks()` that
accepts file-level overrides.

Closes #16

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@satoshai-dev satoshai-dev force-pushed the feat/config-level-settings branch from 188ba2f to c5ca7be Compare February 26, 2026 16:02
@satoshai-dev satoshai-dev merged commit e96d035 into main Feb 26, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

improvement: Playwright config-level settings (stacksPrivateKey, stacksNetwork)

1 participant