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

From: Ashesh Vashi <ashesh(dot)vashi(at)enterprisedb(dot)com>
To: Anthony Emengo <aemengo(at)pivotal(dot)io>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: [pgadmin] Prefer CSS selectors to XPath selectors in feature tests
Date: 2018-05-17 07:24:50
Message-ID: CAG7mmoxt1SqwLQ=0-E4qh-P7dXfhLzgwnY0Zcv6G75uq4FQ+Jg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

On Wed, May 16, 2018 at 7:26 PM, Anthony Emengo <aemengo(at)pivotal(dot)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.
>
> http://bugsareinthegaps.com/what-is-the-best-by-selector-
> for-selenium-css-or-xpath/
>

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
>

In response to

Browse pgadmin-hackers by date

  From Date Subject
Next Message Akshay Joshi 2018-05-17 11:48:08 pgAdmin 4 commit: Fixed issue where 'Identity file' control of SSH Tunn
Previous Message Ashesh Vashi 2018-05-17 06:23:58 Re: [pgadmin4][patch] Use ESLinter options instead of using Javascript