diff --git a/packages/browser-tests/cypress/commands.js b/packages/browser-tests/cypress/commands.js
index cd32324c8..a66913b36 100644
--- a/packages/browser-tests/cypress/commands.js
+++ b/packages/browser-tests/cypress/commands.js
@@ -121,4 +121,10 @@ Cypress.Commands.add("getSelectedLines", () => cy.get(".selected-text"));
Cypress.Commands.add("getVisibleLines", () => cy.get(".view-lines"));
-Cypress.Commands.add("getNotifications", () => cy.get(".notifications"));
+Cypress.Commands.add("getCollapsedNotifications", () =>
+ cy.get('[data-hook="notifications-collapsed"]')
+);
+
+Cypress.Commands.add("getExpandedNotifications", () =>
+ cy.get('[data-hook="notifications-expanded"]')
+);
diff --git a/packages/browser-tests/cypress/integration/console/editor.spec.js b/packages/browser-tests/cypress/integration/console/editor.spec.js
index af3377b71..28e94a4d5 100644
--- a/packages/browser-tests/cypress/integration/console/editor.spec.js
+++ b/packages/browser-tests/cypress/integration/console/editor.spec.js
@@ -249,7 +249,7 @@ describe("errors", () => {
cy.typeQuery(query).runLine();
cy.matchErrorMarkerPosition({ left: 506, width: 42 });
- cy.getNotifications().should("contain", "Invalid date");
+ cy.getCollapsedNotifications().should("contain", "Invalid date");
});
});
diff --git a/packages/browser-tests/cypress/integration/console/grid.spec.js b/packages/browser-tests/cypress/integration/console/grid.spec.js
index cb3985dfc..2531c1398 100644
--- a/packages/browser-tests/cypress/integration/console/grid.spec.js
+++ b/packages/browser-tests/cypress/integration/console/grid.spec.js
@@ -21,13 +21,13 @@ describe("questdb grid", () => {
cy.wait(100);
cy.getGridRows()
- .should("have.length", 8)
+ .should("have.length", 9)
.getGridRow(0)
.should("contain", "1");
cy.getGridViewport().scrollTo("bottom");
- cy.getGridRows().should("have.length", 8);
- cy.getGridRow(0).should("contain", "93");
+ cy.getGridRows().should("have.length", 9);
+ cy.getGridRow(0).should("contain", "92");
cy.matchImageSnapshot();
});
diff --git a/packages/browser-tests/cypress/integration/console/settings.spec.js b/packages/browser-tests/cypress/integration/console/settings.spec.js
deleted file mode 100644
index 9aa63c173..000000000
--- a/packages/browser-tests/cypress/integration/console/settings.spec.js
+++ /dev/null
@@ -1,12 +0,0 @@
-///
-
-describe("questdb settings", () => {
- before(() => {
- cy.visit("http://localhost:9999");
- });
-
- it("display settings screen", () => {
- cy.get('[data-hook="navigation-settings-button"]').click();
- cy.matchImageSnapshot();
- });
-});
diff --git a/packages/web-console/src/scenes/Console/index.tsx b/packages/web-console/src/scenes/Console/index.tsx
index 58ba0e207..a5fa63ac9 100644
--- a/packages/web-console/src/scenes/Console/index.tsx
+++ b/packages/web-console/src/scenes/Console/index.tsx
@@ -39,8 +39,10 @@ const Bottom = styled.div`
flex: 1;
`
-const ToggleTablesIcon = styled(ChevronDoubleLeft)<{ collapsed: boolean }>`
- transform: rotate(${({ collapsed }) => (collapsed ? "180deg" : "0deg")});
+const ToggleTablesIcon = styled(ChevronDoubleLeft)<{ splitterbasis: number }>`
+ transform: rotate(
+ ${({ splitterbasis }) => (splitterbasis === 0 ? "180deg" : "0deg")}
+ );
`
const viewModes: {
@@ -109,7 +111,7 @@ const Console = () => {
>
}
diff --git a/packages/web-console/src/scenes/Notifications/index.tsx b/packages/web-console/src/scenes/Notifications/index.tsx
index ddb9c7c4f..dd4b0f8d2 100644
--- a/packages/web-console/src/scenes/Notifications/index.tsx
+++ b/packages/web-console/src/scenes/Notifications/index.tsx
@@ -129,7 +129,7 @@ const Notifications = () => {
Log
-
+
{isMinimized && lastNotification && (
)}
@@ -140,7 +140,7 @@ const Notifications = () => {
{!isMinimized && (
-
+
{notifications.map((notification) => (
dispatch(actions.console.setActivePanel("import"))}
prefixIcon={}
+ data-hook="navigation-import-button"
>
Import