We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8115521 commit 7321ecaCopy full SHA for 7321eca
1 file changed
x-pack/platform/plugins/shared/alerting_v2/public/pages/rule_form_page/rule_form_page.test.tsx
@@ -315,7 +315,7 @@ describe('RuleFormPage', () => {
315
expect(screen.getByText('Rule not found')).toBeInTheDocument();
316
});
317
318
- it('renders the "Clone rule" page title', () => {
+ it('renders the "Create rule" page title', () => {
319
mockUseFetchRule.mockReturnValue({
320
data: {
321
id: 'rule-1',
@@ -333,7 +333,7 @@ describe('RuleFormPage', () => {
333
334
renderClonePage();
335
336
- expect(screen.getByRole('heading', { name: 'Clone rule' })).toBeInTheDocument();
+ expect(screen.getByRole('heading', { name: 'Create rule' })).toBeInTheDocument();
337
338
339
it('does not pass ruleId to StandaloneRuleForm (creates a new rule)', () => {
0 commit comments