I am using the Cypress to test one Web UI, and entering the menu requires the password. Password changes every day and it is the current date written backwards: Example: Todays date is 24.03. and my password is 3042.
I would appreciate the help
const date = require('dayjs')
cy.log(date().format('DDMM'));
I am getting the current date, but typing it backwards makes the problem.