diff --git a/cypress/e2e/components/auth/forgotPassword/forgotpassword.cy.js b/cypress/e2e/components/auth/forgotPassword/forgotpassword.cy.js index ec603dc9..3b48ecf4 100644 --- a/cypress/e2e/components/auth/forgotPassword/forgotpassword.cy.js +++ b/cypress/e2e/components/auth/forgotPassword/forgotpassword.cy.js @@ -11,7 +11,7 @@ describe("Forgot Password Page | CodeLabz", () => { }); }); - + before(function () { indexedDB.deleteDatabase("firebaseLocalStorageDb"); }); @@ -24,6 +24,7 @@ describe("Forgot Password Page | CodeLabz", () => { it("empty email ", function () { cy.visit(`${this.base_url}forgotpassword`); cy.get("[data-testId=forgotPasswordButton]").should('be.disabled'); + }); it("successfull ", function () { cy.visit(`${this.base_url}forgotpassword`); diff --git a/src/components/AuthPage/ForgotPassword/index.jsx b/src/components/AuthPage/ForgotPassword/index.jsx index a7827dfc..57ea45e1 100644 --- a/src/components/AuthPage/ForgotPassword/index.jsx +++ b/src/components/AuthPage/ForgotPassword/index.jsx @@ -63,7 +63,6 @@ const ForgotPassword = ({ [dispatch] ); - const onSubmit = async (values) => { values.preventDefault(); setError(""); diff --git a/src/components/Notification/NotificationBox.jsx b/src/components/Notification/NotificationBox.jsx index 36215e52..3dd33d2c 100644 --- a/src/components/Notification/NotificationBox.jsx +++ b/src/components/Notification/NotificationBox.jsx @@ -1,6 +1,6 @@ import { Grid, Card, Menu, MenuItem } from "@mui/material"; import IconButton from "@mui/material/IconButton"; -import MoreVertOutlinedIcon from "@mui/icons-material/MoreVertOutlined"; +import MoreHorizOutlinedIcon from '@mui/icons-material/MoreHorizOutlined'; import Typography from "@mui/material/Typography"; import Avatar from "@mui/material/Avatar"; import Box from "@mui/material/Box"; @@ -27,7 +27,7 @@ const NotificationBox = ({ notification }) => { <> {!notification.isRead && } { }} aria-label="share" data-testId="MoreIcon" + style={{ position: 'absolute', top: 0, right: 0 }} > - + Mark as read diff --git a/src/routes.jsx b/src/routes.jsx index 39493a49..b94f3c37 100644 --- a/src/routes.jsx +++ b/src/routes.jsx @@ -89,7 +89,7 @@ const Routes = () => { {/* */} - +