for computedProperties use nosql2

This commit is contained in:
Asier Isayas
2026-01-21 14:24:42 -08:00
parent a4b0572f91
commit b559976a42
3 changed files with 6 additions and 2 deletions

View File

@@ -14,7 +14,7 @@ test.describe("Computed Properties", () => {
});
test.beforeEach("Open Settings tab under Scale & Settings", async ({ page }) => {
explorer = await DataExplorer.open(page, TestAccount.SQL);
explorer = await DataExplorer.open(page, TestAccount.SQL2);
const containerNode = await explorer.waitForContainerNode(context.database.id, context.container.id);
await containerNode.expand();

View File

@@ -45,7 +45,7 @@ test.describe("Stored Procedures", () => {
);
// Execute stored procedure
const executeButton = explorer.commandBarButton(CommandBarButton.Execute);
const executeButton = explorer.commandBarButton(CommandBarButton.Execute).first();
await executeButton.click();
const executeSidePanelButton = explorer.frame.getByTestId("Panel/OkButton");
await executeSidePanelButton.click();

View File

@@ -17,6 +17,7 @@ const nosqlRbacToken =
urlSearchParams.get("nosqlRbacToken") ||
(enablecontainercopy ? process.env.NOSQL_CONTAINERCOPY_TESTACCOUNT_TOKEN : process.env.NOSQL_TESTACCOUNT_TOKEN) ||
"";
const nosql2RbacToken = urlSearchParams.get("nosql2RbacToken") || process.env.NOSQL2_TESTACCOUNT_TOKEN || "";
const nosqlReadOnlyRbacToken =
urlSearchParams.get("nosqlReadOnlyRbacToken") || process.env.NOSQL_READONLY_TESTACCOUNT_TOKEN || "";
const tableRbacToken = urlSearchParams.get("tableRbacToken") || process.env.TABLE_TESTACCOUNT_TOKEN || "";
@@ -43,6 +44,9 @@ const initTestExplorer = async (): Promise<void> => {
case "sql":
rbacToken = nosqlRbacToken;
break;
case "sql2":
rbacToken = nosql2RbacToken;
break;
case "sql-readonly":
rbacToken = nosqlReadOnlyRbacToken;
break;