According to Cypress documentation, `then()` function may also accept options as an argument https://docs.cypress.io/api/commands/then.html#Arguments The type definition for it doesn't support options though