mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 07:45:18 +00:00
fix: workflow e2e concurrency errors (#3345)
* fix: workflow e2e concurrency errors * fix: edit Collection event name
This commit is contained in:
parent
fd4809d8ad
commit
56b1234c1c
@ -162,6 +162,9 @@ test.describe('Duplicate', () => {
|
||||
await page.getByLabel(`action-Action-Submit-workflows-${workFlowName}`).click();
|
||||
await page.waitForLoadState('networkidle');
|
||||
// 3、预期结果:列表中出现筛选的工作流
|
||||
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();
|
||||
await expect(page.getByText(`${workFlowName} copy`)).toBeAttached();
|
||||
|
||||
// 4、后置处理:删除工作流
|
||||
|
@ -147,9 +147,11 @@ test.describe('Duplicate', () => {
|
||||
await page.waitForLoadState('networkidle');
|
||||
await page.getByLabel(`action-Action.Link-Duplicate-workflows-${workFlowName}`).click();
|
||||
await page.getByLabel(`action-Action-Submit-workflows-${workFlowName}`).click();
|
||||
|
||||
await page.waitForLoadState('networkidle');
|
||||
// 3、预期结果:列表中出现筛选的工作流
|
||||
await page.reload();
|
||||
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();
|
||||
await expect(page.getByText(`${workFlowName} copy`)).toBeAttached();
|
||||
|
||||
// 4、后置处理:删除工作流
|
||||
|
@ -161,6 +161,9 @@ test.describe('Duplicate', () => {
|
||||
await page.getByLabel(`action-Action-Submit-workflows-${workFlowName}`).click();
|
||||
|
||||
// 3、预期结果:列表中出现筛选的工作流
|
||||
await page.getByLabel('action-Filter.Action-Filter-filter-workflows').click();
|
||||
await page.getByRole('textbox').fill(workFlowName);
|
||||
await page.getByRole('button', { name: 'Submit' }).click();
|
||||
await expect(page.getByText(`${workFlowName} copy`)).toBeAttached();
|
||||
|
||||
// 4、后置处理:删除工作流
|
||||
|
Loading…
Reference in New Issue
Block a user