mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-11 21:07:28 -08:00
fix unrelated flaky tests
This commit is contained in:
parent
49523264e6
commit
553246a954
|
@ -17,7 +17,8 @@ export class WorkflowPage extends BasePage {
|
||||||
workflowTagsContainer: () => cy.getByTestId('workflow-tags-container'),
|
workflowTagsContainer: () => cy.getByTestId('workflow-tags-container'),
|
||||||
workflowTagsInput: () =>
|
workflowTagsInput: () =>
|
||||||
this.getters.workflowTagsContainer().then(($el) => cy.wrap($el.find('input').first())),
|
this.getters.workflowTagsContainer().then(($el) => cy.wrap($el.find('input').first())),
|
||||||
tagPills: () => cy.get('[data-test-id="workflow-tags-container"] span.el-tag'),
|
tagPills: () =>
|
||||||
|
cy.get('[data-test-id="workflow-tags-container"] span.el-tag:not(.count-container)'),
|
||||||
nthTagPill: (n: number) =>
|
nthTagPill: (n: number) =>
|
||||||
cy.get(`[data-test-id="workflow-tags-container"] span.el-tag:nth-child(${n})`),
|
cy.get(`[data-test-id="workflow-tags-container"] span.el-tag:nth-child(${n})`),
|
||||||
tagsDropdown: () => cy.getByTestId('workflow-tags-dropdown'),
|
tagsDropdown: () => cy.getByTestId('workflow-tags-dropdown'),
|
||||||
|
|
Loading…
Reference in a new issue