homo_experimental #2

Merged
ncoronel merged 19 commits from homo_experimental into homologacion 2026-08-31 11:25:31 +00:00
28 changed files with 723 additions and 102 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);