diff --git a/cypress/e2e/1-dx/1-test-login.cy.ts b/cypress/e2e/1-dx/1-test-login.cy.ts
index 0684dc07e..d21fcf3ff 100644
--- a/cypress/e2e/1-dx/1-test-login.cy.ts
+++ b/cypress/e2e/1-dx/1-test-login.cy.ts
@@ -13,6 +13,6 @@ describe("Login for a test user on DX", () => {
});
it("Is Logged in", function () {
- cy.contains("CREATE REPORT").should("be.visible");
+ cy.contains("Welcome").should("be.visible");
});
});
diff --git a/cypress/e2e/1-dx/2-datasets.cy.ts b/cypress/e2e/1-dx/2-datasets.cy.ts
index a572ef7d3..9c5c5f27a 100644
--- a/cypress/e2e/1-dx/2-datasets.cy.ts
+++ b/cypress/e2e/1-dx/2-datasets.cy.ts
@@ -28,13 +28,11 @@ describe("Testing connecting data on DX", () => {
cy.get('[data-cy="cookie-btn"]').click();
- cy.get('[data-cy="create-report-dropdown"]').click();
- cy.get('[data-cy="appbar-connect-data"]').click();
+ cy.get('[data-cy="home-connect-dataset-button"]').click();
});
it("Can import data from External Search", () => {
cy.intercept(`${apiUrl}/external-sources/search?q=*`).as("getDefaultData");
- cy.get('[data-cy="external-search-button"]').click();
cy.wait("@getDefaultData").then((interception) => {
cy.get('[data-cy="external-search-card-Kaggle"]').should(
@@ -129,6 +127,8 @@ describe("Testing connecting data on DX", () => {
// });
it("Can import data through local upload", () => {
+ cy.get('[data-cy="file-upload-tab"]').click();
+ cy.get('[data-cy="upload-option-button"').first().click();
cy.get('[data-cy="local-upload-input"]').as("fileInput");
cy.fixture("football-players.csv").then((fileContent) => {
cy.get("@fileInput").attachFile({
@@ -154,6 +154,8 @@ describe("Testing connecting data on DX", () => {
});
it("Can import another dataset through local upload", () => {
+ cy.get('[data-cy="file-upload-tab"]').click();
+ cy.get('[data-cy="upload-option-button"').first().click();
cy.get('[data-cy="local-upload-input"]').as("fileInput");
cy.fixture("grossing-movies.csv").then((fileContent) => {
cy.get("@fileInput").attachFile({
diff --git a/cypress/e2e/1-dx/3-charts.cy.ts b/cypress/e2e/1-dx/3-charts.cy.ts
index 98f45e2bb..552d93f6d 100644
--- a/cypress/e2e/1-dx/3-charts.cy.ts
+++ b/cypress/e2e/1-dx/3-charts.cy.ts
@@ -25,9 +25,8 @@ describe("Testing create chart on DX", () => {
cy.get('[data-cy="cookie-btn"]').click();
- cy.get('[data-cy="create-report-dropdown"]').click();
cy.intercept("GET", `${apiUrl}/datasets?filter=*`).as("getDatasets");
- cy.get('[data-cy="appbar-create-chart"]').click();
+ cy.get('[data-cy="home-create-chart-button"]').click();
cy.wait("@getDatasets");
cy.intercept("GET", `${apiUrl}/chart/sample-data/*`).as("getDataset");
@@ -190,10 +189,8 @@ describe("Testing Ai chart creation", () => {
cy.visit("/");
cy.get('[data-cy="cookie-btn"]').click();
-
- cy.get('[data-cy="create-report-dropdown"]').click();
cy.intercept("GET", `${apiUrl}/datasets?filter=*`).as("getDatasets");
- cy.get('[data-cy="appbar-create-chart"]').click();
+ cy.get('[data-cy="home-create-chart-button"]').click();
cy.wait("@getDatasets");
cy.intercept("GET", `${apiUrl}/chart/sample-data/*`).as("getDataset");
diff --git a/cypress/e2e/1-dx/4-reports.cy.ts b/cypress/e2e/1-dx/4-reports.cy.ts
index 10f30c02a..e9fec3630 100644
--- a/cypress/e2e/1-dx/4-reports.cy.ts
+++ b/cypress/e2e/1-dx/4-reports.cy.ts
@@ -27,7 +27,7 @@ describe("Testing reports on DX", () => {
});
it("Can Create report", () => {
- cy.get('[data-cy="appbar-create-report/login"]').click();
+ cy.get('[data-cy="home-create-report-button"]').click();
cy.contains(
'[data-cy="report-template-card"]',
@@ -153,8 +153,6 @@ describe("Testing reports on DX", () => {
cy.visit("/");
- cy.wait("@fetchReports");
-
cy.get('[data-cy="home-charts-tab"]').scrollIntoView().click();
cy.get('[data-cy="home-reports-tab"]').scrollIntoView().click();
diff --git a/cypress/e2e/1-dx/5-home.cy.ts b/cypress/e2e/1-dx/5-home.cy.ts
index 707d0550b..509e35b08 100644
--- a/cypress/e2e/1-dx/5-home.cy.ts
+++ b/cypress/e2e/1-dx/5-home.cy.ts
@@ -14,7 +14,7 @@ describe("Home page tests", () => {
cy.location("pathname").should("include", "/about");
cy.get('[data-cy="empower-block-explore-reports-link"]').click();
cy.wait(2000);
- cy.location("pathname").should("include", "/explore");
+ cy.location("pathname").should("include", "/");
cy.get('[data-cy="nav-about"]').click();
cy.wait(2000);
diff --git a/package.json b/package.json
index 14bc83db9..9d255b02d 100644
--- a/package.json
+++ b/package.json
@@ -8,6 +8,7 @@
},
"dependencies": {
"@auth0/auth0-react": "^2.2.1",
+ "@azure/msal-browser": "^3.16.0",
"@craco/craco": "^6.4.3",
"@devhammed/use-cookie": "^1.1.1",
"@draft-js-plugins/anchor": "^4.1.4",
diff --git a/src/app/Routes.tsx b/src/app/Routes.tsx
index e649ade7d..8cde0fef2 100755
--- a/src/app/Routes.tsx
+++ b/src/app/Routes.tsx
@@ -242,9 +242,9 @@ export function MainRoutes() {
-
+ {/*
-
+ */}
diff --git a/src/app/assets/icons/data-themes-chart-types/coloredBigNumber.tsx b/src/app/assets/icons/data-themes-chart-types/coloredBigNumber.tsx
index 299ce87e1..243104ac9 100644
--- a/src/app/assets/icons/data-themes-chart-types/coloredBigNumber.tsx
+++ b/src/app/assets/icons/data-themes-chart-types/coloredBigNumber.tsx
@@ -3,15 +3,15 @@ import React from "react";
export default function Icon() {
return (
);
diff --git a/src/app/components/AppBar/index.tsx b/src/app/components/AppBar/index.tsx
index bcfa407a8..0ece6c626 100644
--- a/src/app/components/AppBar/index.tsx
+++ b/src/app/components/AppBar/index.tsx
@@ -229,16 +229,17 @@ export function AppBar() {
justify-content: flex-end;
`}
>
+ {" "}
+
+
+ Explore
+
+
Why DataXplorer?
-
-
- Explore
-
-
About
@@ -290,7 +291,6 @@ const ActionMenu = () => {
{
:nth-child(1) {
width: ${isAuthenticated ? "146px" : "110px"};
height: 34px;
- border-radius: ${isAuthenticated ? "24px 0px 0px 24px" : "24px"};
+ border-radius: 24px;
&:hover {
- opacity: 1;
+ opacity: 0.8;
}
}
- :nth-child(2) {
+ /* :nth-child(2) {
width: 41px;
height: 34px;
border-radius: 0px 24px 24px 0px;
background: ${openActionPopover ? "#b5b5db" : "#dadaf8"};
&:hover {
background: #b5b5db;
- }
+ } */
}
svg {
${openActionPopover ? "transform: rotate(180deg)" : ""}
@@ -327,14 +327,12 @@ const ActionMenu = () => {
}
`}
>
-
+
- {isAuthenticated && (
+ {/* {isAuthenticated && (
- )}
+ )} */}
{isAuthenticated && (