Problem
Step 7 "Abrir minicart" fails after a successful add-to-cart (step 6). The cookie consent banner remains visible on the page and blocks the click on the cart icon.
Screenshot evidence
After step 6 (add-to-cart), the PDP has:
- Cookie banner:
Monte Carlo e os cookies: [...] CONTINUAR E FECHAR — visible at bottom-left
- Cart icon: visible in header (top-right) with item count = 1
- The banner overlaps part of the viewport but does NOT cover the cart icon
Despite the cart icon being visible, step 7 fails: elemento não encontrado ou ação sem efeito
Why it fails
The dismissOverlays call at the start of step 7 should catch the cookie banner, but the banner selector ([data-cookie], #cookie, etc.) may not match the site's actual selector:
- Banner element:
<div class="..."> with text "Monte Carlo e os cookies"
- Close button:
<button>CONTINUAR E FECHAR</button>
- No standard
[data-cookie] or aria-label=close attributes
Site info
- URL: http://localhost:5173/ (montecarlo-tanstack, deco platform)
- Cookie banner trigger: appears on first page load, persists until clicked
- Cart icon selector:
[data-qa-cart-icon] (validated, count=1 after add-to-cart)
Expected behavior
dismissOverlays should detect and close the cookie banner before attempting the cart icon click, allowing step 7 to proceed.
Problem
Step 7 "Abrir minicart" fails after a successful add-to-cart (step 6). The cookie consent banner remains visible on the page and blocks the click on the cart icon.
Screenshot evidence
After step 6 (add-to-cart), the PDP has:
Monte Carlo e os cookies: [...] CONTINUAR E FECHAR— visible at bottom-leftDespite the cart icon being visible, step 7 fails:
elemento não encontrado ou ação sem efeitoWhy it fails
The
dismissOverlayscall at the start of step 7 should catch the cookie banner, but the banner selector ([data-cookie],#cookie, etc.) may not match the site's actual selector:<div class="...">with text "Monte Carlo e os cookies"<button>CONTINUAR E FECHAR</button>[data-cookie]oraria-label=closeattributesSite info
[data-qa-cart-icon](validated, count=1 after add-to-cart)Expected behavior
dismissOverlaysshould detect and close the cookie banner before attempting the cart icon click, allowing step 7 to proceed.