Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

DEV-1599 DEV-1598 fix flakiness (#70166)

Egor Grushin483117981c9c
diff --git a/e2e/support/test_tables.js b/e2e/support/test_tables.js
index 53e7652ddad..5cc957a79a5 100644
--- a/e2e/support/test_tables.js
+++ b/e2e/support/test_tables.js
@@ -272,7 +272,7 @@ export const many_schemas = async (dbClient) => {
}),
);
- Object.entries(schemas).forEach(async ([schemaName, details]) => {
+ for (const [schemaName, details] of Object.entries(schemas)) {
const [table, rows] = details;
await dbClient.schema.createSchemaIfNotExists(schemaName);
await dbClient.schema.withSchema(schemaName).dropTableIfExists(table);
@@ -283,7 +283,7 @@ export const many_schemas = async (dbClient) => {
});
await dbClient(`${schemaName}.${table}`).insert(rows);
- });
+ }
return schemas;
};
diff --git a/e2e/test/scenarios/data-studio/transforms/transforms.cy.spec.ts b/e2e/test/scenarios/data-studio/transforms/transforms.cy.spec.ts
index 118dab4e687..47a6d6d225b 100644
--- a/e2e/test/scenarios/data-studio/transforms/transforms.cy.spec.ts
+++ b/e2e/test/scenarios/data-studio/transforms/transforms.cy.spec.ts
@@ -3225,7 +3225,7 @@ describe("scenarios > admin > transforms > runs", () => {
H.resetTestTable({ type: "postgres", table: "many_schemas" });
cy.signInAsAdmin();
H.activateToken("bleeding-edge");
- H.resyncDatabase({ dbId: WRITABLE_DB_ID });
+ H.resyncDatabase({ dbId: WRITABLE_DB_ID, tableName: SOURCE_TABLE });
});
it("should be able to filter runs", () => {