mirror of
https://github.com/n8n-io/n8n.git
synced 2026-05-31 08:46:58 +02:00
test(editor): Mock /api/whats-new request during E2E tests (no-changelog) (#16826)
This commit is contained in:
parent
0debbc3503
commit
5821abae17
|
|
@ -94,4 +94,16 @@ beforeEach(() => {
|
|||
description: 'Includes <strong>core functionality</strong> and <strong>bug fixes</strong>',
|
||||
},
|
||||
]).as('getVersions');
|
||||
cy.intercept(
|
||||
{ pathname: '/api/whats-new' },
|
||||
{
|
||||
id: 1,
|
||||
title: "What's new",
|
||||
calloutText: '',
|
||||
footer: '',
|
||||
createdAt: '2025-06-27T14:55:58.717Z',
|
||||
updatedAt: '2025-06-27T15:06:44.092Z',
|
||||
items: [],
|
||||
},
|
||||
).as('getWhatsNew');
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user