Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
glasstiger committed Oct 23, 2024
1 parent eb23981 commit 00ac0e0
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions packages/browser-tests/cypress/integration/console/grid.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,16 @@ describe("questdb grid", () => {
cy.getGridViewport().scrollTo("bottom");
});

it("multiple scrolls till the bottom with error", () => {
const rows = 1200;
cy.typeQuery(`select simulate_crash('P') from long_sequence(${rows})`);
cy.runLine();

cy.getGridViewport().scrollTo("bottom");
cy.wait(100);
cy.getCollapsedNotifications().should("contain", "HTTP 400 (Bad request)");
});

it("copy cell into the clipboard", () => {
cy.typeQuery("select x from long_sequence(10)");
cy.runLine();
Expand Down

0 comments on commit 00ac0e0

Please sign in to comment.