Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Critical] Удалить несуществующий метод data-qa #1659

Open
mobilisf opened this issue Feb 23, 2024 · 2 comments · Fixed by #1737
Open

[Critical] Удалить несуществующий метод data-qa #1659

mobilisf opened this issue Feb 23, 2024 · 2 comments · Fixed by #1737
Assignees
Labels
bug Something isn't working PizzaFeedback tasks related to user's feedback
Milestone

Comments

@mobilisf
Copy link

mobilisf commented Feb 23, 2024

Environment details (please complete the following information):
JDN v 3.15.2 Back-end v 0.2.64

Describe the bug
Убрать несуществующие (тестовые qa) методы data-qa и data-qa-id.

To Reproduce

  1. Запустить Вивидус на сайте https://www.otto.de/damen/
  2. Отфильтровать по TextArea
  3. Сохранить с data-qa или data-qa-id
    image
  4. Локатор изменился - проблема в том, что метода dataQaId не существует
    image

Expected result
На самом деле - для вивидуса такие дата атрибуты нужно давать пользователю выбор из двух вариатов

  1. variables.DamenmodeOnlineKaufenFashionShopFuerDamenOttoPage.TextArea.textarea=By.cssSelector(*[data-qa-id='search-field'])
  2. variables.DamenmodeOnlineKaufenFashionShopFuerDamenOttoPage.TextArea.textarea=By.xPath(//*[@data-qa-id='search-field'])

Это должно отображаться в выпадушке выбора типа локатора.
Сейчас там - image
А должно быть две опции
CSS Selector for data-qa-id "search-field"
и
xPath for data-qa-id "search-field"

Выбор одного из вариантов соответственно превращается в

  1. variables.DamenmodeOnlineKaufenFashionShopFuerDamenOttoPage.TextArea.textarea=By.cssSelector(*[data-qa-id='search-field'])
  2. variables.DamenmodeOnlineKaufenFashionShopFuerDamenOttoPage.TextArea.textarea=By.xPath(//*[@data-qa-id='search-field'])
    соответственно
@mobilisf mobilisf added the bug Something isn't working label Feb 23, 2024
@mobilisf mobilisf added this to BackLog in JDN.AI Board via automation Feb 23, 2024
@AlexeyGirin AlexeyGirin added this to the Release 3.16 milestone Feb 23, 2024
@AlexeyGirin AlexeyGirin added the PizzaFeedback tasks related to user's feedback label Feb 23, 2024
@savinovava savinovava changed the title Удалить несуществующий метод data-qa [Critical] Удалить несуществующий метод data-qa Feb 26, 2024
@Iogsotot Iogsotot moved this from BackLog to To do in JDN.AI Board May 15, 2024
@Iogsotot Iogsotot moved this from To do to In progress in JDN.AI Board May 15, 2024
@Iogsotot Iogsotot linked a pull request May 17, 2024 that will close this issue
@Iogsotot
Copy link
Contributor

Iogsotot commented May 17, 2024

#1737
3.15.33

Метод data-qa оставили, изменили его отображение для Vividus

@Iogsotot
Copy link
Contributor

Временно отключена фича с расчетом CSS selector на бэкенде и download all as zip (см #1284 #1734)
Без этих фич можно смотреть билд версии 3.15.34

@Iogsotot Iogsotot moved this from In progress to QA in JDN.AI Board May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working PizzaFeedback tasks related to user's feedback
Projects
Development

Successfully merging a pull request may close this issue.

3 participants