Skip to content

test(e2e): tick objects before History revert execute - #272

Merged
huyplb merged 1 commit into
mainfrom
cursor/schema-revert-select-all-847b
Aug 18, 2026
Merged

test(e2e): tick objects before History revert execute#272
huyplb merged 1 commit into
mainfrom
cursor/schema-revert-select-all-847b

Conversation

@huyplb

@huyplb huyplb commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

Ran History/revert e2e against 0.2.105 (http://127.0.0.1:5173).

Results

  • schema-history.test.ts6/6
  • schema-version-revert-edges.test.ts10/10
  • schema-revert.test.ts2 failed, then 4/4 after this fix

Failure

After #263, Execute stays disabled until objects are ticked. The happy-path revert suite still called executeRevert() on an empty tree (waitForFunction 30s, then the follow-up could not find Compare versions).

Fix

Call selectAllCompareObjects() before Execute in both apply tests — same as the lossy edge cases.

Not run: dialect Docker e2e (Docker is not in this environment).

Open in Web Open in Cursor 

Zero ticks is refused after #263 (not whole-schema). The happy-path
revert suite still called Execute with an empty tree, so the button
stayed disabled. Select all, same as the lossy edge cases.

Co-authored-by: huy.phan9 <huyplb@users.noreply.github.com>
@huyplb
huyplb marked this pull request as ready for review August 18, 2026 05:53
@cursor

cursor Bot commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

Bugbot couldn't run - usage limit reached

Bugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit.

A user or team admin can review and increase usage limits in the Cursor dashboard.

(requestId: serverGenReqId_b9d15000-5959-4620-8330-d622a26c18c8)

@huyplb
huyplb merged commit 8f79665 into main Aug 18, 2026
11 checks passed
@huyplb
huyplb deleted the cursor/schema-revert-select-all-847b branch August 18, 2026 23:24
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