Skip to content

Wizard e2e test#1173

Draft
gabrielcld2 wants to merge 3 commits into
developfrom
feature/wizard-e2e
Draft

Wizard e2e test#1173
gabrielcld2 wants to merge 3 commits into
developfrom
feature/wizard-e2e

Conversation

@gabrielcld2
Copy link
Copy Markdown
Collaborator

Note: origin PR and details can be found here #1171

Creating a separate one to test the CI integration as it cannot work from a fork repository

Covers the three behaviours users care about: invalid credentials are
rejected and Next stays disabled; valid credentials walk the wizard
through all four tabs to completion; and a completed wizard does not
reappear on subsequent visits to the plugin page.

Connection credentials are read from CLOUDINARY_E2E_URL (deliberately
distinct from the SDK's CLOUDINARY_URL convention) which can be
provided via shell export or a gitignored .env file. The test cannot
use a PHP-side connection constant because the plugin then hides the
wizard's connection input.
The wizard setup spec needs a real Cloudinary connection string at
runtime. Plumb it through from the repository secret of the same name.
Remove WPP-1201 ticket reference from test.describe() to avoid
exposing internal project context in public repository.
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.

2 participants