Обсуждение: [pgadmin] Prefer CSS selectors to XPath selectors in feature tests

Поиск
Список
Период
Сортировка

[pgadmin] Prefer CSS selectors to XPath selectors in feature tests

От
Anthony Emengo
Дата:
Hey all,

We've noticed that our feature tests make extensive use of xpath with the selenium api. It's well documented that css selectors are easier to read and more efficient. I think we should start to favor these if we have not considered so already.


Thanks,
Anthony and Victoria

Re: [pgadmin] Prefer CSS selectors to XPath selectors in feature tests

От
Ashesh Vashi
Дата:

On Wed, May 16, 2018 at 7:26 PM, Anthony Emengo <aemengo@pivotal.io> wrote:
Hey all,

We've noticed that our feature tests make extensive use of xpath with the selenium api. It's well documented that css selectors are easier to read and more efficient. I think we should start to favor these if we have not considered so already.


I found XPATH quite confusing some times due to my own limitations.

So yes from my side. I have no objection.

-- Thanks, Ashesh 

Thanks,
Anthony and Victoria