M
M
mcrack2021-11-17 09:16:04
Software testing
mcrack, 2021-11-17 09:16:04

How to test sidebar exit?

Hello, please tell me how to logically understand that the sidebar, for example, has left?

Initial data:
There is a site, it has a sidebar (with a menu), which, when you click on the button in the header, should go out, then you need to click on the menu in the sidebar.

So, please tell me what to be attached to in this case?
Check if the class responsible for applying sidebar exit styles has appeared, then, when closing the sidebar, check if this class is gone ?

Or is it done differently?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
Python Newbie, 2021-11-17
@Levman5

When the sidebar slides out, new elements appear on the page. By them and look

M
Medovochka, 2021-11-17
@Medovochka

It depends on - is there a hover (haver) or a click on the menu so that the sidebar leaves?
And yes, most likely there are new elements that you can automate in the future. The best thing would be to see your screen recording or at least part of the code

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question