Posted 30 October 2023, 10:50 pm EST
Hi,
Please refer to the attached sample.
In the attached cypress sample, there are test cases for hiding, deleting, and inserting sheet in the spread(Workbook) instance.
When the test cases start, they find the position of active sheet tab and perform right click on the active sheet tab to open the sheet context menu and select the insert, delete, and hide options respectively.
Please run commands “npm i” to install dependencies, “npm start” to run the sample and “npm run cy:run” to run the tests on the sample that is running.
sample: cypress.zip
Also, I can see at my end that you have also posted the same query on the ticket CAS-44715-R5S2T3. Please note that it is always recommended to post a query either at the forum or our customer portal. Please do not post it in both places. It would help us to better manage queries and provide solutions more efficiently.
Regards,
Chandan