Skip to content

Commit 7a5d309

Browse files
committed
Update e2e test for updated discount name
1 parent e2da94d commit 7a5d309

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugins/woocommerce/tests/e2e-pw/tests/order/order-coupon.spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ test.describe(
108108
.filter( { hasText: couponCode } )
109109
).toBeVisible();
110110
await expect(
111-
page.getByRole( 'cell', { name: 'Coupon(s)' } )
111+
page.getByRole( 'cell', { name: 'Discount' } )
112112
).toBeVisible();
113113
await expect(
114114
page.getByRole( 'cell', { name: `- $${ couponAmount }.00` } )
@@ -132,7 +132,7 @@ test.describe(
132132
.filter( { hasText: couponCode } )
133133
).toBeVisible();
134134
await expect(
135-
page.getByRole( 'cell', { name: 'Coupon(s)' } )
135+
page.getByRole( 'cell', { name: 'Discount' } )
136136
).toBeVisible();
137137
await expect(
138138
page.getByRole( 'cell', {

0 commit comments

Comments
 (0)