Skip to content

Commit 5f4dbb2

Browse files
committed
Update grid beforeEach hook
1 parent f294005 commit 5f4dbb2

File tree

1 file changed

+4
-4
lines changed
  • packages/browser-tests/cypress/integration/console

1 file changed

+4
-4
lines changed

packages/browser-tests/cypress/integration/console/grid.spec.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
/// <reference types="cypress" />
22

3-
describe("questdb grid", () => {
4-
before(() => {
5-
cy.visit("http://localhost:9999");
6-
});
3+
const baseUrl = "http://localhost:9999";
74

5+
describe("questdb grid", () => {
86
beforeEach(() => {
7+
cy.visit(baseUrl);
8+
cy.getEditorContent().should("be.visible");
99
cy.clearEditor();
1010
});
1111

0 commit comments

Comments
 (0)