From 747001c1f409e63abf6aa2d8b6765b26d7efe862 Mon Sep 17 00:00:00 2001 From: Nagesh Pai <4162931+nagpai@users.noreply.github.com> Date: Mon, 11 Nov 2024 12:25:39 +0530 Subject: [PATCH] Fix e2e test for 8.5.0 release (#9694) Co-authored-by: Nagesh Pai --- changelog/fix-e2e-test-8.5.0-release | 5 +++++ .../e2e/specs/wcpay/merchant/merchant-admin-deposits.spec.js | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 changelog/fix-e2e-test-8.5.0-release diff --git a/changelog/fix-e2e-test-8.5.0-release b/changelog/fix-e2e-test-8.5.0-release new file mode 100644 index 00000000000..4ea2bca263c --- /dev/null +++ b/changelog/fix-e2e-test-8.5.0-release @@ -0,0 +1,5 @@ +Significance: patch +Type: fix +Comment: Update string in E2E test - `Deposit` to `Payout` + + diff --git a/tests/e2e/specs/wcpay/merchant/merchant-admin-deposits.spec.js b/tests/e2e/specs/wcpay/merchant/merchant-admin-deposits.spec.js index 47a7c18363d..9363910e44b 100644 --- a/tests/e2e/specs/wcpay/merchant/merchant-admin-deposits.spec.js +++ b/tests/e2e/specs/wcpay/merchant/merchant-admin-deposits.spec.js @@ -16,7 +16,7 @@ describe( 'Admin deposits', () => { it( 'page should load without any errors', async () => { await merchantWCP.openDeposits(); await expect( page ).toMatchElement( 'h2', { - text: 'Deposit history', + text: 'Payout history', } ); await takeScreenshot( 'merchant-admin-deposits' ); } );