refactor/optimize e2e test (#3)
CI / Frontend CI (push) Successful in 1m10s
CI / Backend CI (push) Successful in 1m9s
CI / E2E Tests (push) Has been skipped
CI / Generate Certificates (push) Successful in 36s

how fast i'll go 🏄‍♂️

---------

Co-authored-by: me <ramvignesh-b@github.com>
Reviewed-on: #3
This commit was merged in pull request #3.
This commit is contained in:
2026-05-06 18:04:11 +00:00
parent 8d0ab979f5
commit ac2f541ebe
23 changed files with 605 additions and 586 deletions
@@ -15,7 +15,7 @@ export function PostSealModal({
type = "KEPT",
}: PostSealModalProps) {
return (
<Modal isOpen={!!sealedTargetId}>
<Modal isOpen={!!sealedTargetId} data-testid="post-seal-modal">
<LockIcon size={32} weight="duotone" className="text-primary mt-3" />
<h3 className="font-serif text-2xl">Your letter is sealed</h3>
<p className="text-base-content/60">
@@ -53,6 +53,7 @@ export function PostSealModal({
<>
<button
type="button"
data-testid="keep-it-btn"
className="btn btn-ghost btn-sm"
onClick={() => navigate(ROUTES.DRAWER)}
>
@@ -60,6 +61,7 @@ export function PostSealModal({
</button>
<button
type="button"
data-testid="view-letter-btn"
className="btn btn-primary btn-sm"
onClick={() => navigate(PATHS.read(sealedTargetId!))}
>