Open AlexeyGirin opened 2 years ago
It is required to resolve this together with #584 (design should be consistent)
только для PO? Да. Глобальная настройка. Кастомизация всего приложения под конкретного пользователя - запоминать как дефолтную настройку. Возможен перенос в глобальные настройки.
как это работает с локаторами?
вводим настройки?
updates for WebSokets:
ignored_attributes: string []
Backend part is done
It makes sense to complete #950 beforehand
Give user a possibility to specify attributes which shouldn't be used for locators generation
As a user AND some additional attributes are used in my project, which data has no meaning or is useless in locators generation I want to not generate code on it So that allows me to get the correct code
DESCRIPTION: User starts the locators generation and they see that in one of the locators undesired attribute is used. It is required to give user ability to exclude this attribute from locators generation so after locators recalculation new locators wouldn't contain that undesired attribute.
DEPENDENCIES:
950 - Filter refactoring
1285 - data-attributes
1359 - data-ved
ACCEPTANCE CRITERIA
DESIGN: figma
Additionally, we can separately open the filter and manually specify the attributes that should not be used. Validation:
COMMENTS: Changes will be needed on both the front-end and back-end. Currently, the list of attributes is not being transmitted. Because of this, Robula considers all possible combinations.
The fourth option was chosen (the third is also possible), as attribute settings should be made when working with locators, i.e., within an open PO.
Changing an attribute is not a modification, but rather an edit, similar to changing the locator type or switching from xpath to css.
List of attributes: https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes
@AlexeyGirin deletion of an attribute from filters will require recalculation of all locators