Repository navigation
[2.0] Assert the workflow request in the ServiceForm SSL cert test (backport 2.0 #38070) - #38167
Conversation
Partial cherry-pick of #38070 (d3649e0), ServiceForm.spec.ts hunk only. #37962 backported masking of Superset sslConfig certificates to 2.0, so the workflow response now returns caCertificate as a mask. Assert on the request body the form sent instead. The other #38070 hunks cover personal-space and AI profile code that does not exist on 2.0.
❌ PR checklist incompleteThis PR cannot be merged until the following are addressed on its linked issue:
The fields live on the linked issue in the Shipping project (open the issue → right sidebar → Projects). After you set them, re-run this check (or push a commit) — issue/project changes do not re-trigger it automatically. Maintainers can bypass this check by adding the |
Code Review ✅ Approved 🟢 Low riskThe Playwright test now inspects the submitted request instead of a masked response; this changes test observation only, not application behavior. Backports the ServiceForm SSL cert test fix to VerificationRules No rules evaluated Functional validation Not enabledAuto-approval Not enabledFor more verification details, comment OptionsDisplay: compact → Showing compact verification results. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source |
Describe your changes:
Partial backport of #38070 to
2.0: theServiceForm.spec.tshunk only.Service form functionality › Superset › Verify SSL cert upload with long filename and UI overflow handlingfails on2.0on every retry:#37962 backported #33193 and #37965 to
2.0, and #37965 masks the Superset API connection'ssslConfigcertificates. The test readcaCertificatefrom thePOST /api/v1/automations/workflowsresponse, which now carries the mask.maingot the same masking and fixed the test in #38070.2.0got the masking but not the test fix.The test now reads the request body the form sent, which is what it means to check (the uploaded file reaches the payload).
The other #38070 hunks fix personal-space and AI profile specs and code that do not exist on
2.0, so they are left out.Type of change:
Tests:
mainafter Fix settings Playwright failures after the unsaved-changes guard #38070, where the spec passes.prettier --checkpasses on the file. ESLint could not load the2.0config against the localnode_modules, so CI's checkstyle job is the lint check.2.0stack; the PR's Playwright job is the run that confirms it.🤖 Generated with Claude Code


Confidence Score: 5/5
This test-only change appears safe to merge.Summary
Updates the Superset certificate upload test to check the outgoing workflow request instead of the masked server response.
No actionable issues found. The Playwright test was not run locally.
Reviews (1) · Last reviewed commit: "[2.0] Assert the workflow request in the..." · Reviewed by Greptile