US-6-4 Control the selection of elements from a page object (Page Locator's action menu)
Done
Description
As a user
I want to quickly manage the selection of elements
So that I can get code of necessary elements faster
Dependencies
US-6-1 See the generated elements Interaction with locators depends on section
US-11-2 Interaction with an element from locators list (Locator's action menu) Сontext menu
Acceptance criteria
UC 6-4-1 Highlight element on click
GIVEN I am a user
AND I open the section
WHEN I click Left Button Mouse Click on element in locators list
THEN I expect to see highlighted element in list
AND object on a web page will be highlighted too
UC 6-4-2 User select locator by filling in the checkbox
GIVEN I am a user
AND I open the section
WHEN I fill in the checkbox of element
THEN I expect to see highlight of the element in the list
AND object on a web page will be highlighted too
AND element “Selected” will appear or increase
AND checkbox near the header of the section will be highlighted with a blue square
UC 6-4-3 After selection locator on page is displayed in locators’ list
GIVEN I am a user
WHEN I click on locator on the page
THEN locators' list must be scrolled to locator
UC 6-4-4 User can unselect locator
GIVEN I am a user
AND element was selected
WHEN I click Right Mouse Button on this element on the page
THEN option “Unselect locator” should be available
Related artifacts
number of selected locators - show if selection takes place, clear selection by clicking on an icon