fix: workflow e2e concurrency errors (#3345)

* fix: workflow e2e concurrency errors

* fix: edit Collection event name
This commit is contained in:
hongboji 2024-01-08 14:05:35 +08:00 committed by GitHub
parent fd4809d8ad
commit 56b1234c1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 2 deletions

View File

@ -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、后置处理删除工作流

View File

@ -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、后置处理删除工作流

View File

@ -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、后置处理删除工作流