Hi Hackers,

We made the following improvements to the test suite:

Make feature test app teardown more reliable, and tests faster

    - don't spin up app and chromedriver between each test
    - catching signals also tears down the app
    - do layout reset between tests, but assume that tests will not leave a
modal opened.

 Use selenium built-in waiting function and fix flakiness around clicking
the alertify OK button

    - we think the OK button does not have its event bound when it is
created.

If you see more flakiness around clicking the alertify OK button, let us
know. The element is clickable but we have to arbitrarily wait for the
event to be bound and that timing may vary system to system.

The feature tests are about 7 seconds faster now.

Tira & Joao

Attachment: 0001-Make-feature-test-app-teardown-more-reliable-and-tes.patch
Description: Binary data

Attachment: 0002-Use-selenium-built-in-waiting-function-and-fix-flaki.patch
Description: Binary data

-- 
Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers

Reply via email to