Skip to content

Commit cb4df60

Browse files
committed
enable verification in rule menu
1 parent b896d8c commit cb4df60

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

src/views/Generator/NewRuleMenu.tsx

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@ export function NewRuleMenu(props: ComponentProps<typeof Button>) {
1818
const newRule = createEmptyRule(type)
1919
addRule(newRule)
2020
}
21-
const verificationRuleTooltip = hasVerificationRule
22-
? 'Currently, only one verification rule per test is supported.'
23-
: 'Verify reponse statuses match the recording.'
21+
const verificationRuleTooltip = 'Add status and body checks'
2422

2523
return (
2624
<DropdownMenu.Root>
@@ -61,12 +59,11 @@ export function NewRuleMenu(props: ComponentProps<typeof Button>) {
6159

6260
<Tooltip content={verificationRuleTooltip} side="right">
6361
<DropdownMenu.Item
64-
disabled={hasVerificationRule}
6562
onClick={() => {
6663
createRule('verification')
6764
}}
6865
>
69-
Verification (limited)
66+
Verification
7067
</DropdownMenu.Item>
7168
</Tooltip>
7269
</DropdownMenu.Content>

0 commit comments

Comments
 (0)