refactor: migrate e2e tests and components to use data-testid attributes
This commit is contained in:
@@ -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!))}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user