Skip to content

Investigate workflow job failing on main: test / test (job 3) #75208

Closed

Description

@github-actions

🚨 Failure Summary 🚨:

  • 📋 Job Name: test / test (job 3)
  • 🔧 Failure in Workflow: Process new code merged to main
  • 🔗 Triggered by PR: PR Link
  • 👤 PR Author: @Eskalifer1
  • 🤝 Merged by: @amyevans
  • 🐛 Error Message:
    failure: Process completed with exit code 1.

⚠️ Action Required ⚠️:

🛠️ A recent merge appears to have caused a failure in the job named test / test (job 3).
This issue has been automatically created and labeled with Workflow Failure for investigation.

👀 Please look into the following:

  1. Why the PR caused the job to fail?
  2. Address any underlying issues.

🐛 We appreciate your help in squashing this bug!

Activity

  1. amyevans commented on Nov 14, 2025

    @amyevans
    Contributor
    Summary of all failing tests
    FAIL tests/unit/PaymentCardFormTest.tsx (36.135 s)
      ● Subscription/AddPaymentCard › AddPaymentCardPage Expiration Date Formatting › formats "0" as "0"
    
        Unable to find an element with testID: addPaymentCardPage.expiration
    
    ....
    
          69 |         const runFormatTest = async (input: string, formattedAs: string) => {
          70 |             renderAddPaymentCardPage(SCREENS.SETTINGS.SUBSCRIPTION.ADD_PAYMENT_CARD);
        > 71 |             const expirationDateField = await screen.findByTestId('addPaymentCardPage.expiration');
             |                                                      ^
          72 |             fireEvent.changeText(expirationDateField, input);
          73 |             expect(expirationDateField.props.value).toBe(formattedAs);
          74 |         };
    
          at findByTestId (tests/unit/PaymentCardFormTest.tsx:71:54)
          at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
          at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
          at node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:7
          at node_modules/@babel/runtime/helpers/asyncToGenerator.js:14:12
          at apply (tests/unit/PaymentCardFormTest.tsx:69:28)
          at Object.runFormatTest (tests/unit/PaymentCardFormTest.tsx:77:19)
          at asyncGeneratorStep (node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
          at _next (node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
          at node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:7
          at Object.<anonymous> (node_modules/@babel/runtime/helpers/asyncToGenerator.js:14:12)
    
    
    Test Suites: 1 failed, 1 skipped, 74 passed, 75 of 76 total
    Tests:       1 failed, 144 skipped, 977 passed, 1122 total
    Snapshots:   1 passed, 1 total
    Time:        523.269 s
    Error: Process completed with exit code 1.
    

    Look like we are already addressing this flakey test in #74214 so I'm going to close as a dupe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions