Skip to content

testmd export bakes literal URLs into Playwright code (should resolveVar like secrets) #99

Description

@komal-lt

Summary

testmd export bakes resolved URLs into the generated Playwright code as literals.

Exported code hardcodes await page.goto("https://test-manager.lambdatest.com/projects") while correctly keeping secrets as resolveVar("{{secrets.user.KANE_TEST_PASSWORD}}").

Ask

Mirror the secret handling for URLs — emit resolveVar("{{global.TM_BASE_URL}}") (or similar) so exported tests stay env-portable instead of pinned to the authoring environment.

Env

kane-cli 0.4.4, testmd export --language javascript.

Metadata

Metadata

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions