homologacion #3

Merged
ncoronel merged 23 commits from homologacion into main 2026-08-31 11:36:15 +00:00
25 changed files with 722 additions and 88 deletions
Showing only changes of commit 51d051733c - Show all commits

View File

@@ -13,7 +13,7 @@
[displaySeachBar]="tenant()?.display_seach_bar ?? true"
[displayCart]="displayCart()"
[cartDisabled]="isCheckoutRoute()"
[checkoutRemainingSeconds]="isCheckoutRoute() ? checkoutRemainingSeconds() : null"
[checkoutRemainingSeconds]="checkoutRemainingSeconds()"
(cartClick)="onCartClick()"
(ticketsClick)="onTicketsClick()"
(loginClick)="onLoginClick()"

View File

@@ -280,9 +280,7 @@ describe('StoreLayoutComponent', () => {
expect(element.querySelector('.store-layout__cart-overlay')).toBeNull();
});
it('shows the synchronized checkout countdown aligned in the header', () => {
const router = TestBed.inject(Router);
vi.spyOn(router, 'url', 'get').mockReturnValue('/checkout/25');
it('shows the synchronized countdown in the header whenever one is active', () => {
checkoutRemainingSecondsState.set(587);
const fixture = TestBed.createComponent(StoreLayoutComponent);