mirror of
https://github.com/n8n-io/n8n.git
synced 2026-10-17 13:39:44 +02:00
fix(editor): Rename the "Executions fail" label to "Executions will fail" (#40888)
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
e0958fe094
commit
2a51f38d55
|
|
@ -4617,7 +4617,7 @@
|
|||
"settings.migrationReport.tabs.workflowIssues": "Workflow issues",
|
||||
"settings.migrationReport.tabs.instanceIssues": "Instance issues",
|
||||
"settings.migrationReport.impact.upgradeBlocked": "Upgrade blocked",
|
||||
"settings.migrationReport.impact.executionsFail": "Executions fail",
|
||||
"settings.migrationReport.impact.executionsFail": "Executions will fail",
|
||||
"settings.migrationReport.impact.behaviorChanges": "Behavior changes",
|
||||
"settings.migrationReport.impact.capabilityRemoved": "Capability removed",
|
||||
"settings.migrationReport.workflowTooltip.upgradeBlocked": "The update cannot proceed until you fix the affected workflows.",
|
||||
|
|
|
|||
|
|
@ -183,7 +183,7 @@ describe('MigrationRuleDetail', () => {
|
|||
await waitFor(() => {
|
||||
// Title, impact tag, and affected count
|
||||
expect(screen.getByText('Test Rule')).toBeInTheDocument();
|
||||
expect(screen.getByText('Executions fail')).toBeInTheDocument();
|
||||
expect(screen.getByText('Executions will fail')).toBeInTheDocument();
|
||||
expect(screen.getByText('2 affected')).toBeInTheDocument();
|
||||
|
||||
// Description
|
||||
|
|
@ -1025,7 +1025,7 @@ describe('MigrationRuleDetail', () => {
|
|||
describe('impact display', () => {
|
||||
it.each([
|
||||
{ impact: 'upgradeBlocked', label: 'Upgrade blocked' },
|
||||
{ impact: 'executionsFail', label: 'Executions fail' },
|
||||
{ impact: 'executionsFail', label: 'Executions will fail' },
|
||||
{ impact: 'behaviorChanges', label: 'Behavior changes' },
|
||||
{ impact: 'capabilityRemoved', label: 'Capability removed' },
|
||||
] as const)('should display $impact impact correctly', async ({ impact, label }) => {
|
||||
|
|
|
|||
|
|
@ -204,7 +204,7 @@ describe('MigrationRules', () => {
|
|||
expect(screen.getByText('5 Workflows')).toBeInTheDocument();
|
||||
|
||||
// Impact tag
|
||||
expect(screen.getByText('Executions fail')).toBeInTheDocument();
|
||||
expect(screen.getByText('Executions will fail')).toBeInTheDocument();
|
||||
|
||||
// Documentation link
|
||||
expect(screen.getAllByText('Documentation').length).toBeGreaterThan(0);
|
||||
|
|
@ -288,7 +288,7 @@ describe('MigrationRules', () => {
|
|||
expect(screen.getByText('Test Rule 1')).toBeInTheDocument();
|
||||
expect(screen.getByText('Test Rule 2')).toBeInTheDocument();
|
||||
expect(screen.getByText('Test Rule 3')).toBeInTheDocument();
|
||||
expect(screen.getByText('Executions fail')).toBeInTheDocument();
|
||||
expect(screen.getByText('Executions will fail')).toBeInTheDocument();
|
||||
expect(screen.getByText('Behavior changes')).toBeInTheDocument();
|
||||
expect(screen.getByText('Upgrade blocked')).toBeInTheDocument();
|
||||
expect(screen.getByText('Capability removed')).toBeInTheDocument();
|
||||
|
|
@ -766,7 +766,7 @@ describe('MigrationRules', () => {
|
|||
},
|
||||
{
|
||||
impact: 'executionsFail',
|
||||
label: 'Executions fail',
|
||||
label: 'Executions will fail',
|
||||
tooltipText: 'will fail',
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ const renderComponent = createComponentRenderer(ImpactTag);
|
|||
describe('ImpactTag', () => {
|
||||
it.each([
|
||||
{ impact: 'upgradeBlocked', label: 'Upgrade blocked', variant: 'danger' },
|
||||
{ impact: 'executionsFail', label: 'Executions fail', variant: 'danger' },
|
||||
{ impact: 'executionsFail', label: 'Executions will fail', variant: 'danger' },
|
||||
{ impact: 'behaviorChanges', label: 'Behavior changes', variant: 'warning' },
|
||||
{ impact: 'capabilityRemoved', label: 'Capability removed', variant: 'outline' },
|
||||
] as const)(
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user