Skip to content

test(e2e): SQL transaction controls and destructive guard - #1123

Merged
ZhuchkaTriplesix merged 2 commits into
devfrom
issue/1051-e2e-sql-explain-transactions
Oct 8, 2026
Merged

ZhuchkaTriplesix merged 2 commits into
devfrom
issue/1051-e2e-sql-explain-transactions

Conversation

@ZhuchkaTriplesix

Copy link
Copy Markdown
Member

Part of #1051.

test/e2e/02_sql_workspaces/e2e_transaction_guard_test.dart:

  • Begin / Commit / Rollback drive a transaction and the Transaction: open / none label follows the database;
  • a database without transactions shows no transaction controls;
  • a destructive statement waits for confirmation, Cancel sends nothing;
  • closing the workspace while a query runs cancels it.

EXPLAIN is not exercised: the generic workspace has no EXPLAIN control (explainQuery is only implemented by the per-database delegates). The 50 000-row virtual scroll scenario is also still open.

@github-actions github-actions Bot added editor Code/SQL editor tests Theme parser epic ui User interface components and widgets data-grid Interactive data grid, cell editor, filtering, groupings P3 Low priority / Polish & Enhancements labels Oct 8, 2026
@ZhuchkaTriplesix
ZhuchkaTriplesix merged commit 0935406 into dev Oct 8, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

data-grid Interactive data grid, cell editor, filtering, groupings editor Code/SQL editor P3 Low priority / Polish & Enhancements tests Theme parser epic ui User interface components and widgets

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant