Skip to content

Commit 3d77637

Browse files
Special price alignment fix (#1095)
1 parent 3bc6fb1 commit 3d77637

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

resources/views/components/quantity.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
is present on the input and the quantity select component.
55
--}}
66
<quantity-select v-slot="qtySelect" {{ $attributes }}>
7-
<div class="flex items-center justify-center border rounded bg-white h-12 self-start">
7+
<div class="flex items-center justify-center border rounded bg-white h-12">
88
<button
99
v-on:click.prevent="qtySelect.decrease"
1010
v-bind:disabled="!qtySelect.decreasable"

tests/playwright/.env.testing

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ SESSION_DRIVER=file
2828
PRODUCT_URL_SIMPLE=/wayfarer-messenger-bag.html
2929
PRODUCT_URL_CONFIGURABLE=/stellar-solar-jacket.html
3030
PRODUCT_URL_GROUPED=/set-of-sprite-yoga-straps.html
31+
PRODUCT_URL_SPECIAL_PRICE=/savvy-shoulder-tote.html
3132

3233
CATEGORY_URL_SIMPLE=/gear/bags.html
3334
CATEGORY_URL_CONFIGURABLE=/women/tops-women.html

tests/playwright/product.spec.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ test('product grouped', BasePage.tags, async ({ page }) => {
1616
await new BasePage(page).screenshot('fullpage-footer')
1717
})
1818

19+
test('product special price', BasePage.tags, async ({ page }) => {
20+
await page.goto(process.env.PRODUCT_URL_SPECIAL_PRICE)
21+
await new BasePage(page).screenshot('fullpage-footer')
22+
})
23+
1924
test('wcag', BasePage.tags, async ({ page }, testInfo) => {
2025
await page.goto(process.env.PRODUCT_URL_SIMPLE)
2126
await new BasePage(page).wcag(testInfo)

0 commit comments

Comments
 (0)