Currently, the e2e testing sets the viewport to a desktop size, meaning mobile features and functionality is not being tested. All of the tests in the desktop size need to be reproduced in the mobile size.
There are three options for implementation:
write functions specific to the size of the screen
modify the current functions to include the screen size and toggle the selectors based on the screen size
make all the mobile id's the same as the desktop ids so the selectors can remain the same and the functions will all work no matter the screen size.
Currently, the e2e testing sets the viewport to a desktop size, meaning mobile features and functionality is not being tested. All of the tests in the desktop size need to be reproduced in the mobile size. There are three options for implementation:
The third option seems to be the best option.