Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ describe('RuleFormPage', () => {
expect(screen.getByText('Rule not found')).toBeInTheDocument();
});

it('renders the "Clone rule" page title', () => {
it('renders the "Create rule" page title', () => {
mockUseFetchRule.mockReturnValue({
data: {
id: 'rule-1',
Expand All @@ -333,7 +333,7 @@ describe('RuleFormPage', () => {

renderClonePage();

expect(screen.getByRole('heading', { name: 'Clone rule' })).toBeInTheDocument();
expect(screen.getByRole('heading', { name: 'Create rule' })).toBeInTheDocument();
});

it('does not pass ruleId to StandaloneRuleForm (creates a new rule)', () => {
Expand Down
Loading