From d9c76f2af75cccf0f8d3ede8427207f9d69b79a7 Mon Sep 17 00:00:00 2001 From: Alexander Brown Date: Thu, 3 Sep 2026 01:24:39 +0000 Subject: [PATCH] test: remove transient top-up assertion (#16725) ## Summary Remove a transient assertion that made the cloud 3DS top-up test flaky after the dialog had already advanced to verification. ## Changes - **What**: Stop expecting the confirmation step's Back button after payment polling starts. The test still verifies the poll request, verification UI, and popup parameters. ## Review Focus The failing assertion appeared in 5 of 11 previous cloud runs. In each failure artifact, the dialog had already reached "Verify your payment," so the missing Back button was the expected next state. Tested with 10 consecutive targeted cloud-project passes. ESLint, formatting, browser type checking, and project type checking pass. Co-authored-by: Amp --- browser_tests/tests/dialogs/creditsTile.spec.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/browser_tests/tests/dialogs/creditsTile.spec.ts b/browser_tests/tests/dialogs/creditsTile.spec.ts index 68cfcf08b5b..b292a93beb7 100644 --- a/browser_tests/tests/dialogs/creditsTile.spec.ts +++ b/browser_tests/tests/dialogs/creditsTile.spec.ts @@ -501,9 +501,6 @@ test.describe('Top-up 3DS verification', { tag: '@cloud' }, () => { await topupDialog.root.getByRole('button', { name: 'Pay $50.00' }).click() - await expect( - topupDialog.root.getByRole('button', { name: 'Back' }) - ).toBeDisabled() await expect.poll(() => operationPollRequests.length).toBeGreaterThan(0) const verificationButton = topupDialog.root.getByRole('button', { name: 'Complete verification'