Re: [pgAdmin4][Patch] Feature #3270 Add support for running regression tests against Firefox

Поиск
Список
Период
Сортировка
От Anthony Emengo
Тема Re: [pgAdmin4][Patch] Feature #3270 Add support for running regression tests against Firefox
Дата
Msg-id CAG8BBZPqQ+z2nP=GL4weOhurRgzfHxdE_G-ztAMSOeipWbkf3Q@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [pgAdmin4][Patch] Feature #3270 Add support for runningregression tests against Firefox  (Akshay Joshi <akshay.joshi@enterprisedb.com>)
Ответы Re: [pgAdmin4][Patch] Feature #3270 Add support for running regression tests against Firefox  (Akshay Joshi <akshay.joshi@enterprisedb.com>)
Список pgadmin-hackers

Hey Akshay,

Unfortunately, I’m seeing far more failures on my machine with Firefox to be sure what you’re seeing, when you run these tests. However, I was able to address one of the areas that I saw multiple sleeps added and made the code more robust with Waits. The changes below to the file at .../pgadmin4/web/pgadmin/feature_tests/xss_checks_file_manager_test.py specifically wait for the element to be detached off the DOM and then to be reattached before retrieving any more attributes.

instantiate the element using an anonymous function that takes the selector method

Screenshot from 2018-05-07 13-17-40.png

add a new reusable method to the page object that waits for attach/detach

Screenshot from 2018-05-07 13-18-40.png

I’ve attached my changes as the file 0002-RM_3270_v5.patch for you to compare. If you’re unable to get some of these other issues, let me know and we can get through this!



Вложения

В списке pgadmin-hackers по дате отправления:

Предыдущее
От: Akshay Joshi
Дата:
Сообщение: Re: [pgAdmin4][Patch]: Fix layout of the error message in the query tool
Следующее
От: Joao De Almeida Pereira
Дата:
Сообщение: Re: [pgadmin4][patch] Initial patch to decouple from ACI Tree