Re: [patch] Test dependencies and screenshots

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Joao Pedro De Almeida Pereira <jpereira(at)pivotal(dot)io>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>, Atira Odhner <aodhner(at)pivotal(dot)io>
Subject: Re: [patch] Test dependencies and screenshots
Date: 2017-03-03 13:57:50
Message-ID: CA+OCxow9J2A5_FqCpsODx6YwU6jFFRTDL-b5ARE45M_=Hspu2w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi

On Thu, Mar 2, 2017 at 10:05 PM, Joao Pedro De Almeida Pereira
<jpereira(at)pivotal(dot)io> wrote:
> Hi,
> We adjusted the patches to correct the issues that you mentioned
>
> Improves screenshots and reduces test flakiness

Hmm, was that the 0.5 second sleep? I hate doing that, but sometimes
it's the only way that doesn't require far more effort than it's worth
:-(.

> - rename screenshot files to add python version
> - put screenshots into separate pg version folders

I tested on Python 2.7 and Python 3.5 on macOS 10.12;

- On both versions of Python I'm left with a running chromedriver
process after the tests have exited. Chrome itself exits though.

- Screenshots only appear to have been saved once (the first time I
ran on Python 2.7). No screenshots were saved for any of my subsequent
runs.

I induced test failure by modifying the connect to server test to wait
for a menu option of "Server...." instead of "Server...".

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2017-03-03 15:20:22 Re: [patch] Test dependencies and screenshots
Previous Message Murtuza Zabuawala 2017-03-03 13:14:22 [PATCH][pgAdmin4] To fix the issue in server-group deletion