mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 07:06:06 +00:00
fix: sse causes “waitForLoadState(‘networkidle’)” timeout (#5524)
This commit is contained in:
parent
4d7553f479
commit
63cffd3d31
@ -64,7 +64,7 @@ test.describe('where filter block can be added', () => {
|
||||
|
||||
// filter
|
||||
await page.getByLabel('action-Action-Filter-submit-').click({ position: { x: 10, y: 10 } });
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
for (const record of newUserRecords) {
|
||||
await expect(page.getByLabel('block-item-CardItem-users-table').getByText(record.nickname)).toBeVisible({
|
||||
visible: record === newUserRecords[0],
|
||||
@ -82,7 +82,7 @@ test.describe('where filter block can be added', () => {
|
||||
|
||||
// reset
|
||||
await page.getByLabel('action-Action-Reset-users-').click({ position: { x: 10, y: 10 } });
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
for (const record of newUserRecords) {
|
||||
await expect(page.getByLabel('block-item-CardItem-users-table').getByText(record.nickname)).toBeVisible();
|
||||
await expect(page.getByLabel('block-item-CardItem-users-list').getByText(record.nickname)).toBeVisible();
|
||||
@ -123,7 +123,7 @@ test.describe('where filter block can be added', () => {
|
||||
.getByRole('textbox')
|
||||
.fill(usersRecords[0].roles[0].name);
|
||||
await page.getByLabel('action-Action-Filter-submit-').click({ position: { x: 10, y: 10 } });
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
|
||||
for (const record of usersRecords[0].roles) {
|
||||
await expect(page.getByLabel('block-item-CardItem-roles-details').getByText(record.name)).toBeVisible({
|
||||
@ -141,7 +141,7 @@ test.describe('where filter block can be added', () => {
|
||||
}
|
||||
|
||||
await page.getByLabel('action-Action-Reset-roles-').click({ position: { x: 10, y: 10 } });
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
for (const record of usersRecords[0].roles) {
|
||||
await expect(page.getByLabel('block-item-CardItem-roles-table').getByText(record.name)).toBeVisible();
|
||||
await expect(page.getByLabel('block-item-CardItem-roles-list').getByText(record.name)).toBeVisible();
|
||||
@ -172,7 +172,7 @@ test.describe('where filter block can be added', () => {
|
||||
|
||||
await page.getByLabel('block-item-CardItem-users-filter-form').getByRole('textbox').fill(usersRecords[0].nickname);
|
||||
await page.getByLabel('action-Action-Filter-submit-users-filter-form').click({ position: { x: 10, y: 10 } });
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
for (const record of usersRecords) {
|
||||
await expect(page.getByLabel('block-item-CardItem-users-details').getByText(record.nickname)).toBeVisible({
|
||||
visible: record === usersRecords[0],
|
||||
@ -194,7 +194,7 @@ test.describe('where filter block can be added', () => {
|
||||
}
|
||||
|
||||
await page.getByLabel('action-Action-Reset-users-').click({ position: { x: 10, y: 10 } });
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
for (const record of usersRecords) {
|
||||
await expect(
|
||||
page
|
||||
|
@ -20,7 +20,7 @@ test.describe('File manager', () => {
|
||||
|
||||
// 1、前置条件:1.1已登录;1.2存在一个文件管理器
|
||||
await page.goto('/admin/settings/file-manager');
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.getByRole('button', { name: 'plus Add new' }).hover();
|
||||
await page.getByRole('menuitem', { name: 'Local storage' }).click();
|
||||
|
||||
|
@ -29,7 +29,7 @@ test.describe('where map block can be added', () => {
|
||||
|
||||
// 2. 点击跳转按钮去配置页面,配置好后返回刚才的页面,应该能正常显示地图
|
||||
await page.getByRole('button', { name: 'Go to the configuration page' }).click();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.waitForTimeout(1000);
|
||||
if (await page.getByRole('button', { name: 'Edit' }).first().isVisible()) {
|
||||
await page.getByRole('button', { name: 'Edit' }).first().click();
|
||||
@ -49,7 +49,7 @@ test.describe('where map block can be added', () => {
|
||||
|
||||
// 4. 清空配置信息,以免影响其他测试用例
|
||||
await page.goto('/admin/settings/map');
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.waitForTimeout(1000);
|
||||
await page.getByRole('button', { name: 'Edit' }).first().click();
|
||||
await page.getByLabel('Access key').clear();
|
||||
|
@ -12,7 +12,7 @@ import { oneMapUsedToTestSettings } from './templates';
|
||||
|
||||
test.beforeEach(async ({ page }) => {
|
||||
await page.goto('/admin/settings/map');
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.waitForTimeout(1000);
|
||||
if (await page.getByRole('button', { name: 'Edit' }).first().isVisible()) {
|
||||
await page.getByRole('button', { name: 'Edit' }).first().click();
|
||||
@ -26,7 +26,7 @@ test.beforeEach(async ({ page }) => {
|
||||
|
||||
test.afterEach(async ({ page }) => {
|
||||
await page.goto('/admin/settings/map');
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.waitForTimeout(1000);
|
||||
await page.getByRole('button', { name: 'Edit' }).first().click();
|
||||
await page.getByLabel('Access key').clear();
|
||||
|
@ -69,10 +69,10 @@ test.describe('Configuration page copy to new version', () => {
|
||||
await page.waitForTimeout(1000);
|
||||
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.getByLabel('more').click();
|
||||
await page.getByLabel('revision').click();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
|
||||
// 3、预期结果:新版本工作流配置内容同旧版本一样
|
||||
const formEventTriggerNode = new FormEventTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
|
@ -54,7 +54,7 @@ test.describe('Configuration page to configure the Trigger node', () => {
|
||||
|
||||
//配置工作流触发器
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const formEventTriggerNode = new FormEventTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await formEventTriggerNode.nodeConfigure.click();
|
||||
await formEventTriggerNode.collectionDropDown.click();
|
||||
@ -65,7 +65,7 @@ test.describe('Configuration page to configure the Trigger node', () => {
|
||||
//配置录入数据区块
|
||||
const newPage = mockPage();
|
||||
await newPage.goto();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.getByLabel('schema-initializer-Grid-page:addBlock').hover();
|
||||
await page.getByRole('menuitem', { name: 'table Table' }).hover();
|
||||
const dataSourcesCount = await apiGetDataSourceCount();
|
||||
@ -111,7 +111,7 @@ test.describe('Configuration page to configure the Trigger node', () => {
|
||||
const fieldData = triggerNodeFieldDisplayName + dayjs().format('YYYYMMDDHHmmss.SSS').toString();
|
||||
await page.getByRole('textbox').fill(fieldData);
|
||||
await page.getByLabel(`action-Action-Submit-submit-${triggerNodeCollectionName}-form`, { exact: true }).click();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.waitForTimeout(1000);
|
||||
// 3、预期结果:触发次数为1
|
||||
const getWorkflow = await apiGetWorkflow(workflowId);
|
||||
@ -157,7 +157,7 @@ test.describe('Configuration page to configure the Trigger node', () => {
|
||||
|
||||
//配置工作流触发器
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const formEventTriggerNode = new FormEventTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await formEventTriggerNode.nodeConfigure.click();
|
||||
await formEventTriggerNode.collectionDropDown.click();
|
||||
@ -168,7 +168,7 @@ test.describe('Configuration page to configure the Trigger node', () => {
|
||||
//配置录入数据区块
|
||||
const newPage = mockPage();
|
||||
await newPage.goto();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.getByLabel('schema-initializer-Grid-page:addBlock').hover();
|
||||
await page.getByRole('menuitem', { name: 'table Table' }).hover();
|
||||
const dataSourcesCount = await apiGetDataSourceCount();
|
||||
@ -218,7 +218,7 @@ test.describe('Configuration page to configure the Trigger node', () => {
|
||||
await page
|
||||
.getByLabel(`action-Action-Submit to workflow-customize:triggerWorkflows-${triggerNodeCollectionName}-form`)
|
||||
.click();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.waitForTimeout(1000);
|
||||
// 3、预期结果:触发次数为1
|
||||
const getWorkflow = await apiGetWorkflow(workflowId);
|
||||
|
@ -51,13 +51,13 @@ test.describe('Configuration Page Path Jump Workflow Management Page', () => {
|
||||
|
||||
//配置工作流触发器
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
|
||||
// 2、测试步骤:跳转到工作流管理页面
|
||||
await page.getByRole('link', { name: 'Workflow' }).click();
|
||||
|
||||
// 3、预期结果:跳转路径正确
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
expect(page.url()).toBe(`${process.env.APP_BASE_URL}/admin/settings/workflow`);
|
||||
|
||||
// 4、后置处理:删除工作流
|
||||
@ -113,17 +113,17 @@ test.describe('Configuration Page Path Jump Workflow Management Page', () => {
|
||||
await page.waitForTimeout(1000);
|
||||
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.getByLabel('more').click();
|
||||
await page.getByLabel('revision').click();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
//元素重复
|
||||
await page.getByLabel('version', { exact: true }).click();
|
||||
await page.getByLabel('version-1').click();
|
||||
await page.getByRole('link', { name: 'Workflow' }).click();
|
||||
|
||||
// 3、预期结果:跳转路径正确
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
expect(page.url()).toBe(`${process.env.APP_BASE_URL}/admin/settings/workflow`);
|
||||
|
||||
// 4、后置处理:删除工作流
|
||||
@ -179,15 +179,15 @@ test.describe('Configuration Page Path Jump Workflow Management Page', () => {
|
||||
await page.waitForTimeout(1000);
|
||||
|
||||
await page.goto('/admin/settings/workflow');
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const workflowListRecords = new WorkflowListRecords(page, workFlowName);
|
||||
await workflowListRecords.executionCountPopup.click();
|
||||
await page.getByText('View').click();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.getByRole('link', { name: 'Workflow', exact: true }).click();
|
||||
|
||||
// 3、预期结果:跳转路径正确
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
expect(page.url()).toBe(`${process.env.APP_BASE_URL}/admin/settings/workflow`);
|
||||
|
||||
// 4、后置处理:删除工作流
|
||||
@ -242,14 +242,14 @@ test.describe('Configuration Page Path Jump Workflow Management Page', () => {
|
||||
await page.waitForTimeout(1000);
|
||||
|
||||
await page.goto('/admin/settings/workflow');
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const workflowListRecords = new WorkflowListRecords(page, workFlowName);
|
||||
await workflowListRecords.executionCountPopup.click();
|
||||
await page.getByText('View').click();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
//跳转其他执行日志界面,元素无法定位
|
||||
// 3、预期结果:跳转路径正确
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
// expect(page.url()).toBe(`${process.env.APP_BASE_URL}/admin/settings/workflow`);
|
||||
// 4、后置处理:删除工作流
|
||||
await apiDeleteWorkflow(workflowId);
|
||||
|
@ -75,7 +75,7 @@ test.describe('Configuration page disable enable', () => {
|
||||
expect(getWorkflowExecuted).toBe(0);
|
||||
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.getByRole('switch', { name: 'On Off' }).click();
|
||||
|
||||
await apiCreateRecordTriggerFormEvent(triggerNodeCollectionName, triggerWorkflows, {
|
||||
@ -146,7 +146,7 @@ test.describe('Configuration page disable enable', () => {
|
||||
expect(getWorkflowExecuted).toBe(1);
|
||||
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.getByRole('switch', { name: 'On Off' }).click();
|
||||
|
||||
await apiCreateRecordTriggerFormEvent(triggerNodeCollectionName, triggerWorkflows, {
|
||||
|
@ -42,7 +42,7 @@ test.describe('Filter', () => {
|
||||
|
||||
// 2、筛选工作流
|
||||
await page.goto('/admin/settings/workflow');
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.getByLabel('action-Filter.Action-Filter-filter-workflows').click();
|
||||
await page.getByRole('textbox').fill(workFlowName);
|
||||
await page.getByRole('button', { name: 'Submit' }).click();
|
||||
@ -59,7 +59,7 @@ test.describe('Add new', () => {
|
||||
test('add new Action event', async ({ page }) => {
|
||||
// 添加工作流
|
||||
await page.goto('/admin/settings/workflow');
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.getByLabel('action-Action-Add new-workflows').click();
|
||||
const createWorkFlow = new CreateWorkFlow(page);
|
||||
const workFlowName = faker.string.alphanumeric(5);
|
||||
@ -101,7 +101,7 @@ test.describe('Delete', () => {
|
||||
|
||||
// 删除工作流
|
||||
await page.goto('/admin/settings/workflow');
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.getByLabel('action-Filter.Action-Filter-filter-workflows').click();
|
||||
await page.getByRole('textbox').fill(workFlowName);
|
||||
await page.getByRole('button', { name: 'Submit' }).click();
|
||||
@ -133,13 +133,13 @@ test.describe('Edit', () => {
|
||||
|
||||
// 编辑工作流
|
||||
await page.goto('/admin/settings/workflow');
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.getByLabel(`action-Action.Link-Edit-workflows-${workFlowName}`).click();
|
||||
const editWorkFlow = new EditWorkFlow(page, workFlowName);
|
||||
workFlowName = faker.string.alphanumeric(5) + triggerNodeAppendText;
|
||||
await editWorkFlow.name.fill(workFlowName);
|
||||
await page.getByLabel('action-Action-Submit-workflows').click();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
// 3、预期结果:编辑成功,列表中出现编辑后的工作流
|
||||
await expect(page.getByText(workFlowName)).toBeAttached();
|
||||
|
||||
@ -166,10 +166,10 @@ test.describe('Duplicate', () => {
|
||||
|
||||
// 2、复制工作流
|
||||
await page.goto('/admin/settings/workflow');
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.getByLabel(`action-Action.Link-Duplicate-workflows-${workFlowName}`).click();
|
||||
await page.getByLabel(`action-Action-Submit-workflows-${workFlowName}`).click();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
// 3、预期结果:列表中出现筛选的工作流
|
||||
await page.getByLabel('action-Filter.Action-Filter-filter-workflows').click();
|
||||
await page.getByRole('textbox').fill(workFlowName);
|
||||
|
@ -79,7 +79,7 @@ test.describe('filter', () => {
|
||||
|
||||
//配置聚合数据节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'aggregate', exact: true }).click();
|
||||
@ -185,7 +185,7 @@ test.describe('filter', () => {
|
||||
|
||||
//配置聚合数据节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'aggregate', exact: true }).click();
|
||||
@ -296,7 +296,7 @@ test.describe('filter', () => {
|
||||
const triggerNodeObj = JSON.parse(JSON.stringify(triggerNode));
|
||||
//配置聚合数据节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'aggregate', exact: true }).click();
|
||||
@ -412,7 +412,7 @@ test.describe('filter', () => {
|
||||
|
||||
//配置聚合数据节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'aggregate', exact: true }).click();
|
||||
@ -524,7 +524,7 @@ test.describe('filter', () => {
|
||||
|
||||
//配置聚合数据节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'aggregate', exact: true }).click();
|
||||
@ -636,7 +636,7 @@ test.describe('filter', () => {
|
||||
|
||||
//配置聚合数据节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'aggregate', exact: true }).click();
|
||||
@ -743,7 +743,7 @@ test.describe('filter', () => {
|
||||
|
||||
//配置聚合数据节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'aggregate', exact: true }).click();
|
||||
@ -859,7 +859,7 @@ test.describe('filter', () => {
|
||||
const triggerNodeObj = JSON.parse(JSON.stringify(triggerNode));
|
||||
//配置聚合数据节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'aggregate', exact: true }).click();
|
||||
@ -984,7 +984,7 @@ test.describe('filter', () => {
|
||||
|
||||
//配置聚合数据节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'aggregate', exact: true }).click();
|
||||
@ -1097,7 +1097,7 @@ test.describe('filter', () => {
|
||||
|
||||
//配置聚合数据节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'aggregate', exact: true }).click();
|
||||
|
@ -80,7 +80,7 @@ test.describe('no filter', () => {
|
||||
|
||||
//配置聚合数据节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'aggregate', exact: true }).click();
|
||||
@ -179,7 +179,7 @@ test.describe('no filter', () => {
|
||||
|
||||
//配置聚合数据节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'aggregate', exact: true }).click();
|
||||
@ -282,7 +282,7 @@ test.describe('no filter', () => {
|
||||
const triggerNodeObj = JSON.parse(JSON.stringify(triggerNode));
|
||||
//配置聚合数据节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'aggregate', exact: true }).click();
|
||||
@ -387,7 +387,7 @@ test.describe('no filter', () => {
|
||||
|
||||
//配置聚合数据节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'aggregate', exact: true }).click();
|
||||
@ -491,7 +491,7 @@ test.describe('no filter', () => {
|
||||
|
||||
//配置聚合数据节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'aggregate', exact: true }).click();
|
||||
@ -595,7 +595,7 @@ test.describe('no filter', () => {
|
||||
|
||||
//配置聚合数据节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'aggregate', exact: true }).click();
|
||||
@ -695,7 +695,7 @@ test.describe('no filter', () => {
|
||||
|
||||
//配置聚合数据节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'aggregate', exact: true }).click();
|
||||
@ -801,7 +801,7 @@ test.describe('no filter', () => {
|
||||
const triggerNodeObj = JSON.parse(JSON.stringify(triggerNode));
|
||||
//配置聚合数据节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'aggregate', exact: true }).click();
|
||||
@ -909,7 +909,7 @@ test.describe('no filter', () => {
|
||||
|
||||
//配置聚合数据节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'aggregate', exact: true }).click();
|
||||
@ -1014,7 +1014,7 @@ test.describe('no filter', () => {
|
||||
|
||||
//配置聚合数据节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'aggregate', exact: true }).click();
|
||||
|
@ -73,7 +73,7 @@ test.describe('field data entry', () => {
|
||||
const triggerNodeObj = JSON.parse(JSON.stringify(triggerNode));
|
||||
//配置Manual节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'manual', exact: true }).click();
|
||||
@ -108,7 +108,7 @@ test.describe('field data entry', () => {
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
await page.mouse.click(300, 0);
|
||||
await manualNode.submitButton.click();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
|
||||
// 2、测试步骤:添加数据触发工作流
|
||||
const triggerNodeCollectionRecordOne =
|
||||
@ -125,7 +125,7 @@ test.describe('field data entry', () => {
|
||||
|
||||
const newPage = mockPage();
|
||||
await newPage.goto();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.getByLabel('schema-initializer-Grid-page:addBlock').hover();
|
||||
await page.getByRole('menuitem', { name: 'check-square Workflow todos' }).click();
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
@ -213,7 +213,7 @@ test.describe('field data entry', () => {
|
||||
const triggerNodeObj = JSON.parse(JSON.stringify(triggerNode));
|
||||
//配置Manual节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'manual', exact: true }).click();
|
||||
@ -248,7 +248,7 @@ test.describe('field data entry', () => {
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
await page.mouse.click(300, 0);
|
||||
await manualNode.submitButton.click();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
|
||||
// 2、测试步骤:添加数据触发工作流
|
||||
const triggerNodeCollectionRecordOne =
|
||||
@ -265,7 +265,7 @@ test.describe('field data entry', () => {
|
||||
|
||||
const newPage = mockPage();
|
||||
await newPage.goto();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.getByLabel('schema-initializer-Grid-page:addBlock').hover();
|
||||
await page.getByRole('menuitem', { name: 'check-square Workflow todos' }).click();
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
@ -352,7 +352,7 @@ test.describe('field data entry', () => {
|
||||
const triggerNodeObj = JSON.parse(JSON.stringify(triggerNode));
|
||||
//配置Manual节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'manual', exact: true }).click();
|
||||
@ -387,7 +387,7 @@ test.describe('field data entry', () => {
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
await page.mouse.click(300, 0);
|
||||
await manualNode.submitButton.click();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
|
||||
// 2、测试步骤:添加数据触发工作流
|
||||
const triggerNodeCollectionRecordOne =
|
||||
@ -404,7 +404,7 @@ test.describe('field data entry', () => {
|
||||
|
||||
const newPage = mockPage();
|
||||
await newPage.goto();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.getByLabel('schema-initializer-Grid-page:addBlock').hover();
|
||||
await page.getByRole('menuitem', { name: 'check-square Workflow todos' }).click();
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
|
@ -73,7 +73,7 @@ test.describe('action button', () => {
|
||||
const triggerNodeObj = JSON.parse(JSON.stringify(triggerNode));
|
||||
//配置Manual节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'manual', exact: true }).click();
|
||||
@ -108,7 +108,7 @@ test.describe('action button', () => {
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
await page.mouse.click(300, 0);
|
||||
await manualNode.submitButton.click();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
|
||||
// 2、测试步骤:添加数据触发工作流
|
||||
const triggerNodeCollectionRecordOne =
|
||||
@ -125,7 +125,7 @@ test.describe('action button', () => {
|
||||
|
||||
const newPage = mockPage();
|
||||
await newPage.goto();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.getByLabel('schema-initializer-Grid-page:addBlock').hover();
|
||||
await page.getByRole('menuitem', { name: 'check-square Workflow todos' }).click();
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
@ -212,7 +212,7 @@ test.describe('action button', () => {
|
||||
const triggerNodeObj = JSON.parse(JSON.stringify(triggerNode));
|
||||
//配置Manual节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'manual', exact: true }).click();
|
||||
@ -253,7 +253,7 @@ test.describe('action button', () => {
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
await page.mouse.click(300, 0);
|
||||
await manualNode.submitButton.click();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
|
||||
// 2、测试步骤:添加数据触发工作流
|
||||
const triggerNodeCollectionRecordOne =
|
||||
@ -270,7 +270,7 @@ test.describe('action button', () => {
|
||||
|
||||
const newPage = mockPage();
|
||||
await newPage.goto();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.getByLabel('schema-initializer-Grid-page:addBlock').hover();
|
||||
await page.getByRole('menuitem', { name: 'check-square Workflow todos' }).click();
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
@ -357,7 +357,7 @@ test.describe('action button', () => {
|
||||
const triggerNodeObj = JSON.parse(JSON.stringify(triggerNode));
|
||||
//配置Manual节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'manual', exact: true }).click();
|
||||
@ -398,7 +398,7 @@ test.describe('action button', () => {
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
await page.mouse.click(300, 0);
|
||||
await manualNode.submitButton.click();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
|
||||
// 2、测试步骤:添加数据触发工作流
|
||||
const triggerNodeCollectionRecordOne =
|
||||
@ -415,7 +415,7 @@ test.describe('action button', () => {
|
||||
|
||||
const newPage = mockPage();
|
||||
await newPage.goto();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.getByLabel('schema-initializer-Grid-page:addBlock').hover();
|
||||
await page.getByRole('menuitem', { name: 'check-square Workflow todos' }).click();
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
|
@ -73,7 +73,7 @@ test.describe('field data entry', () => {
|
||||
const triggerNodeObj = JSON.parse(JSON.stringify(triggerNode));
|
||||
//配置Manual节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'manual', exact: true }).click();
|
||||
@ -108,7 +108,7 @@ test.describe('field data entry', () => {
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
await page.mouse.click(300, 0);
|
||||
await manualNode.submitButton.click();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
|
||||
// 2、测试步骤:添加数据触发工作流
|
||||
const triggerNodeCollectionRecordOne =
|
||||
@ -125,7 +125,7 @@ test.describe('field data entry', () => {
|
||||
|
||||
const newPage = mockPage();
|
||||
await newPage.goto();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.getByLabel('schema-initializer-Grid-page:addBlock').hover();
|
||||
await page.getByRole('menuitem', { name: 'check-square Workflow todos' }).click();
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
@ -220,7 +220,7 @@ test.describe('field data entry', () => {
|
||||
const triggerNodeObj = JSON.parse(JSON.stringify(triggerNode));
|
||||
//配置Manual节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'manual', exact: true }).click();
|
||||
@ -255,7 +255,7 @@ test.describe('field data entry', () => {
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
await page.mouse.click(300, 0);
|
||||
await manualNode.submitButton.click();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
|
||||
// 2、测试步骤:添加数据触发工作流
|
||||
const triggerNodeCollectionRecordOne =
|
||||
@ -272,7 +272,7 @@ test.describe('field data entry', () => {
|
||||
|
||||
const newPage = mockPage();
|
||||
await newPage.goto();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.getByLabel('schema-initializer-Grid-page:addBlock').hover();
|
||||
await page.getByRole('menuitem', { name: 'check-square Workflow todos' }).click();
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
@ -358,7 +358,7 @@ test.describe('field data entry', () => {
|
||||
const triggerNodeObj = JSON.parse(JSON.stringify(triggerNode));
|
||||
//配置Manual节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'manual', exact: true }).click();
|
||||
@ -393,7 +393,7 @@ test.describe('field data entry', () => {
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
await page.mouse.click(300, 0);
|
||||
await manualNode.submitButton.click();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
|
||||
// 2、测试步骤:添加数据触发工作流
|
||||
const triggerNodeCollectionRecordOne =
|
||||
@ -410,7 +410,7 @@ test.describe('field data entry', () => {
|
||||
|
||||
const newPage = mockPage();
|
||||
await newPage.goto();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.getByLabel('schema-initializer-Grid-page:addBlock').hover();
|
||||
await page.getByRole('menuitem', { name: 'check-square Workflow todos' }).click();
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
@ -503,7 +503,7 @@ test.describe('field data entry', () => {
|
||||
const triggerNodeObj = JSON.parse(JSON.stringify(triggerNode));
|
||||
//配置Manual节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'manual', exact: true }).click();
|
||||
@ -538,7 +538,7 @@ test.describe('field data entry', () => {
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
await page.mouse.click(300, 0);
|
||||
await manualNode.submitButton.click();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
|
||||
// 2、测试步骤:添加数据触发工作流
|
||||
const triggerNodeCollectionRecordOne =
|
||||
@ -555,7 +555,7 @@ test.describe('field data entry', () => {
|
||||
|
||||
const newPage = mockPage();
|
||||
await newPage.goto();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.getByLabel('schema-initializer-Grid-page:addBlock').hover();
|
||||
await page.getByRole('menuitem', { name: 'check-square Workflow todos' }).click();
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
|
@ -73,7 +73,7 @@ test.describe('field data entry', () => {
|
||||
const triggerNodeObj = JSON.parse(JSON.stringify(triggerNode));
|
||||
//配置Manual节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'manual', exact: true }).click();
|
||||
@ -108,7 +108,7 @@ test.describe('field data entry', () => {
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
await page.mouse.click(300, 0);
|
||||
await manualNode.submitButton.click();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
|
||||
// 2、测试步骤:添加数据触发工作流
|
||||
const triggerNodeCollectionRecordOne =
|
||||
@ -125,7 +125,7 @@ test.describe('field data entry', () => {
|
||||
|
||||
const newPage = mockPage();
|
||||
await newPage.goto();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.getByLabel('schema-initializer-Grid-page:addBlock').hover();
|
||||
await page.getByRole('menuitem', { name: 'check-square Workflow todos' }).click();
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
@ -212,7 +212,7 @@ test.describe('field data entry', () => {
|
||||
const triggerNodeObj = JSON.parse(JSON.stringify(triggerNode));
|
||||
//配置Manual节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'manual', exact: true }).click();
|
||||
@ -247,7 +247,7 @@ test.describe('field data entry', () => {
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
await page.mouse.click(300, 0);
|
||||
await manualNode.submitButton.click();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
|
||||
// 2、测试步骤:添加数据触发工作流
|
||||
const triggerNodeCollectionRecordOne =
|
||||
@ -264,7 +264,7 @@ test.describe('field data entry', () => {
|
||||
|
||||
const newPage = mockPage();
|
||||
await newPage.goto();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.getByLabel('schema-initializer-Grid-page:addBlock').hover();
|
||||
await page.getByRole('menuitem', { name: 'check-square Workflow todos' }).click();
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
@ -351,7 +351,7 @@ test.describe('field data entry', () => {
|
||||
const triggerNodeObj = JSON.parse(JSON.stringify(triggerNode));
|
||||
//配置Manual节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'manual', exact: true }).click();
|
||||
@ -386,7 +386,7 @@ test.describe('field data entry', () => {
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
await page.mouse.click(300, 0);
|
||||
await manualNode.submitButton.click();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
|
||||
// 2、测试步骤:添加数据触发工作流
|
||||
const triggerNodeCollectionRecordOne =
|
||||
@ -403,7 +403,7 @@ test.describe('field data entry', () => {
|
||||
|
||||
const newPage = mockPage();
|
||||
await newPage.goto();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.getByLabel('schema-initializer-Grid-page:addBlock').hover();
|
||||
await page.getByRole('menuitem', { name: 'check-square Workflow todos' }).click();
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
|
@ -73,7 +73,7 @@ test.describe('field data entry', () => {
|
||||
const triggerNodeObj = JSON.parse(JSON.stringify(triggerNode));
|
||||
//配置Manual节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'manual', exact: true }).click();
|
||||
@ -108,7 +108,7 @@ test.describe('field data entry', () => {
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
await page.mouse.click(300, 0);
|
||||
await manualNode.submitButton.click();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
|
||||
// 2、测试步骤:添加数据触发工作流
|
||||
const triggerNodeCollectionRecordOne =
|
||||
@ -125,7 +125,7 @@ test.describe('field data entry', () => {
|
||||
|
||||
const newPage = mockPage();
|
||||
await newPage.goto();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.getByLabel('schema-initializer-Grid-page:addBlock').hover();
|
||||
await page.getByRole('menuitem', { name: 'check-square Workflow todos' }).click();
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
@ -212,7 +212,7 @@ test.describe('field data entry', () => {
|
||||
const triggerNodeObj = JSON.parse(JSON.stringify(triggerNode));
|
||||
//配置Manual节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'manual', exact: true }).click();
|
||||
@ -247,7 +247,7 @@ test.describe('field data entry', () => {
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
await page.mouse.click(300, 0);
|
||||
await manualNode.submitButton.click();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
|
||||
// 2、测试步骤:添加数据触发工作流
|
||||
const triggerNodeCollectionRecordOne =
|
||||
@ -264,7 +264,7 @@ test.describe('field data entry', () => {
|
||||
|
||||
const newPage = mockPage();
|
||||
await newPage.goto();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.getByLabel('schema-initializer-Grid-page:addBlock').hover();
|
||||
await page.getByRole('menuitem', { name: 'check-square Workflow todos' }).click();
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
@ -351,7 +351,7 @@ test.describe('field data entry', () => {
|
||||
const triggerNodeObj = JSON.parse(JSON.stringify(triggerNode));
|
||||
//配置Manual节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'manual', exact: true }).click();
|
||||
@ -386,7 +386,7 @@ test.describe('field data entry', () => {
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
await page.mouse.click(300, 0);
|
||||
await manualNode.submitButton.click();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
|
||||
// 2、测试步骤:添加数据触发工作流
|
||||
const triggerNodeCollectionRecordOne =
|
||||
@ -403,7 +403,7 @@ test.describe('field data entry', () => {
|
||||
|
||||
const newPage = mockPage();
|
||||
await newPage.goto();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.getByLabel('schema-initializer-Grid-page:addBlock').hover();
|
||||
await page.getByRole('menuitem', { name: 'check-square Workflow todos' }).click();
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
|
@ -75,7 +75,7 @@ test.describe('field data entry', () => {
|
||||
const triggerNodeObj = JSON.parse(JSON.stringify(triggerNode));
|
||||
//配置Manual节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'manual', exact: true }).click();
|
||||
@ -118,7 +118,7 @@ test.describe('field data entry', () => {
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
await page.mouse.click(300, 0);
|
||||
await manualNode.submitButton.click();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
|
||||
// 2、测试步骤:添加数据触发工作流
|
||||
const triggerNodeCollectionRecordOne =
|
||||
@ -135,7 +135,7 @@ test.describe('field data entry', () => {
|
||||
|
||||
const newPage = mockPage();
|
||||
await newPage.goto();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.getByLabel('schema-initializer-Grid-page:addBlock').hover();
|
||||
await page.getByRole('menuitem', { name: 'check-square Workflow todos' }).click();
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
@ -218,7 +218,7 @@ test.describe('field data entry', () => {
|
||||
const triggerNodeObj = JSON.parse(JSON.stringify(triggerNode));
|
||||
//配置Manual节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'manual', exact: true }).click();
|
||||
@ -261,7 +261,7 @@ test.describe('field data entry', () => {
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
await page.mouse.click(300, 0);
|
||||
await manualNode.submitButton.click();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
|
||||
// 2、测试步骤:添加数据触发工作流
|
||||
const triggerNodeCollectionRecordOne =
|
||||
@ -278,7 +278,7 @@ test.describe('field data entry', () => {
|
||||
|
||||
const newPage = mockPage();
|
||||
await newPage.goto();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.getByLabel('schema-initializer-Grid-page:addBlock').hover();
|
||||
await page.getByRole('menuitem', { name: 'check-square Workflow todos' }).click();
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
@ -361,7 +361,7 @@ test.describe('field data entry', () => {
|
||||
const triggerNodeObj = JSON.parse(JSON.stringify(triggerNode));
|
||||
//配置Manual节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'manual', exact: true }).click();
|
||||
@ -410,7 +410,7 @@ test.describe('field data entry', () => {
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
await page.mouse.click(300, 0);
|
||||
await manualNode.submitButton.click();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
|
||||
// 2、测试步骤:添加数据触发工作流
|
||||
const triggerNodeCollectionRecordOne =
|
||||
@ -427,7 +427,7 @@ test.describe('field data entry', () => {
|
||||
|
||||
const newPage = mockPage();
|
||||
await newPage.goto();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.getByLabel('schema-initializer-Grid-page:addBlock').hover();
|
||||
await page.getByRole('menuitem', { name: 'check-square Workflow todos' }).click();
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
|
@ -71,7 +71,7 @@ test.describe('field data entry', () => {
|
||||
const triggerNodeObj = JSON.parse(JSON.stringify(triggerNode));
|
||||
//配置Manual节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'manual', exact: true }).click();
|
||||
@ -120,7 +120,7 @@ test.describe('field data entry', () => {
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
await page.mouse.click(300, 0);
|
||||
await manualNode.submitButton.click();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
|
||||
// 2、测试步骤:添加数据触发工作流
|
||||
const triggerNodeCollectionRecordOne =
|
||||
@ -137,7 +137,7 @@ test.describe('field data entry', () => {
|
||||
|
||||
const newPage = mockPage();
|
||||
await newPage.goto();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.getByLabel('schema-initializer-Grid-page:addBlock').hover();
|
||||
await page.getByRole('menuitem', { name: 'check-square Workflow todos' }).click();
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
@ -228,7 +228,7 @@ test.describe('field data entry', () => {
|
||||
const triggerNodeObj = JSON.parse(JSON.stringify(triggerNode));
|
||||
//配置Manual节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'manual', exact: true }).click();
|
||||
@ -277,7 +277,7 @@ test.describe('field data entry', () => {
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
await page.mouse.click(300, 0);
|
||||
await manualNode.submitButton.click();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
|
||||
// 2、测试步骤:添加数据触发工作流
|
||||
const triggerNodeCollectionRecordOne =
|
||||
@ -294,7 +294,7 @@ test.describe('field data entry', () => {
|
||||
|
||||
const newPage = mockPage();
|
||||
await newPage.goto();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.getByLabel('schema-initializer-Grid-page:addBlock').hover();
|
||||
await page.getByRole('menuitem', { name: 'check-square Workflow todos' }).click();
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
@ -377,7 +377,7 @@ test.describe('field data entry', () => {
|
||||
const triggerNodeObj = JSON.parse(JSON.stringify(triggerNode));
|
||||
//配置Manual节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'manual', exact: true }).click();
|
||||
@ -426,7 +426,7 @@ test.describe('field data entry', () => {
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
await page.mouse.click(300, 0);
|
||||
await manualNode.submitButton.click();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
|
||||
// 2、测试步骤:添加数据触发工作流
|
||||
const triggerNodeCollectionRecordOne =
|
||||
@ -443,7 +443,7 @@ test.describe('field data entry', () => {
|
||||
|
||||
const newPage = mockPage();
|
||||
await newPage.goto();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.getByLabel('schema-initializer-Grid-page:addBlock').hover();
|
||||
await page.getByRole('menuitem', { name: 'check-square Workflow todos' }).click();
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
@ -532,7 +532,7 @@ test.describe('field data entry', () => {
|
||||
const triggerNodeObj = JSON.parse(JSON.stringify(triggerNode));
|
||||
//配置Manual节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'manual', exact: true }).click();
|
||||
@ -575,7 +575,7 @@ test.describe('field data entry', () => {
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
await page.mouse.click(300, 0);
|
||||
await manualNode.submitButton.click();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
|
||||
// 2、测试步骤:添加数据触发工作流
|
||||
const triggerNodeCollectionRecordOne =
|
||||
@ -592,7 +592,7 @@ test.describe('field data entry', () => {
|
||||
|
||||
const newPage = mockPage();
|
||||
await newPage.goto();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.getByLabel('schema-initializer-Grid-page:addBlock').hover();
|
||||
await page.getByRole('menuitem', { name: 'check-square Workflow todos' }).click();
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
|
@ -71,7 +71,7 @@ test.describe('field data entry', () => {
|
||||
const triggerNodeObj = JSON.parse(JSON.stringify(triggerNode));
|
||||
//配置Manual节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'manual', exact: true }).click();
|
||||
@ -114,7 +114,7 @@ test.describe('field data entry', () => {
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
await page.mouse.click(300, 0);
|
||||
await manualNode.submitButton.click();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
|
||||
// 2、测试步骤:添加数据触发工作流
|
||||
const triggerNodeCollectionRecordOne =
|
||||
@ -131,7 +131,7 @@ test.describe('field data entry', () => {
|
||||
|
||||
const newPage = mockPage();
|
||||
await newPage.goto();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.getByLabel('schema-initializer-Grid-page:addBlock').hover();
|
||||
await page.getByRole('menuitem', { name: 'check-square Workflow todos' }).click();
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
@ -214,7 +214,7 @@ test.describe('field data entry', () => {
|
||||
const triggerNodeObj = JSON.parse(JSON.stringify(triggerNode));
|
||||
//配置Manual节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'manual', exact: true }).click();
|
||||
@ -257,7 +257,7 @@ test.describe('field data entry', () => {
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
await page.mouse.click(300, 0);
|
||||
await manualNode.submitButton.click();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
|
||||
// 2、测试步骤:添加数据触发工作流
|
||||
const triggerNodeCollectionRecordOne =
|
||||
@ -274,7 +274,7 @@ test.describe('field data entry', () => {
|
||||
|
||||
const newPage = mockPage();
|
||||
await newPage.goto();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.getByLabel('schema-initializer-Grid-page:addBlock').hover();
|
||||
await page.getByRole('menuitem', { name: 'check-square Workflow todos' }).click();
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
@ -357,7 +357,7 @@ test.describe('field data entry', () => {
|
||||
const triggerNodeObj = JSON.parse(JSON.stringify(triggerNode));
|
||||
//配置Manual节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'manual', exact: true }).click();
|
||||
@ -400,7 +400,7 @@ test.describe('field data entry', () => {
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
await page.mouse.click(300, 0);
|
||||
await manualNode.submitButton.click();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
|
||||
// 2、测试步骤:添加数据触发工作流
|
||||
const triggerNodeCollectionRecordOne =
|
||||
@ -417,7 +417,7 @@ test.describe('field data entry', () => {
|
||||
|
||||
const newPage = mockPage();
|
||||
await newPage.goto();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.getByLabel('schema-initializer-Grid-page:addBlock').hover();
|
||||
await page.getByRole('menuitem', { name: 'check-square Workflow todos' }).click();
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
|
@ -71,7 +71,7 @@ test.describe('field data entry', () => {
|
||||
const triggerNodeObj = JSON.parse(JSON.stringify(triggerNode));
|
||||
//配置Manual节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'manual', exact: true }).click();
|
||||
@ -114,7 +114,7 @@ test.describe('field data entry', () => {
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
await page.mouse.click(300, 0);
|
||||
await manualNode.submitButton.click();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
|
||||
// 2、测试步骤:添加数据触发工作流
|
||||
const triggerNodeCollectionRecordOne =
|
||||
@ -131,7 +131,7 @@ test.describe('field data entry', () => {
|
||||
|
||||
const newPage = mockPage();
|
||||
await newPage.goto();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.getByLabel('schema-initializer-Grid-page:addBlock').hover();
|
||||
await page.getByRole('menuitem', { name: 'check-square Workflow todos' }).click();
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
@ -214,7 +214,7 @@ test.describe('field data entry', () => {
|
||||
const triggerNodeObj = JSON.parse(JSON.stringify(triggerNode));
|
||||
//配置Manual节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'manual', exact: true }).click();
|
||||
@ -257,7 +257,7 @@ test.describe('field data entry', () => {
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
await page.mouse.click(300, 0);
|
||||
await manualNode.submitButton.click();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
|
||||
// 2、测试步骤:添加数据触发工作流
|
||||
const triggerNodeCollectionRecordOne =
|
||||
@ -274,7 +274,7 @@ test.describe('field data entry', () => {
|
||||
|
||||
const newPage = mockPage();
|
||||
await newPage.goto();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.getByLabel('schema-initializer-Grid-page:addBlock').hover();
|
||||
await page.getByRole('menuitem', { name: 'check-square Workflow todos' }).click();
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
@ -357,7 +357,7 @@ test.describe('field data entry', () => {
|
||||
const triggerNodeObj = JSON.parse(JSON.stringify(triggerNode));
|
||||
//配置Manual节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'manual', exact: true }).click();
|
||||
@ -400,7 +400,7 @@ test.describe('field data entry', () => {
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
await page.mouse.click(300, 0);
|
||||
await manualNode.submitButton.click();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
|
||||
// 2、测试步骤:添加数据触发工作流
|
||||
const triggerNodeCollectionRecordOne =
|
||||
@ -417,7 +417,7 @@ test.describe('field data entry', () => {
|
||||
|
||||
const newPage = mockPage();
|
||||
await newPage.goto();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.getByLabel('schema-initializer-Grid-page:addBlock').hover();
|
||||
await page.getByRole('menuitem', { name: 'check-square Workflow todos' }).click();
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
|
@ -103,7 +103,7 @@ test.describe('field data', () => {
|
||||
|
||||
//配置Manual节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const preCreateRecordNodePom = new CreateRecordNode(page, preCreateRecordNodeTitle);
|
||||
await preCreateRecordNodePom.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'manual', exact: true }).click();
|
||||
@ -140,7 +140,7 @@ test.describe('field data', () => {
|
||||
|
||||
const newPage = mockPage();
|
||||
await newPage.goto();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.getByLabel('schema-initializer-Grid-page:addBlock').hover();
|
||||
await page.getByRole('menuitem', { name: 'check-square Workflow todos' }).click();
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
@ -265,7 +265,7 @@ test.describe('field data', () => {
|
||||
|
||||
//配置Manual节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const preAggregateNodePom = new AggregateNode(page, preAggregateNodeTitle);
|
||||
await preAggregateNodePom.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'manual', exact: true }).click();
|
||||
@ -300,7 +300,7 @@ test.describe('field data', () => {
|
||||
|
||||
const newPage = mockPage();
|
||||
await newPage.goto();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.getByLabel('schema-initializer-Grid-page:addBlock').hover();
|
||||
await page.getByRole('menuitem', { name: 'check-square Workflow todos' }).click();
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
|
@ -96,7 +96,7 @@ test.describe('field data', () => {
|
||||
const preAggregateNodeKey = getAggregateNode.key;
|
||||
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const preManualNodePom = new ManualNode(page, preManualNodeTitle);
|
||||
await preManualNodePom.nodeConfigure.click();
|
||||
await preManualNodePom.configureUserInterfaceButton.click();
|
||||
@ -131,7 +131,7 @@ test.describe('field data', () => {
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
await page.mouse.click(300, 0);
|
||||
await preManualNodePom.submitButton.click();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
//配置Manual节点
|
||||
await preManualNodePom.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'manual', exact: true }).click();
|
||||
@ -169,7 +169,7 @@ test.describe('field data', () => {
|
||||
|
||||
const newPage = mockPage();
|
||||
await newPage.goto();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.getByLabel('schema-initializer-Grid-page:addBlock').hover();
|
||||
await page.getByRole('menuitem', { name: 'check-square Workflow todos' }).click();
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
@ -270,7 +270,7 @@ test.describe('field data', () => {
|
||||
const preAggregateNodeKey = getAggregateNode.key;
|
||||
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const preManualNodePom = new ManualNode(page, preManualNodeTitle);
|
||||
await preManualNodePom.nodeConfigure.click();
|
||||
await preManualNodePom.configureUserInterfaceButton.click();
|
||||
@ -295,7 +295,7 @@ test.describe('field data', () => {
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
await page.mouse.click(300, 0);
|
||||
await preManualNodePom.submitButton.click();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
//配置Manual节点
|
||||
await preManualNodePom.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'manual', exact: true }).click();
|
||||
@ -333,7 +333,7 @@ test.describe('field data', () => {
|
||||
|
||||
const newPage = mockPage();
|
||||
await newPage.goto();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.getByLabel('schema-initializer-Grid-page:addBlock').hover();
|
||||
await page.getByRole('menuitem', { name: 'check-square Workflow todos' }).click();
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
@ -470,7 +470,7 @@ test.describe('field data', () => {
|
||||
const preAggregateNodeKey = getAggregateNode.key;
|
||||
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const preManualNodePom = new ManualNode(page, preManualNodeTitle);
|
||||
await preManualNodePom.nodeConfigure.click();
|
||||
await preManualNodePom.configureUserInterfaceButton.click();
|
||||
@ -508,7 +508,7 @@ test.describe('field data', () => {
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
await page.mouse.click(300, 0);
|
||||
await preManualNodePom.submitButton.click();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
//配置Manual节点
|
||||
await preManualNodePom.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'manual', exact: true }).click();
|
||||
@ -546,7 +546,7 @@ test.describe('field data', () => {
|
||||
|
||||
const newPage = mockPage();
|
||||
await newPage.goto();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.getByLabel('schema-initializer-Grid-page:addBlock').hover();
|
||||
await page.getByRole('menuitem', { name: 'check-square Workflow todos' }).click();
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
|
@ -73,7 +73,7 @@ test.describe('field data', () => {
|
||||
const triggerNodeObj = JSON.parse(JSON.stringify(triggerNode));
|
||||
//配置Manual节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'manual', exact: true }).click();
|
||||
@ -109,7 +109,7 @@ test.describe('field data', () => {
|
||||
|
||||
const newPage = mockPage();
|
||||
await newPage.goto();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.getByLabel('schema-initializer-Grid-page:addBlock').hover();
|
||||
await page.getByRole('menuitem', { name: 'check-square Workflow todos' }).click();
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
@ -186,7 +186,7 @@ test.describe('field data', () => {
|
||||
|
||||
//配置Manual节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const preCalculationNodePom = new CalculationNode(page, preCalculationNodeTitle);
|
||||
await preCalculationNodePom.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'manual', exact: true }).click();
|
||||
@ -221,7 +221,7 @@ test.describe('field data', () => {
|
||||
|
||||
const newPage = mockPage();
|
||||
await newPage.goto();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.getByLabel('schema-initializer-Grid-page:addBlock').hover();
|
||||
await page.getByRole('menuitem', { name: 'check-square Workflow todos' }).click();
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
@ -307,7 +307,7 @@ test.describe('field data', () => {
|
||||
|
||||
//配置Manual节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const preQueryRecordNodePom = new QueryRecordNode(page, preQueryRecordNodeTitle);
|
||||
await preQueryRecordNodePom.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'manual', exact: true }).click();
|
||||
@ -344,7 +344,7 @@ test.describe('field data', () => {
|
||||
|
||||
const newPage = mockPage();
|
||||
await newPage.goto();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.getByLabel('schema-initializer-Grid-page:addBlock').hover();
|
||||
await page.getByRole('menuitem', { name: 'check-square Workflow todos' }).click();
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
|
@ -113,7 +113,7 @@ test.describe('field data update', () => {
|
||||
const triggerNodeObj = JSON.parse(JSON.stringify(triggerNode));
|
||||
//配置Manual节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'manual', exact: true }).click();
|
||||
@ -159,7 +159,7 @@ test.describe('field data update', () => {
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
await page.mouse.click(300, 0);
|
||||
await manualNode.submitButton.click();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
|
||||
// 2、测试步骤:添加数据触发工作流
|
||||
const triggerNodeCollectionRecordOne =
|
||||
@ -176,7 +176,7 @@ test.describe('field data update', () => {
|
||||
|
||||
const newPage = mockPage();
|
||||
await newPage.goto();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.getByLabel('schema-initializer-Grid-page:addBlock').hover();
|
||||
await page.getByRole('menuitem', { name: 'check-square Workflow todos' }).click();
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
@ -296,7 +296,7 @@ test.describe('field data update', () => {
|
||||
const triggerNodeObj = JSON.parse(JSON.stringify(triggerNode));
|
||||
//配置Manual节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'manual', exact: true }).click();
|
||||
@ -342,7 +342,7 @@ test.describe('field data update', () => {
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
await page.mouse.click(300, 0);
|
||||
await manualNode.submitButton.click();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
|
||||
// 2、测试步骤:添加数据触发工作流
|
||||
const triggerNodeCollectionRecordOne =
|
||||
@ -359,7 +359,7 @@ test.describe('field data update', () => {
|
||||
|
||||
const newPage = mockPage();
|
||||
await newPage.goto();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.getByLabel('schema-initializer-Grid-page:addBlock').hover();
|
||||
await page.getByRole('menuitem', { name: 'check-square Workflow todos' }).click();
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
@ -479,7 +479,7 @@ test.describe('field data update', () => {
|
||||
const triggerNodeObj = JSON.parse(JSON.stringify(triggerNode));
|
||||
//配置Manual节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'manual', exact: true }).click();
|
||||
@ -525,7 +525,7 @@ test.describe('field data update', () => {
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
await page.mouse.click(300, 0);
|
||||
await manualNode.submitButton.click();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
|
||||
// 2、测试步骤:添加数据触发工作流
|
||||
const triggerNodeCollectionRecordOne =
|
||||
@ -542,7 +542,7 @@ test.describe('field data update', () => {
|
||||
|
||||
const newPage = mockPage();
|
||||
await newPage.goto();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.getByLabel('schema-initializer-Grid-page:addBlock').hover();
|
||||
await page.getByRole('menuitem', { name: 'check-square Workflow todos' }).click();
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
@ -663,7 +663,7 @@ test.describe('field data update', () => {
|
||||
const triggerNodeObj = JSON.parse(JSON.stringify(triggerNode));
|
||||
//配置Manual节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'manual', exact: true }).click();
|
||||
@ -709,7 +709,7 @@ test.describe('field data update', () => {
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
await page.mouse.click(300, 0);
|
||||
await manualNode.submitButton.click();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
|
||||
// 2、测试步骤:添加数据触发工作流
|
||||
const triggerNodeCollectionRecordOne =
|
||||
@ -726,7 +726,7 @@ test.describe('field data update', () => {
|
||||
|
||||
const newPage = mockPage();
|
||||
await newPage.goto();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.getByLabel('schema-initializer-Grid-page:addBlock').hover();
|
||||
await page.getByRole('menuitem', { name: 'check-square Workflow todos' }).click();
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
|
@ -105,7 +105,7 @@ test.describe('field data update', () => {
|
||||
const triggerNodeObj = JSON.parse(JSON.stringify(triggerNode));
|
||||
//配置Manual节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'manual', exact: true }).click();
|
||||
@ -151,7 +151,7 @@ test.describe('field data update', () => {
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
await page.mouse.click(300, 0);
|
||||
await manualNode.submitButton.click();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
|
||||
// 2、测试步骤:添加数据触发工作流
|
||||
const triggerNodeCollectionRecordOne =
|
||||
@ -168,7 +168,7 @@ test.describe('field data update', () => {
|
||||
|
||||
const newPage = mockPage();
|
||||
await newPage.goto();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.getByLabel('schema-initializer-Grid-page:addBlock').hover();
|
||||
await page.getByRole('menuitem', { name: 'check-square Workflow todos' }).click();
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
@ -288,7 +288,7 @@ test.describe('field data update', () => {
|
||||
const triggerNodeObj = JSON.parse(JSON.stringify(triggerNode));
|
||||
//配置Manual节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'manual', exact: true }).click();
|
||||
@ -334,7 +334,7 @@ test.describe('field data update', () => {
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
await page.mouse.click(300, 0);
|
||||
await manualNode.submitButton.click();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
|
||||
// 2、测试步骤:添加数据触发工作流
|
||||
const triggerNodeCollectionRecordOne =
|
||||
@ -351,7 +351,7 @@ test.describe('field data update', () => {
|
||||
|
||||
const newPage = mockPage();
|
||||
await newPage.goto();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.getByLabel('schema-initializer-Grid-page:addBlock').hover();
|
||||
await page.getByRole('menuitem', { name: 'check-square Workflow todos' }).click();
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
@ -477,7 +477,7 @@ test.describe('field data update', () => {
|
||||
const triggerNodeObj = JSON.parse(JSON.stringify(triggerNode));
|
||||
//配置Manual节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'manual', exact: true }).click();
|
||||
@ -523,7 +523,7 @@ test.describe('field data update', () => {
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
await page.mouse.click(300, 0);
|
||||
await manualNode.submitButton.click();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
|
||||
// 2、测试步骤:添加数据触发工作流
|
||||
const triggerNodeCollectionRecordOne =
|
||||
@ -540,7 +540,7 @@ test.describe('field data update', () => {
|
||||
|
||||
const newPage = mockPage();
|
||||
await newPage.goto();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.getByLabel('schema-initializer-Grid-page:addBlock').hover();
|
||||
await page.getByRole('menuitem', { name: 'check-square Workflow todos' }).click();
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
|
@ -89,7 +89,7 @@ test.describe('field data update', () => {
|
||||
const triggerNodeObj = JSON.parse(JSON.stringify(triggerNode));
|
||||
//配置Manual节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'manual', exact: true }).click();
|
||||
@ -135,7 +135,7 @@ test.describe('field data update', () => {
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
await page.mouse.click(300, 0);
|
||||
await manualNode.submitButton.click();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
|
||||
// 2、测试步骤:添加数据触发工作流
|
||||
const triggerNodeCollectionRecordOne =
|
||||
@ -152,7 +152,7 @@ test.describe('field data update', () => {
|
||||
|
||||
const newPage = mockPage();
|
||||
await newPage.goto();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.getByLabel('schema-initializer-Grid-page:addBlock').hover();
|
||||
await page.getByRole('menuitem', { name: 'check-square Workflow todos' }).click();
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
@ -256,7 +256,7 @@ test.describe('field data update', () => {
|
||||
const triggerNodeObj = JSON.parse(JSON.stringify(triggerNode));
|
||||
//配置Manual节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'manual', exact: true }).click();
|
||||
@ -302,7 +302,7 @@ test.describe('field data update', () => {
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
await page.mouse.click(300, 0);
|
||||
await manualNode.submitButton.click();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
|
||||
// 2、测试步骤:添加数据触发工作流
|
||||
const triggerNodeCollectionRecordOne =
|
||||
@ -319,7 +319,7 @@ test.describe('field data update', () => {
|
||||
|
||||
const newPage = mockPage();
|
||||
await newPage.goto();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.getByLabel('schema-initializer-Grid-page:addBlock').hover();
|
||||
await page.getByRole('menuitem', { name: 'check-square Workflow todos' }).click();
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
@ -423,7 +423,7 @@ test.describe('field data update', () => {
|
||||
const triggerNodeObj = JSON.parse(JSON.stringify(triggerNode));
|
||||
//配置Manual节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'manual', exact: true }).click();
|
||||
@ -469,7 +469,7 @@ test.describe('field data update', () => {
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
await page.mouse.click(300, 0);
|
||||
await manualNode.submitButton.click();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
|
||||
// 2、测试步骤:添加数据触发工作流
|
||||
const triggerNodeCollectionRecordOne =
|
||||
@ -486,7 +486,7 @@ test.describe('field data update', () => {
|
||||
|
||||
const newPage = mockPage();
|
||||
await newPage.goto();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.getByLabel('schema-initializer-Grid-page:addBlock').hover();
|
||||
await page.getByRole('menuitem', { name: 'check-square Workflow todos' }).click();
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
|
@ -89,7 +89,7 @@ test.describe('field data update', () => {
|
||||
const triggerNodeObj = JSON.parse(JSON.stringify(triggerNode));
|
||||
//配置Manual节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'manual', exact: true }).click();
|
||||
@ -135,7 +135,7 @@ test.describe('field data update', () => {
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
await page.mouse.click(300, 0);
|
||||
await manualNode.submitButton.click();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
|
||||
// 2、测试步骤:添加数据触发工作流
|
||||
const triggerNodeCollectionRecordOne =
|
||||
@ -152,7 +152,7 @@ test.describe('field data update', () => {
|
||||
|
||||
const newPage = mockPage();
|
||||
await newPage.goto();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.getByLabel('schema-initializer-Grid-page:addBlock').hover();
|
||||
await page.getByRole('menuitem', { name: 'check-square Workflow todos' }).click();
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
@ -256,7 +256,7 @@ test.describe('field data update', () => {
|
||||
const triggerNodeObj = JSON.parse(JSON.stringify(triggerNode));
|
||||
//配置Manual节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'manual', exact: true }).click();
|
||||
@ -302,7 +302,7 @@ test.describe('field data update', () => {
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
await page.mouse.click(300, 0);
|
||||
await manualNode.submitButton.click();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
|
||||
// 2、测试步骤:添加数据触发工作流
|
||||
const triggerNodeCollectionRecordOne =
|
||||
@ -319,7 +319,7 @@ test.describe('field data update', () => {
|
||||
|
||||
const newPage = mockPage();
|
||||
await newPage.goto();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.getByLabel('schema-initializer-Grid-page:addBlock').hover();
|
||||
await page.getByRole('menuitem', { name: 'check-square Workflow todos' }).click();
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
@ -423,7 +423,7 @@ test.describe('field data update', () => {
|
||||
const triggerNodeObj = JSON.parse(JSON.stringify(triggerNode));
|
||||
//配置Manual节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'manual', exact: true }).click();
|
||||
@ -469,7 +469,7 @@ test.describe('field data update', () => {
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
await page.mouse.click(300, 0);
|
||||
await manualNode.submitButton.click();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
|
||||
// 2、测试步骤:添加数据触发工作流
|
||||
const triggerNodeCollectionRecordOne =
|
||||
@ -486,7 +486,7 @@ test.describe('field data update', () => {
|
||||
|
||||
const newPage = mockPage();
|
||||
await newPage.goto();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.getByLabel('schema-initializer-Grid-page:addBlock').hover();
|
||||
await page.getByRole('menuitem', { name: 'check-square Workflow todos' }).click();
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
|
@ -65,7 +65,7 @@ test('filter task node', async ({ page, mockPage, mockCollections, mockRecords }
|
||||
const triggerNodeObj = JSON.parse(JSON.stringify(triggerNode));
|
||||
//配置Manual节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'manual', exact: true }).click();
|
||||
@ -100,7 +100,7 @@ test('filter task node', async ({ page, mockPage, mockCollections, mockRecords }
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
await page.mouse.click(300, 0);
|
||||
await manualNode.submitButton.click();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
|
||||
// 2、测试步骤:添加数据触发工作流
|
||||
const triggerNodeCollectionRecordOne = triggerNodeFieldDisplayName + dayjs().format('YYYYMMDDHHmmss.SSS').toString();
|
||||
@ -116,7 +116,7 @@ test('filter task node', async ({ page, mockPage, mockCollections, mockRecords }
|
||||
|
||||
const newPage = mockPage();
|
||||
await newPage.goto();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.getByLabel('schema-initializer-Grid-page:addBlock').hover();
|
||||
await page.getByRole('menuitem', { name: 'check-square Workflow todos' }).click();
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
@ -179,7 +179,7 @@ test('filter workflow name', async ({ page, mockPage, mockCollections, mockRecor
|
||||
const triggerNodeObj = JSON.parse(JSON.stringify(triggerNode));
|
||||
//配置Manual节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'manual', exact: true }).click();
|
||||
@ -214,7 +214,7 @@ test('filter workflow name', async ({ page, mockPage, mockCollections, mockRecor
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
await page.mouse.click(300, 0);
|
||||
await manualNode.submitButton.click();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
|
||||
// 2、测试步骤:添加数据触发工作流
|
||||
const triggerNodeCollectionRecordOne = triggerNodeFieldDisplayName + dayjs().format('YYYYMMDDHHmmss.SSS').toString();
|
||||
@ -230,7 +230,7 @@ test('filter workflow name', async ({ page, mockPage, mockCollections, mockRecor
|
||||
|
||||
const newPage = mockPage();
|
||||
await newPage.goto();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.getByLabel('schema-initializer-Grid-page:addBlock').hover();
|
||||
await page.getByRole('menuitem', { name: 'check-square Workflow todos' }).click();
|
||||
await page.mouse.move(300, 0, { steps: 100 });
|
||||
|
@ -58,7 +58,7 @@ test.describe('All succeeded', () => {
|
||||
const triggerNodeObj = JSON.parse(JSON.stringify(triggerNode));
|
||||
//配置分支节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'parallel', exact: true }).click();
|
||||
@ -193,7 +193,7 @@ test.describe('All succeeded', () => {
|
||||
const triggerNodeObj = JSON.parse(JSON.stringify(triggerNode));
|
||||
//配置分支节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'parallel', exact: true }).click();
|
||||
@ -327,7 +327,7 @@ test.describe('All succeeded', () => {
|
||||
const triggerNodeObj = JSON.parse(JSON.stringify(triggerNode));
|
||||
//配置分支节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'parallel', exact: true }).click();
|
||||
@ -460,7 +460,7 @@ test.describe('All succeeded', () => {
|
||||
const triggerNodeObj = JSON.parse(JSON.stringify(triggerNode));
|
||||
//配置分支节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'parallel', exact: true }).click();
|
||||
|
@ -58,7 +58,7 @@ test.describe('Any succeeded', () => {
|
||||
const triggerNodeObj = JSON.parse(JSON.stringify(triggerNode));
|
||||
//配置分支节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'parallel', exact: true }).click();
|
||||
@ -194,7 +194,7 @@ test.describe('Any succeeded', () => {
|
||||
const triggerNodeObj = JSON.parse(JSON.stringify(triggerNode));
|
||||
//配置分支节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'parallel', exact: true }).click();
|
||||
@ -331,7 +331,7 @@ test.describe('Any succeeded', () => {
|
||||
const triggerNodeObj = JSON.parse(JSON.stringify(triggerNode));
|
||||
//配置分支节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'parallel', exact: true }).click();
|
||||
|
@ -58,7 +58,7 @@ test.describe('Any succeeded or failed', () => {
|
||||
const triggerNodeObj = JSON.parse(JSON.stringify(triggerNode));
|
||||
//配置分支节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'parallel', exact: true }).click();
|
||||
@ -179,7 +179,7 @@ test.describe('Any succeeded or failed', () => {
|
||||
const triggerNodeObj = JSON.parse(JSON.stringify(triggerNode));
|
||||
//配置分支节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'parallel', exact: true }).click();
|
||||
|
@ -87,7 +87,7 @@ test.describe('select data', () => {
|
||||
const triggerNodeObj = JSON.parse(JSON.stringify(triggerNode));
|
||||
//配置SQL节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'sql', exact: true }).click();
|
||||
@ -183,7 +183,7 @@ test.describe('select data', () => {
|
||||
const triggerNodeObj = JSON.parse(JSON.stringify(triggerNode));
|
||||
//配置SQL节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'sql', exact: true }).click();
|
||||
@ -279,7 +279,7 @@ test.describe('select data', () => {
|
||||
const triggerNodeObj = JSON.parse(JSON.stringify(triggerNode));
|
||||
//配置SQL节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'sql', exact: true }).click();
|
||||
@ -381,7 +381,7 @@ test.describe('select data', () => {
|
||||
const triggerNodeObj = JSON.parse(JSON.stringify(triggerNode));
|
||||
//配置SQL节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'sql', exact: true }).click();
|
||||
@ -483,7 +483,7 @@ test.describe('select data', () => {
|
||||
const triggerNodeObj = JSON.parse(JSON.stringify(triggerNode));
|
||||
//配置SQL节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'sql', exact: true }).click();
|
||||
@ -588,7 +588,7 @@ test.describe('select data', () => {
|
||||
const triggerNodeObj = JSON.parse(JSON.stringify(triggerNode));
|
||||
//配置SQL节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'sql', exact: true }).click();
|
||||
@ -679,7 +679,7 @@ test.describe('insert data', () => {
|
||||
const triggerNodeObj = JSON.parse(JSON.stringify(triggerNode));
|
||||
//配置SQL节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'sql', exact: true }).click();
|
||||
@ -767,7 +767,7 @@ test.describe('insert data', () => {
|
||||
const triggerNodeObj = JSON.parse(JSON.stringify(triggerNode));
|
||||
//配置SQL节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'sql', exact: true }).click();
|
||||
@ -849,7 +849,7 @@ test.describe('insert data', () => {
|
||||
const triggerNodeObj = JSON.parse(JSON.stringify(triggerNode));
|
||||
//配置SQL节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'sql', exact: true }).click();
|
||||
@ -969,7 +969,7 @@ test.describe('update data', () => {
|
||||
const triggerNodeObj = JSON.parse(JSON.stringify(triggerNode));
|
||||
//配置SQL节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'sql', exact: true }).click();
|
||||
@ -1066,7 +1066,7 @@ test.describe('update data', () => {
|
||||
const triggerNodeObj = JSON.parse(JSON.stringify(triggerNode));
|
||||
//配置SQL节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'sql', exact: true }).click();
|
||||
@ -1174,7 +1174,7 @@ test.describe('delete data', () => {
|
||||
const triggerNodeObj = JSON.parse(JSON.stringify(triggerNode));
|
||||
//配置SQL节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'sql', exact: true }).click();
|
||||
@ -1271,7 +1271,7 @@ test.describe('delete data', () => {
|
||||
const triggerNodeObj = JSON.parse(JSON.stringify(triggerNode));
|
||||
//配置SQL节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'sql', exact: true }).click();
|
||||
|
@ -1047,7 +1047,7 @@ export const userLogin = async (browser: Browser, approvalUserEmail: string, app
|
||||
await page.getByPlaceholder('Email').fill(approvalUserEmail);
|
||||
await page.getByPlaceholder('Password').fill(approvalUser);
|
||||
await page.getByRole('button', { name: 'Sign in' }).click();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
return context;
|
||||
};
|
||||
|
||||
|
@ -65,13 +65,13 @@ test.describe('Configuration page copy to new version', () => {
|
||||
// 2、测试步骤:等待60秒
|
||||
await page.waitForTimeout(60000);
|
||||
await page.goto('/admin/settings/workflow');
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const workflowListRecords = new WorkflowListRecords(page, workFlowName);
|
||||
|
||||
await workflowListRecords.configureAction.click();
|
||||
await page.getByLabel('more').click();
|
||||
await page.getByLabel('revision').click();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const scheduleTriggerNode = new ScheduleTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await scheduleTriggerNode.nodeConfigure.click();
|
||||
// 3、预期结果:startTime时间为60秒后的时间
|
||||
|
@ -44,13 +44,13 @@ test.describe('Configuration Page Path Jump Workflow Management Page', () => {
|
||||
|
||||
//配置工作流触发器
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
|
||||
// 2、测试步骤:跳转到工作流管理页面
|
||||
await page.getByRole('link', { name: 'Workflow' }).click();
|
||||
|
||||
// 3、预期结果:跳转路径正确
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
expect(page.url()).toBe(`${process.env.APP_BASE_URL}/admin/settings/workflow`);
|
||||
|
||||
// 4、后置处理:删除工作流
|
||||
@ -103,17 +103,17 @@ test.describe('Configuration Page Path Jump Workflow Management Page', () => {
|
||||
const getWorkflowExecuted = getWorkflowObj.executed;
|
||||
expect(getWorkflowExecuted).toBe(1);
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.getByLabel('more').click();
|
||||
await page.getByLabel('revision').click();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
//元素重复
|
||||
await page.getByLabel('version', { exact: true }).click();
|
||||
await page.getByLabel('version-1').click();
|
||||
await page.getByRole('link', { name: 'Workflow' }).click();
|
||||
|
||||
// 3、预期结果:跳转路径正确
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
expect(page.url()).toBe(`${process.env.APP_BASE_URL}/admin/settings/workflow`);
|
||||
|
||||
// 4、后置处理:删除工作流
|
||||
|
@ -53,7 +53,7 @@ test.describe('Configuration page to configure the Trigger node', () => {
|
||||
|
||||
//配置工作流触发器
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const scheduleTriggerNode = new ScheduleTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await scheduleTriggerNode.nodeConfigure.click();
|
||||
await scheduleTriggerNode.startTimeEntryBox.click();
|
||||
|
@ -62,15 +62,15 @@ test.describe('Configuration Page Path Jump Workflow Management Page', () => {
|
||||
// 2、测试步骤:等待60秒
|
||||
await page.waitForTimeout(60000);
|
||||
await page.goto('/admin/settings/workflow');
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const workflowListRecords = new WorkflowListRecords(page, workFlowName);
|
||||
await workflowListRecords.executionCountPopup.click();
|
||||
await page.getByText('View').click();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.getByRole('link', { name: 'Workflow', exact: true }).click();
|
||||
|
||||
// 3、预期结果:跳转路径正确
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
expect(page.url()).toBe(`${process.env.APP_BASE_URL}/admin/settings/workflow`);
|
||||
|
||||
// 4、后置处理:删除工作流
|
||||
@ -120,14 +120,14 @@ test.describe('Configuration Page Path Jump Workflow Management Page', () => {
|
||||
// 2、测试步骤:等待60秒
|
||||
await page.waitForTimeout(60000);
|
||||
await page.goto('/admin/settings/workflow');
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const workflowListRecords = new WorkflowListRecords(page, workFlowName);
|
||||
await workflowListRecords.executionCountPopup.click();
|
||||
await page.getByText('View').click();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
//跳转其他执行日志界面,元素无法定位
|
||||
// 3、预期结果:跳转路径正确
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
// expect(page.url()).toBe(`${process.env.APP_BASE_URL}/admin/settings/workflow`);
|
||||
// 4、后置处理:删除工作流
|
||||
await apiDeleteWorkflow(workflowId);
|
||||
|
@ -29,7 +29,7 @@ test.describe('Filter', () => {
|
||||
|
||||
// 2、筛选工作流
|
||||
await page.goto('/admin/settings/workflow');
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.getByLabel('action-Filter.Action-Filter-filter-workflows').click();
|
||||
await page.getByRole('textbox').fill(workFlowName);
|
||||
await page.getByRole('button', { name: 'Submit', exact: true }).click();
|
||||
@ -46,7 +46,7 @@ test.describe('Add new', () => {
|
||||
test('add new Schedule event', async ({ page }) => {
|
||||
// 添加工作流
|
||||
await page.goto('/admin/settings/workflow');
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.getByLabel('action-Action-Add new-workflows').click();
|
||||
const createWorkFlow = new CreateWorkFlow(page);
|
||||
const workFlowName = faker.string.alphanumeric(5);
|
||||
@ -88,7 +88,7 @@ test.describe('Delete', () => {
|
||||
|
||||
// 删除工作流
|
||||
await page.goto('/admin/settings/workflow');
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.getByLabel('action-Filter.Action-Filter-filter-workflows').click();
|
||||
await page.getByRole('textbox').fill(workFlowName);
|
||||
await page.getByRole('button', { name: 'Submit', exact: true }).click();
|
||||
@ -120,13 +120,13 @@ test.describe('Edit', () => {
|
||||
|
||||
// 编辑工作流
|
||||
await page.goto('/admin/settings/workflow');
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.getByLabel(`action-Action.Link-Edit-workflows-${workFlowName}`).click();
|
||||
const editWorkFlow = new EditWorkFlow(page, workFlowName);
|
||||
workFlowName = faker.string.alphanumeric(5) + triggerNodeAppendText;
|
||||
await editWorkFlow.name.fill(workFlowName);
|
||||
await page.getByLabel('action-Action-Submit-workflows').click();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
// 3、预期结果:编辑成功,列表中出现编辑后的工作流
|
||||
await expect(page.getByText(workFlowName)).toBeAttached();
|
||||
|
||||
@ -153,10 +153,10 @@ test.describe('Duplicate', () => {
|
||||
|
||||
// 2、复制工作流
|
||||
await page.goto('/admin/settings/workflow');
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.getByLabel(`action-Action.Link-Duplicate-workflows-${workFlowName}`).click();
|
||||
await page.getByLabel(`action-Action-Submit-workflows-${workFlowName}`).click();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
// 3、预期结果:列表中出现筛选的工作流
|
||||
await page.getByLabel('action-Filter.Action-Filter-filter-workflows').click();
|
||||
await page.getByRole('textbox').fill(workFlowName);
|
||||
|
@ -66,7 +66,7 @@ test('Collection event add data trigger, get trigger node single line text varia
|
||||
|
||||
//配置计算节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'calculation', exact: true }).click();
|
||||
@ -158,7 +158,7 @@ test('Collection event add data triggers, get predecessor Formula engine arithme
|
||||
|
||||
//配置计算节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const preCalculationNodePom = new CalculationNode(page, preCalculationNodeTitle);
|
||||
await preCalculationNodePom.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'calculation', exact: true }).click();
|
||||
@ -260,7 +260,7 @@ test('Collection events add data triggers, get single line of text data for fron
|
||||
|
||||
//配置计算节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const preQueryRecordNodePom = new QueryRecordNode(page, preQueryRecordNodeTitle);
|
||||
await preQueryRecordNodePom.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'calculation', exact: true }).click();
|
||||
@ -365,7 +365,7 @@ test('Collection event add data trigger, get front added data node single line t
|
||||
|
||||
//配置计算节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const preCreateRecordNodePom = new CreateRecordNode(page, preCreateRecordNodeTitle);
|
||||
await preCreateRecordNodePom.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'calculation', exact: true }).click();
|
||||
@ -462,7 +462,7 @@ test('Collection event adds data triggers, fetches data from front-end aggregati
|
||||
|
||||
//配置计算节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const preAggregateNodePom = new AggregateNode(page, preAggregateNodeTitle);
|
||||
await preAggregateNodePom.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'calculation', exact: true }).click();
|
||||
@ -724,7 +724,7 @@ test.skip('Collection event add data trigger, get front manual node add form sin
|
||||
|
||||
//配置计算节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const preManualNodeNodePom = new AggregateNode(page, preManualNodeNodeTitle);
|
||||
await preManualNodeNodePom.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'calculation', exact: true }).click();
|
||||
|
@ -66,7 +66,7 @@ test('Collection event add data trigger, get trigger node single line text varia
|
||||
|
||||
//配置计算节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'calculation', exact: true }).click();
|
||||
@ -157,7 +157,7 @@ test('Collection event add data triggers, get predecessor Math engine arithmetic
|
||||
|
||||
//配置计算节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const preCalculationNodePom = new CalculationNode(page, preCalculationNodeTitle);
|
||||
await preCalculationNodePom.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'calculation', exact: true }).click();
|
||||
@ -258,7 +258,7 @@ test('Collection events add data triggers, get single line of text data for fron
|
||||
|
||||
//配置计算节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const preQueryRecordNodePom = new QueryRecordNode(page, preQueryRecordNodeTitle);
|
||||
await preQueryRecordNodePom.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'calculation', exact: true }).click();
|
||||
@ -362,7 +362,7 @@ test('Collection event add data trigger, get front added data node single line t
|
||||
|
||||
//配置计算节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const preCreateRecordNodePom = new CreateRecordNode(page, preCreateRecordNodeTitle);
|
||||
await preCreateRecordNodePom.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'calculation', exact: true }).click();
|
||||
@ -458,7 +458,7 @@ test('Collection event adds data triggers, fetches data from front-end aggregati
|
||||
|
||||
//配置计算节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const preAggregateNodePom = new AggregateNode(page, preAggregateNodeTitle);
|
||||
await preAggregateNodePom.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'calculation', exact: true }).click();
|
||||
@ -719,7 +719,7 @@ test.skip('Collection event add data trigger, get front manual node add form sin
|
||||
|
||||
//配置计算节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const preManualNodeNodePom = new AggregateNode(page, preManualNodeNodeTitle);
|
||||
await preManualNodeNodePom.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'calculation', exact: true }).click();
|
||||
|
@ -48,7 +48,7 @@ test.describe('Configuration page to configure the Trigger node', () => {
|
||||
|
||||
//配置工作流触发器
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.nodeConfigure.click();
|
||||
await collectionTriggerNode.collectionDropDown.click();
|
||||
@ -104,7 +104,7 @@ test.describe('Configuration page to configure the Trigger node', () => {
|
||||
|
||||
//配置工作流触发器
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.nodeConfigure.click();
|
||||
await collectionTriggerNode.collectionDropDown.click();
|
||||
@ -161,7 +161,7 @@ test.describe('Configuration page to configure the Trigger node', () => {
|
||||
|
||||
//配置工作流触发器
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.nodeConfigure.click();
|
||||
await collectionTriggerNode.collectionDropDown.click();
|
||||
@ -223,7 +223,7 @@ test.describe('Configuration page to configure the Trigger node', () => {
|
||||
|
||||
//配置工作流触发器
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.nodeConfigure.click();
|
||||
await collectionTriggerNode.collectionDropDown.click();
|
||||
@ -291,7 +291,7 @@ test.describe('Configuration page to configure the Trigger node', () => {
|
||||
|
||||
//配置工作流触发器
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.nodeConfigure.click();
|
||||
await collectionTriggerNode.collectionDropDown.click();
|
||||
|
@ -47,13 +47,13 @@ test.describe('Configuration Page Path Jump Workflow Management Page', () => {
|
||||
|
||||
//配置工作流触发器
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
|
||||
// 2、测试步骤:跳转到工作流管理页面
|
||||
await page.getByRole('link', { name: 'Workflow' }).click();
|
||||
|
||||
// 3、预期结果:跳转路径正确
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
expect(page.url()).toBe(`${process.env.APP_BASE_URL}/admin/settings/workflow`);
|
||||
|
||||
// 4、后置处理:删除工作流
|
||||
@ -103,17 +103,17 @@ test.describe('Configuration Page Path Jump Workflow Management Page', () => {
|
||||
]);
|
||||
await page.waitForTimeout(1000);
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.getByLabel('more').click();
|
||||
await page.getByLabel('revision').click();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
//元素重复
|
||||
await page.getByLabel('version', { exact: true }).click();
|
||||
await page.getByLabel('version-1').click();
|
||||
await page.getByRole('link', { name: 'Workflow' }).click();
|
||||
|
||||
// 3、预期结果:跳转路径正确
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
expect(page.url()).toBe(`${process.env.APP_BASE_URL}/admin/settings/workflow`);
|
||||
|
||||
// 4、后置处理:删除工作流
|
||||
@ -163,15 +163,15 @@ test.describe('Configuration Page Path Jump Workflow Management Page', () => {
|
||||
]);
|
||||
await page.waitForTimeout(1000);
|
||||
await page.goto('/admin/settings/workflow');
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const workflowListRecords = new WorkflowListRecords(page, workFlowName);
|
||||
await workflowListRecords.executionCountPopup.click();
|
||||
await page.getByText('View').click();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.getByRole('link', { name: 'Workflow', exact: true }).click();
|
||||
|
||||
// 3、预期结果:跳转路径正确
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
expect(page.url()).toBe(`${process.env.APP_BASE_URL}/admin/settings/workflow`);
|
||||
|
||||
// 4、后置处理:删除工作流
|
||||
@ -221,15 +221,15 @@ test.describe('Configuration Page Path Jump Workflow Management Page', () => {
|
||||
]);
|
||||
await page.waitForTimeout(1000);
|
||||
await page.goto('/admin/settings/workflow');
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const workflowListRecords = new WorkflowListRecords(page, workFlowName);
|
||||
await expect(workflowListRecords.executionCountPopup).toHaveText('1');
|
||||
await workflowListRecords.executionCountPopup.click();
|
||||
await page.getByText('View').click();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
//跳转其他执行日志界面,元素无法定位
|
||||
// 3、预期结果:跳转路径正确
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
// expect(page.url()).toBe(`${process.env.APP_BASE_URL}/admin/settings/workflow`);
|
||||
// 4、后置处理:删除工作流
|
||||
await apiDeleteWorkflow(workflowId);
|
||||
|
@ -68,7 +68,7 @@ test.describe('Configuration page disable enable', () => {
|
||||
expect(getWorkflowExecuted).toBe(1);
|
||||
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.getByRole('switch', { name: 'On Off' }).click();
|
||||
await mockRecords(triggerNodeCollectionName, [{ orgname: triggerNodeCollectionRecordOne + '1' }]);
|
||||
await page.waitForTimeout(1000);
|
||||
@ -131,7 +131,7 @@ test.describe('Configuration page disable enable', () => {
|
||||
expect(getWorkflowExecuted).toBe(0);
|
||||
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.getByRole('switch', { name: 'On Off' }).click();
|
||||
await mockRecords(triggerNodeCollectionName, [{ orgname: triggerNodeCollectionRecordOne + '1' }]);
|
||||
await page.waitForTimeout(1000);
|
||||
|
@ -63,10 +63,10 @@ test.describe('Configuration page copy to new version', () => {
|
||||
await page.waitForTimeout(1000);
|
||||
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.locator('.workflow-toolbar').getByLabel('more').hover();
|
||||
await page.getByLabel('revision').click();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
// 3、预期结果:新版本工作流配置内容同旧版本一样
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.nodeConfigure.click();
|
||||
|
@ -41,7 +41,7 @@ test.describe('Filter', () => {
|
||||
|
||||
// 2、筛选工作流
|
||||
await page.goto('/admin/settings/workflow');
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.getByLabel('action-Filter.Action-Filter-filter-workflows').click();
|
||||
await page.getByRole('textbox').fill(workFlowName);
|
||||
await page.getByRole('button', { name: 'Submit' }).click();
|
||||
@ -58,7 +58,7 @@ test.describe('Add new', () => {
|
||||
test('add new Collection event', async ({ page }) => {
|
||||
// 添加工作流
|
||||
await page.goto('/admin/settings/workflow');
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.getByLabel('action-Action-Add new-workflows').click();
|
||||
const createWorkFlow = new CreateWorkFlow(page);
|
||||
const workFlowName = faker.string.alphanumeric(5);
|
||||
@ -100,7 +100,7 @@ test.describe('Delete', () => {
|
||||
|
||||
// 删除工作流
|
||||
await page.goto('/admin/settings/workflow');
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.getByLabel('action-Filter.Action-Filter-filter-workflows').click();
|
||||
await page.getByRole('textbox').fill(workFlowName);
|
||||
await page.getByRole('button', { name: 'Submit' }).click();
|
||||
@ -132,13 +132,13 @@ test.describe('Edit', () => {
|
||||
|
||||
// 编辑工作流
|
||||
await page.goto('/admin/settings/workflow');
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.getByLabel(`action-Action.Link-Edit-workflows-${workFlowName}`).click();
|
||||
const editWorkFlow = new EditWorkFlow(page, workFlowName);
|
||||
workFlowName = faker.string.alphanumeric(5) + triggerNodeAppendText;
|
||||
await editWorkFlow.name.fill(workFlowName);
|
||||
await page.getByLabel('action-Action-Submit-workflows').click();
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
// 3、预期结果:编辑成功,列表中出现编辑后的工作流
|
||||
await expect(page.getByText(workFlowName)).toBeAttached();
|
||||
|
||||
@ -165,7 +165,7 @@ test.describe('Duplicate', () => {
|
||||
|
||||
// 2、复制工作流
|
||||
await page.goto('/admin/settings/workflow');
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
await page.getByLabel(`action-Action.Link-Duplicate-workflows-${workFlowName}`).click();
|
||||
await page.getByLabel(`action-Action-Submit-workflows-${workFlowName}`).click();
|
||||
|
||||
|
@ -88,7 +88,7 @@ test('Collection event add data trigger, determine trigger node integer variable
|
||||
|
||||
//配置判断节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const preQueryRecordNodePom = new QueryRecordNode(page, preQueryRecordNodeTitle);
|
||||
await preQueryRecordNodePom.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'condition', exact: true }).hover();
|
||||
@ -236,7 +236,7 @@ test('Collection event add data trigger, determine trigger node integer variable
|
||||
|
||||
//配置判断节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const preQueryRecordNodePom = new QueryRecordNode(page, preQueryRecordNodeTitle);
|
||||
await preQueryRecordNodePom.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'condition', exact: true }).hover();
|
||||
@ -380,7 +380,7 @@ test('Collection event add data trigger, determine trigger node integer variable
|
||||
|
||||
//配置判断节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const preQueryRecordNodePom = new QueryRecordNode(page, preQueryRecordNodeTitle);
|
||||
await preQueryRecordNodePom.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'condition', exact: true }).hover();
|
||||
@ -526,7 +526,7 @@ test('Collection event add data trigger, determine trigger node integer variable
|
||||
|
||||
//配置判断节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const preQueryRecordNodePom = new QueryRecordNode(page, preQueryRecordNodeTitle);
|
||||
await preQueryRecordNodePom.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'condition', exact: true }).hover();
|
||||
|
@ -62,7 +62,7 @@ test('Collection event add data trigger, determines that the trigger node single
|
||||
|
||||
//配置判断节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'condition', exact: true }).hover();
|
||||
@ -175,7 +175,7 @@ test('Collection event add data trigger, determines that the trigger node single
|
||||
|
||||
//配置判断节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'condition', exact: true }).hover();
|
||||
@ -288,7 +288,7 @@ test('Collection event Add Data Trigger, determines that the trigger node single
|
||||
|
||||
//配置判断节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'condition', exact: true }).hover();
|
||||
@ -403,7 +403,7 @@ test('Collection event add data trigger, determines that the trigger node single
|
||||
|
||||
//配置判断节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'condition', exact: true }).hover();
|
||||
|
@ -65,7 +65,7 @@ test('Collection event Add Data Trigger, determines that the trigger node single
|
||||
|
||||
//配置判断节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'condition', exact: true }).hover();
|
||||
@ -192,7 +192,7 @@ test('Collection event Add Data Trigger, determines that the trigger node single
|
||||
|
||||
//配置判断节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'condition', exact: true }).hover();
|
||||
@ -316,7 +316,7 @@ test('Collection event Add Data Trigger, determines that the trigger node single
|
||||
|
||||
//配置判断节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'condition', exact: true }).hover();
|
||||
@ -443,7 +443,7 @@ test('Collection event Add Data Trigger, determines that the trigger node single
|
||||
|
||||
//配置判断节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'condition', exact: true }).hover();
|
||||
@ -591,7 +591,7 @@ test('Collection event add data trigger, determine the trigger node integer vari
|
||||
|
||||
//配置判断节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const preQueryRecordNodePom = new QueryRecordNode(page, preQueryRecordNodeTitle);
|
||||
await preQueryRecordNodePom.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'condition', exact: true }).hover();
|
||||
@ -749,7 +749,7 @@ test('Collection event add data trigger, determine trigger node integer variable
|
||||
|
||||
//配置判断节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const preQueryRecordNodePom = new QueryRecordNode(page, preQueryRecordNodeTitle);
|
||||
await preQueryRecordNodePom.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'condition', exact: true }).hover();
|
||||
@ -897,7 +897,7 @@ test('Collection event add data trigger, determine trigger node integer variable
|
||||
|
||||
//配置判断节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const preQueryRecordNodePom = new QueryRecordNode(page, preQueryRecordNodeTitle);
|
||||
await preQueryRecordNodePom.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'condition', exact: true }).hover();
|
||||
@ -1048,7 +1048,7 @@ test('Collection event add data trigger, determine the trigger node integer vari
|
||||
|
||||
//配置判断节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const preQueryRecordNodePom = new QueryRecordNode(page, preQueryRecordNodeTitle);
|
||||
await preQueryRecordNodePom.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'condition', exact: true }).hover();
|
||||
|
@ -62,7 +62,7 @@ test('Collection event add data trigger, determine trigger node integer field va
|
||||
|
||||
//配置判断节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'condition', exact: true }).hover();
|
||||
@ -186,7 +186,7 @@ test('Collection event Add Data Trigger, determines that the trigger node intege
|
||||
|
||||
//配置判断节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'condition', exact: true }).hover();
|
||||
@ -307,7 +307,7 @@ test('Collection event Add Data Trigger, determines that the trigger node intege
|
||||
|
||||
//配置判断节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'condition', exact: true }).hover();
|
||||
@ -428,7 +428,7 @@ test('Collection event add data trigger, determines that the trigger node intege
|
||||
|
||||
//配置判断节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'condition', exact: true }).hover();
|
||||
|
@ -66,7 +66,7 @@ test('Collection event add data trigger, determines that the trigger node single
|
||||
|
||||
//配置判断节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'condition', exact: true }).hover();
|
||||
@ -149,7 +149,7 @@ test('Collection event add data trigger, determines that the trigger node single
|
||||
|
||||
//配置判断节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'condition', exact: true }).hover();
|
||||
@ -233,7 +233,7 @@ test('Collection event Add Data Trigger, determines that the trigger node single
|
||||
|
||||
//配置判断节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'condition', exact: true }).hover();
|
||||
@ -319,7 +319,7 @@ test('Collection event add data trigger, determines that the trigger node single
|
||||
|
||||
//配置判断节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'condition', exact: true }).hover();
|
||||
@ -429,7 +429,7 @@ test('Collection event add data trigger, determine trigger node integer variable
|
||||
|
||||
//配置判断节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const preQueryRecordNodePom = new QueryRecordNode(page, preQueryRecordNodeTitle);
|
||||
await preQueryRecordNodePom.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'condition', exact: true }).hover();
|
||||
@ -543,7 +543,7 @@ test('Collection event add data trigger, determine trigger node integer variable
|
||||
|
||||
//配置判断节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const preQueryRecordNodePom = new QueryRecordNode(page, preQueryRecordNodeTitle);
|
||||
await preQueryRecordNodePom.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'condition', exact: true }).hover();
|
||||
@ -654,7 +654,7 @@ test('Collection event add data trigger, determine trigger node integer variable
|
||||
|
||||
//配置判断节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const preQueryRecordNodePom = new QueryRecordNode(page, preQueryRecordNodeTitle);
|
||||
await preQueryRecordNodePom.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'condition', exact: true }).hover();
|
||||
@ -770,7 +770,7 @@ test('Collection event add data trigger, determine trigger node integer variable
|
||||
|
||||
//配置判断节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const preQueryRecordNodePom = new QueryRecordNode(page, preQueryRecordNodeTitle);
|
||||
await preQueryRecordNodePom.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'condition', exact: true }).hover();
|
||||
|
@ -64,7 +64,7 @@ test('Collection event Add Data Trigger, Formula engine, determines that the tri
|
||||
|
||||
//配置判断节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'condition', exact: true }).hover();
|
||||
@ -154,7 +154,7 @@ test('Collection event Add Data Trigger, Formula engine, determines that the tri
|
||||
|
||||
//配置判断节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'condition', exact: true }).hover();
|
||||
@ -245,7 +245,7 @@ test('Collection event Add Data Trigger, Formula engine, determines that the tri
|
||||
|
||||
//配置判断节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'condition', exact: true }).hover();
|
||||
@ -334,7 +334,7 @@ test('Collection event Add Data Trigger, Formula engine, determines that the tri
|
||||
|
||||
//配置判断节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'condition', exact: true }).hover();
|
||||
@ -449,7 +449,7 @@ test('Collection event add data trigger, Formula engine, determine the trigger n
|
||||
|
||||
//配置判断节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const preQueryRecordNodePom = new QueryRecordNode(page, preQueryRecordNodeTitle);
|
||||
await preQueryRecordNodePom.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'condition', exact: true }).hover();
|
||||
@ -567,7 +567,7 @@ test('Collection event add data trigger, Formula engine, determine trigger node
|
||||
|
||||
//配置判断节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const preQueryRecordNodePom = new QueryRecordNode(page, preQueryRecordNodeTitle);
|
||||
await preQueryRecordNodePom.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'condition', exact: true }).hover();
|
||||
@ -683,7 +683,7 @@ test('Collection event add data trigger, Formula engine, determine trigger node
|
||||
|
||||
//配置判断节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const preQueryRecordNodePom = new QueryRecordNode(page, preQueryRecordNodeTitle);
|
||||
await preQueryRecordNodePom.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'condition', exact: true }).hover();
|
||||
@ -801,7 +801,7 @@ test('Collection event add data trigger, Formula engine, determine the trigger n
|
||||
|
||||
//配置判断节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const preQueryRecordNodePom = new QueryRecordNode(page, preQueryRecordNodeTitle);
|
||||
await preQueryRecordNodePom.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'condition', exact: true }).hover();
|
||||
|
@ -61,7 +61,7 @@ test('Collection event add data trigger, Math engine, determine trigger node int
|
||||
|
||||
//配置判断节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'condition', exact: true }).hover();
|
||||
@ -152,7 +152,7 @@ test('Collection event Add Data Trigger, Math engine, determines that the trigge
|
||||
|
||||
//配置判断节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'condition', exact: true }).hover();
|
||||
@ -243,7 +243,7 @@ test('Collection event Add Data Trigger, Math engine, determines that the trigge
|
||||
|
||||
//配置判断节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'condition', exact: true }).hover();
|
||||
@ -333,7 +333,7 @@ test('Collection event add data trigger, Math engine, determines that the trigge
|
||||
|
||||
//配置判断节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'condition', exact: true }).hover();
|
||||
|
@ -72,7 +72,7 @@ test('Collection event add data trigger, single row text fields for common table
|
||||
|
||||
//配置新增数据节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'create', exact: true }).click();
|
||||
@ -175,7 +175,7 @@ test('Collection event add data trigger, normal table single line text field, se
|
||||
|
||||
//配置新增数据节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'create', exact: true }).click();
|
||||
@ -287,7 +287,7 @@ test('Collection event add data trigger, normal table integer field, set constan
|
||||
|
||||
//配置新增数据节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'create', exact: true }).click();
|
||||
@ -390,7 +390,7 @@ test('Collection event add data trigger, normal table integer field, set trigger
|
||||
|
||||
//配置新增数据节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'create', exact: true }).click();
|
||||
@ -502,7 +502,7 @@ test('Collection event add data trigger, normal table numeric field, set constan
|
||||
|
||||
//配置新增数据节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'create', exact: true }).click();
|
||||
@ -605,7 +605,7 @@ test('Collection event add data trigger, normal table numeric field, set trigger
|
||||
|
||||
//配置新增数据节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'create', exact: true }).click();
|
||||
@ -717,7 +717,7 @@ test('Collection event add data trigger, normal table dropdown radio field, set
|
||||
|
||||
//配置新增数据节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'create', exact: true }).click();
|
||||
@ -820,7 +820,7 @@ test('Collection event add data trigger, normal table dropdown radio field, set
|
||||
|
||||
//配置新增数据节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'create', exact: true }).click();
|
||||
@ -932,7 +932,7 @@ test('Collection event add data trigger, normal table dropdown radio fields, set
|
||||
|
||||
//配置新增数据节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'create', exact: true }).click();
|
||||
@ -1031,7 +1031,7 @@ test('Collection event add data trigger, normal table dropdown radio fields, set
|
||||
|
||||
//配置新增数据节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'create', exact: true }).click();
|
||||
@ -1143,7 +1143,7 @@ test('Collection event add data trigger, normal table date field, set constant d
|
||||
|
||||
//配置新增数据节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'create', exact: true }).click();
|
||||
@ -1253,7 +1253,7 @@ test('Collection event add data trigger, normal table date field, set trigger no
|
||||
|
||||
//配置新增数据节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'create', exact: true }).click();
|
||||
|
@ -78,7 +78,7 @@ test('Collection event add data trigger, filter single line text field not null,
|
||||
|
||||
//配置删除数据节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'destroy', exact: true }).click();
|
||||
@ -173,7 +173,7 @@ test('Collection event add data trigger, filter single line text field is trigge
|
||||
|
||||
//配置删除数据节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'destroy', exact: true }).click();
|
||||
|
@ -60,7 +60,7 @@ test('Collection event add data trigger, no filter no sort query common table 1
|
||||
|
||||
//配置查询节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'query', exact: true }).click();
|
||||
@ -138,7 +138,7 @@ test('Collection event add data trigger, no filtering and no sorting, query comm
|
||||
|
||||
//配置查询节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'query', exact: true }).click();
|
||||
@ -217,7 +217,7 @@ test('Collection event add data trigger, no filter ID ascending, query common ta
|
||||
|
||||
//配置查询节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'query', exact: true }).click();
|
||||
@ -326,7 +326,7 @@ test('Collection event add data trigger, no filter ID descending, query common t
|
||||
const triggerNodeObj = JSON.parse(JSON.stringify(triggerNode));
|
||||
//配置查询节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'query', exact: true }).click();
|
||||
@ -436,7 +436,7 @@ test('Collection event add data trigger, no filtering and no sorting, query mult
|
||||
|
||||
//配置查询节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'query', exact: true }).click();
|
||||
@ -540,7 +540,7 @@ test('Collection event add data trigger, no filtering and no sorting, query the
|
||||
const triggerNodeObj = JSON.parse(JSON.stringify(triggerNode));
|
||||
//配置查询节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'query', exact: true }).click();
|
||||
@ -646,7 +646,7 @@ test('Collection event add data trigger, no filtering and no sorting, query the
|
||||
const triggerNodeObj = JSON.parse(JSON.stringify(triggerNode));
|
||||
//配置查询节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'query', exact: true }).click();
|
||||
@ -775,7 +775,7 @@ test('Collection event add data trigger, filter to meet all conditions (status_s
|
||||
const triggerNodeObj = JSON.parse(JSON.stringify(triggerNode));
|
||||
//配置查询节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'query', exact: true }).click();
|
||||
@ -891,7 +891,7 @@ test('Collection event add data trigger, filter to satisfy any condition (status
|
||||
const triggerNodeObj = JSON.parse(JSON.stringify(triggerNode));
|
||||
//配置查询节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'query', exact: true }).click();
|
||||
|
@ -80,7 +80,7 @@ test('Collection event add data trigger, filter dropdown radio fields not null,
|
||||
|
||||
//配置更新数据节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'update', exact: true }).click();
|
||||
@ -234,7 +234,7 @@ test('Collection event add data trigger, filter dropdown radio fields not empty,
|
||||
|
||||
//配置更新数据节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'update', exact: true }).click();
|
||||
@ -398,7 +398,7 @@ test('Collection event add data trigger, filter date field not null, common tabl
|
||||
|
||||
//配置更新数据节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'update', exact: true }).click();
|
||||
@ -561,7 +561,7 @@ test('Collection event add data trigger, filter date field not empty, common tab
|
||||
|
||||
//配置更新数据节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'update', exact: true }).click();
|
||||
|
@ -85,7 +85,7 @@ test('Collection event add data trigger, filter single line text field not empty
|
||||
|
||||
//配置更新数据节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'update', exact: true }).click();
|
||||
@ -244,7 +244,7 @@ test('Collection event add data trigger, filter single line text field not empty
|
||||
|
||||
//配置更新数据节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'update', exact: true }).click();
|
||||
@ -408,7 +408,7 @@ test('Collection event add data trigger, filter multi-line text field not empty,
|
||||
|
||||
//配置更新数据节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'update', exact: true }).click();
|
||||
@ -568,7 +568,7 @@ test('Collection event add data trigger, filter multiline text field not empty,
|
||||
|
||||
//配置更新数据节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'update', exact: true }).click();
|
||||
@ -727,7 +727,7 @@ test('Collection event add data trigger, filter integer field not null, common t
|
||||
|
||||
//配置更新数据节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'update', exact: true }).click();
|
||||
|
@ -80,7 +80,7 @@ test('Collection event add data trigger, filter integer field not empty, common
|
||||
|
||||
//配置更新数据节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'update', exact: true }).click();
|
||||
@ -238,7 +238,7 @@ test('Collection event add data trigger, filter numeric field not null, common t
|
||||
|
||||
//配置更新数据节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'update', exact: true }).click();
|
||||
@ -389,7 +389,7 @@ test('Collection event add data trigger, filter numeric field not empty, common
|
||||
|
||||
//配置更新数据节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'update', exact: true }).click();
|
||||
@ -545,7 +545,7 @@ test('Collection event add data trigger, filter dropdown radio field not null, c
|
||||
const triggerNodeObj = JSON.parse(JSON.stringify(triggerNode));
|
||||
//配置更新数据节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'update', exact: true }).click();
|
||||
@ -699,7 +699,7 @@ test('Collection event add data trigger, filter dropdown radio field not empty,
|
||||
|
||||
//配置更新数据节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'update', exact: true }).click();
|
||||
|
@ -80,7 +80,7 @@ test('Collection event add data trigger, filter dropdown radio fields not empty,
|
||||
|
||||
//配置更新数据节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'update', exact: true }).click();
|
||||
@ -245,7 +245,7 @@ test('Collection event add data trigger, filter date field not null, common tabl
|
||||
|
||||
//配置更新数据节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'update', exact: true }).click();
|
||||
@ -409,7 +409,7 @@ test('Collection event add data trigger, filter date field not empty, common tab
|
||||
|
||||
//配置更新数据节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'update', exact: true }).click();
|
||||
|
@ -85,7 +85,7 @@ test('Collection event add data trigger, filter single line text field not empty
|
||||
|
||||
//配置更新数据节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'update', exact: true }).click();
|
||||
@ -245,7 +245,7 @@ test('Collection event add data trigger, filter single line text field not empty
|
||||
|
||||
//配置更新数据节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'update', exact: true }).click();
|
||||
@ -410,7 +410,7 @@ test('Collection event add data trigger, filter multi-line text field not empty,
|
||||
|
||||
//配置更新数据节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'update', exact: true }).click();
|
||||
@ -571,7 +571,7 @@ test('Collection event add data trigger, filter multiline text field not empty,
|
||||
|
||||
//配置更新数据节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'update', exact: true }).click();
|
||||
|
@ -80,7 +80,7 @@ test('Collection event add data trigger, filter integer field not null, common t
|
||||
|
||||
//配置更新数据节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'update', exact: true }).click();
|
||||
@ -233,7 +233,7 @@ test('Collection event add data trigger, filter integer field not empty, common
|
||||
|
||||
//配置更新数据节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'update', exact: true }).click();
|
||||
@ -392,7 +392,7 @@ test('Collection event add data trigger, filter numeric field not null, common t
|
||||
|
||||
//配置更新数据节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'update', exact: true }).click();
|
||||
@ -544,7 +544,7 @@ test('Collection event add data trigger, filter numeric field not empty, common
|
||||
|
||||
//配置更新数据节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'update', exact: true }).click();
|
||||
|
@ -79,7 +79,7 @@ test('Collection event add data trigger, filter dropdown radio field not null, c
|
||||
const triggerNodeObj = JSON.parse(JSON.stringify(triggerNode));
|
||||
//配置更新数据节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'update', exact: true }).click();
|
||||
@ -234,7 +234,7 @@ test('Collection event add data trigger, filter dropdown radio field not empty,
|
||||
|
||||
//配置更新数据节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'update', exact: true }).click();
|
||||
@ -394,7 +394,7 @@ test('Collection event add data trigger, filter dropdown radio fields not null,
|
||||
|
||||
//配置更新数据节点
|
||||
await page.goto(`admin/workflow/workflows/${workflowId}`);
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.waitForLoadState('load');
|
||||
const collectionTriggerNode = new CollectionTriggerNode(page, workFlowName, triggerNodeCollectionName);
|
||||
await collectionTriggerNode.addNodeButton.click();
|
||||
await page.getByRole('button', { name: 'update', exact: true }).click();
|
||||
|
Loading…
Reference in New Issue
Block a user