Repository navigation
test(staging-smoke): check connector tiles and their reveal after the d215 rebuild - #3151
Conversation
… d215 rebuild #3143 turned the Connectors page into a tile grid: tools are .v2-cx-tile in the Tools group, what is not offered folds behind "+N off", and the act moved into each tile's reveal. The fold check still queried .v2-connector-row, found none, and failed every staging deploy since. It now opens each shown tool tile and requires a Connect or Install button in its reveal. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015AKgpQmb6BbxDrAtw45bgN
|
No actionable comments were generated in the recent review.
|
| Layer / File(s) | Summary |
|---|---|
Tools tile reveal check scripts/staging-smoke/staging-smoke.mjs |
The check now scans visible, non-add, non-dim Tools tiles with known names and opens candidates to check their dialogs for a non-secondary Connect or Install button. It reports connectable and shown tool names and the off-fold label. |
Estimated code review effort: 2 (Simple) | ~10 minutes
Change: Bug fix
Possibly related PRs
- Team-Commonly/commonly#3143: Replaces the Connectors page with tile and reveal markup that the updated smoke check inspects.
- Team-Commonly/commonly#2507: Adds the staging check for a connectable tool outside the inactive fold, which this change updates.
Merge Risk: 
Minimal · up to 93d9f
-
This updates the staging smoke check to use the new Tools tile-grid markup. It affects only the post-deploy promotion check, not production behavior. No merge-blocking issue was found. The first fresh-account run will happen on the next staging deploy.
Pre-merge checks: 
4
Finishing Touches
-
Generate docstrings
-
- Commit to this branch
- Create a new PR
Generate unit tests (beta)
-
- Commit to this branch
- Create a new PR
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
…st tile Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015AKgpQmb6BbxDrAtw45bgN
lilyshen0722
left a comment
There was a problem hiding this comment.
Gate at 93d9f85 (Tier 0: smoke script only).
Checked:
- The new selectors match #3143's markup: the Tools group
section.v2-cx-group,.v2-cx-tilewith--add/--dim, the.v2-cx-pop[role=dialog]reveal, and.v2-connector-row__action(Ask is the--secondarylink). - The fold is still excluded. Folded tiles render only when "+N off" is open, and then as
--dim. - The pass needs a Connect or Install button in a reveal. "Add", "Ask" and "Disconnect" don't match.
- Live staging run of the same logic at 1440 passes: connectable Atlassian, Airtable, Sentry, Notion. GitHub (non-admin, no Connect) and Linear ("Add") are correctly not counted.
- Subagent review: locale and a fixed sleep. Both fixed at this head, and re-run green.
- CI green; CodeRabbit left no inline threads.
GATE: PASS
Staging-smoke has been red on every deploy since #3143. That PR rebuilt the Connectors page from rows into a tile grid, and the smoke's connectors fold check still looked for
.v2-connector-row. It found 0 rows and failed (visible=[] rows=0 foldedRows=0). The page itself is fine. This PR moves the check onto the new markup and keeps what it guards.What the check does now
The tile alone isn't enough. A tool can be shown and still offer only "Ask", or need an admin (GitHub for a non-admin). The old check had the same rule about the action, and this keeps it. The detail line now reads
connectable=[…] shown=[…] off=<"+N off" or none>.Checked against live staging at 1440, with the same logic, signed in as the non-admin seed seat:
connectable=[Atlassian,Airtable,Sentry,Notion] shown=[GitHub,Linear,Atlassian,Airtable,Sentry,Notion]The fresh-account credentials live only in CI secrets, so the real run is the next Deploy Staging after this merges.
Tier 0 (test script only).
🤖 Generated with Claude Code
https://claude.ai/code/session_015AKgpQmb6BbxDrAtw45bgN