Skip to content

Commit cc91699

Browse files
Anton StandrikAnton Standrik
authored andcommitted
fix: tests
1 parent 9ebf6e2 commit cc91699

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/suites/tenant/queryEditor/queryTemplates.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ test.describe('Query Templates', () => {
9191
await page.waitForTimeout(500);
9292

9393
// Try to switch to Select query
94-
await objectSummary.clickActionMenuItem(dsVslotsTableName, RowTableAction.SelectQuery);
94+
await objectSummary.clickActionMenuItem(dsVslotsTableName, RowTableAction.DropTable);
9595
await page.waitForTimeout(500);
9696

9797
// Verify unsaved changes modal appears
@@ -111,7 +111,7 @@ test.describe('Query Templates', () => {
111111
const initialContent = await queryEditor.editorTextArea.inputValue();
112112

113113
// Try to switch to Select query
114-
await objectSummary.clickActionMenuItem(dsVslotsTableName, RowTableAction.SelectQuery);
114+
await objectSummary.clickActionMenuItem(dsVslotsTableName, RowTableAction.DropTable);
115115
await page.waitForTimeout(500);
116116

117117
// Click Cancel in the modal
@@ -134,7 +134,7 @@ test.describe('Query Templates', () => {
134134
const initialContent = await queryEditor.editorTextArea.inputValue();
135135

136136
// Try to switch to Select query
137-
await objectSummary.clickActionMenuItem(dsVslotsTableName, RowTableAction.SelectQuery);
137+
await objectSummary.clickActionMenuItem(dsVslotsTableName, RowTableAction.DropTable);
138138
await page.waitForTimeout(500);
139139

140140
// Click Don't save in the modal
@@ -158,7 +158,7 @@ test.describe('Query Templates', () => {
158158
await page.waitForTimeout(500);
159159

160160
// Try to switch to Select query
161-
await objectSummary.clickActionMenuItem(dsVslotsTableName, RowTableAction.SelectQuery);
161+
await objectSummary.clickActionMenuItem(dsVslotsTableName, RowTableAction.DropTable);
162162
await page.waitForTimeout(500);
163163

164164
// Click Save query in the modal

0 commit comments

Comments
 (0)