style: revamp homepage and drawer
CI / Generate Certificates (push) Successful in 38s
CI / Frontend CI (push) Successful in 1m5s
CI / Backend CI (push) Successful in 1m8s
CI / E2E Tests (push) Has been skipped

Co-authored-by: me <ramvignesh-b@github.com>
Reviewed-on: #4
This commit was merged in pull request #4.
This commit is contained in:
2026-05-08 03:16:16 +00:00
parent d625cbb1fb
commit 143b992391
20 changed files with 352 additions and 254 deletions
+6 -4
View File
@@ -76,7 +76,9 @@ describe("Reader Page", () => {
</Routes>
</MemoryRouter>,
);
expect(await screen.findByTestId("envelope-recipient")).toHaveTextContent(/Guest/i);
expect(await screen.findByTestId("envelope-recipient")).toHaveTextContent(
/Guest/i,
);
});
it("should display an error message if the server request fails", async () => {
@@ -97,9 +99,9 @@ describe("Reader Page", () => {
</MemoryRouter>,
);
expect(
await screen.findByTestId("log-modal-message"),
).toHaveTextContent(/Failed to load letter/i);
expect(await screen.findByTestId("log-modal-message")).toHaveTextContent(
/Failed to load letter/i,
);
});
it("should navigate to the login page with redirect url when the letter has no sharing key and the user is not logged in", async () => {