fecgov / fecfile-web-api

Back-end API for FECfile application
Other
8 stars 2 forks source link

F3X disbursement e2e tests failing #1110

Open exalate-issue-sync[bot] opened 2 weeks ago

exalate-issue-sync[bot] commented 2 weeks ago

We are receiving the following two failures in our end-to-end tests:

────────────────────────────────────────────────────────────────────────────────────────────────────

Running: F3X/disbursements.cy.ts (5 of 13)

Disbursements 1) should F3xFederalElectionActivityExpendituresPage disbursement ✓ should Independent Expenditure - Void Schedule E disbursement (51609ms) ✓ should be able to link an Independent Expenditure to a Form 24 (80726ms) ✓ Create an Other Disbursement transaction (24738ms) 2) Create a Credit Card Payment for 100% Federal Election Activity transaction

3 passing (5m) 2 failing

1) Disbursements should **** F3xFederalElectionActivityExpendituresPage disbursement: AssertionError: Timed out retrying after 10000ms: Expected to find content: 'FEDERAL ELECTION ACTIVITY EXPENDITURES' within the selector: 'a' but never did. at PageUtils.clickLink (webpack://fec-e-file/./cypress/e2e/pages/pageUtils.ts:78:0) at Disbursements.Federal (webpack://fec-e-file/./cypress/e2e/F3X/start-transaction/disbursements.ts:8:17) at Context.eval (webpack://fec-e-file/./cypress/e2e/F3X/disbursements.cy.ts:26:24)

2) Disbursements Create a Credit Card Payment for 100% Federal Election Activity transaction: AssertionError: Timed out retrying after 10000ms: Expected to find content: 'FEDERAL ELECTION ACTIVITY EXPENDITURES' within the selector: 'a' but never did. at PageUtils.clickLink (webpack://fec-e-file/./cypress/e2e/pages/pageUtils.ts:78:0) at Disbursements.Federal (webpack://fec-e-file/./cypress/e2e/F3X/start-transaction/disbursements.ts:8:17) at Context.eval (webpack://fec-e-file/./cypress/e2e/F3X/disbursements.cy.ts:115:24)

[mochawesome] Report HTML saved to /root/fecfile-web-app/front-end/cypress/results/fail_2024-10-02T195631+0000-disbursements.html

(Results)

┌────────────────────────────────────────────────────────────────────────────────────────────────┐ │ Tests: 5 │ │ Passing: 3 │ │ Failing: 2 │ │ Pending: 0 │ │ Skipped: 0 │ │ Screenshots: 4 │ │ Video: false │ │ Duration: 4 minutes, 38 seconds │ │ Spec Ran: F3X/disbursements.cy.ts │ └────────────────────────────────────────────────────────────────────────────────────────────────┘

These will need to be fixed so that our e2e piplines show success.

QA Notes

null

DEV Notes

Screenshot of successful e2e tests run

Design

null

See full ticket and images here: FECFILE-1667

exalate-issue-sync[bot] commented 2 weeks ago

Sasha Dresden commented: Passing e2e tests: [https://app.circleci.com/pipelines/github/fecgov/fecfile-web-app/6574/workflows/9ac9f51f-ba32-4ce6-8f56-a7573c09bc27/jobs/22432/parallel-runs/0/steps/0-105|https://app.circleci.com/pipelines/github/fecgov/fecfile-web-app/6574/workflows/9ac9f51f-ba32-4ce6-8f56-a7573c09bc27/jobs/22432/parallel-runs/0/steps/0-105]

exalate-issue-sync[bot] commented 2 weeks ago

Shelly Wise commented: QA review verified Unit tests passing per DEV for this ticket.

!image-20241007-161137.png|width=1000,height=790,alt="image-20241007-161137.png"!

QA Review Completed. Moved to Stage Ready.