[FIX] tests: wait for chrome's cookie to be set
[FIX] tests: wait for chrome's cookie to be set

In some cases, the first request of a test is made before the
proper setting of the cookie. In that case, Odoo picks a new session,
leaving the request unauthenticated.

closes odoo/odoo#35780

Signed-off-by: Christophe Monniez (moc) <c96e125261f5e7e830d26ea98a02884db1f08bc3@odoo.com>
ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo,ygol/odoo