mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
feat(editor): Add Production checklist for active workflows (#17756)
Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: Giulio Andreini <g.andreini@gmail.com>
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import { expect } from '@playwright/test';
|
||||
import type { Page } from '@playwright/test';
|
||||
|
||||
export const getActivationModal = (page: Page) => page.getByTestId('activation-modal');
|
||||
|
||||
export const closeActivationModal = async (page: Page) => {
|
||||
await expect(getActivationModal(page)).toBeVisible();
|
||||
|
||||
// click checkbox so it does not show again
|
||||
await getActivationModal(page).getByText("Don't show again").click();
|
||||
|
||||
// confirm modal
|
||||
await getActivationModal(page).getByRole('button', { name: 'Got it' }).click();
|
||||
};
|
||||
Reference in New Issue
Block a user