Skip to content

Commit

Permalink
test: Fix flaky tags tests (no-changelog) (#11746)
Browse files Browse the repository at this point in the history
  • Loading branch information
mutdmour authored Nov 14, 2024
1 parent 76262ef commit f4ca4b7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cypress/pages/workflow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ export class WorkflowPage extends BasePage {
workflowTagsContainer: () => cy.getByTestId('workflow-tags-container'),
workflowTagsInput: () =>
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) =>
cy.get(`[data-test-id="workflow-tags-container"] span.el-tag:nth-child(${n})`),
tagsDropdown: () => cy.getByTestId('workflow-tags-dropdown'),
Expand Down

0 comments on commit f4ca4b7

Please sign in to comment.