GoogleCloudPlatform / bank-of-anthos

Retail banking sample application showcasing Kubernetes and Google Cloud
https://cymbal-bank.fsi.cymbal.dev
Apache License 2.0
984 stars 580 forks source link

E2E: Investigate flaky UI tests #223

Closed murog closed 4 years ago

murog commented 4 years ago

Description

Investigate flaky UI tests

Examples:

 1) Authenticated default user see balance update after transfer:
     AssertionError: Timed out retrying: expected '\n                        $15,848.17\n                      ' to include '15,848.16'
  2) Authenticated default user can transfer to a new recipient and see its contact:
     AssertionError: Timed out retrying: Expected to find content: 'Payment initiated' within the element: <div#alertBanner.alert.alert-danger.mt-3.mb-3> but never did.

Related Issues

300 Authenticated default user see transaction in history after transfer:

murog commented 4 years ago
  1) Authenticated default user see transaction in history after transfer:
     AssertionError: Timed out retrying: Expected to find content: '40.73' within the element: [ <td.transaction-amount>, 33 more... ] but never did.
  2) Transfer is unsuccessful with invalid data cannot transfer to self:
     AssertionError: Timed out retrying: Expected to find content: 'Payment failed' within the element: <div#alertBanner.alert.alert-danger.mt-3.mb-3> but never did.
murog commented 4 years ago

Authenticated default user can see transaction in history after transfer flaky again in https://github.com/GoogleCloudPlatform/bank-of-anthos/runs/932656205?check_suite_focus=true

murog commented 4 years ago

Closing again, upgraded cypress to 5.0 and added retries in #343

murog commented 4 years ago

https://github.com/GoogleCloudPlatform/bank-of-anthos/runs/1125373675?check_suite_focus=true Authenticated default user can transfer to a new recipient and see its contact