chore: add initial tests

This commit is contained in:
David Nguyen
2024-03-16 15:54:20 +08:00
parent 8d1b0adbb2
commit 228ac90036
12 changed files with 268 additions and 41 deletions

View File

@ -160,7 +160,7 @@ export const AddSettingsFormPartial = ({
<FormControl>
<Select {...field} onValueChange={field.onChange}>
<SelectTrigger className="bg-background text-muted-foreground">
<SelectValue placeholder="None" />
<SelectValue data-testid="documentAccessSelectValue" placeholder="None" />
</SelectTrigger>
<SelectContent position="popper">
@ -216,7 +216,7 @@ export const AddSettingsFormPartial = ({
<FormControl>
<Select {...field} onValueChange={field.onChange}>
<SelectTrigger className="bg-background text-muted-foreground">
<SelectValue placeholder="None" />
<SelectValue data-testid="documentActionSelectValue" placeholder="None" />
</SelectTrigger>
<SelectContent position="popper">