So I am going to ask this question here. So some things I am curious about and I had a discussion with another SDET. Ans this maybe something I a misunderstanding but I like the use of
Cypress.Commands.addll and adding multiple commands from the file to it. Then writing out Cypress. Commands.add and then the overall function. But they argued that it was more to type and does the same thing what beenifit is it to have. To me it was much cleaner code to write. But I maybe don't have a good grasp of when it's a valid to use it. Because I couldn't think of what the best use case of it is. Would love other people take on this.