Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1go58f-0002NR-D7 for pgadmin-hackers@arkaria.postgresql.org; Mon, 28 Jan 2019 11:31:41 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1go58e-000054-1I for pgadmin-hackers@arkaria.postgresql.org; Mon, 28 Jan 2019 11:31:40 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1go58d-00004w-P9 for pgadmin-hackers@lists.postgresql.org; Mon, 28 Jan 2019 11:31:39 +0000 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1go58W-0001Mf-T1 for pgadmin-hackers@postgresql.org; Mon, 28 Jan 2019 11:31:38 +0000 Received: by mail-wr1-x442.google.com with SMTP id p4so17629364wrt.7 for ; Mon, 28 Jan 2019 03:31:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pgadmin-org.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=E7wbfbbLuhoaLc9dC7M3tCnRzMsIOnaSl9iADYGLbqg=; b=gebxwgJpnmKjBAsxWTOf+d6FCtuXueQwfnIydrO+ltE0xzyVMPpL+zr+B8zJXVF0MT yR2BQvqJIEUFOXjb4apPK/x4Xbn2ODGgsLu2klQjtd65sFsohCoGUdUR1pI5nqdvII1P 5ciP9c7Rk2i0PXPF4yVRopte5wkfSKFA8Q0wCRDbGIdgyNonn+DEtDd4e2NrKMbfbj50 oiiQjl/FqhpOvVjFxSh1BqPQpkYkJc5hWlvz1sFmkfYGO35zXkZqsdBfT170CVLJKxBo A0gSCqti2I93fwGkIxLpEw5qlGSdaD2UScy4ldRgkBQqg5hwhEmVTriOtuq3RJQ6Ex9b ZrVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=E7wbfbbLuhoaLc9dC7M3tCnRzMsIOnaSl9iADYGLbqg=; b=nbhZ1vw9V6JjgvaZ7ajqsSbP3JcP5gFI1C1CZ3ifIJN2udxx9xyjFcV3RoKKyEywmo aiCUOQjgLfthL45G+DPIOYpeHy2a8J3Oq/wcZvEh5g6/4wqGniUqrcXTJYGyiAdKizTn 8vgFzDXT7D78YjU5jqI1t0fM1/8dTtpuWVdGfXVO88XCI1HYsqJGNme8Y6b5W3d9IIZp WHk8bEusoWDNq3C/gCfTB+jpRs0GndC6AqX8isYBZAjy5BXdVDJ64d1TsIs5EDdfQSK1 ErN+tRobHtN9hMIUTWYEFSQTVTrJnRQ1b4Q9FBMVW/+Sc56J5y21NyTVoodlZQ+PScvv Xe9w== X-Gm-Message-State: AJcUukdFgCEcJUYtmGf6pooI55tDGuG3I68NO7MKOB28ClFwiuQM5Gze TtV8tlhOq8nL6VxPTjlc6Uo6VJ6cXiMs9Mst98fQbg== X-Google-Smtp-Source: ALg8bN6BzYS7ZZWRJFwQmXxgXc4Td9SYMOuESXu1274294VGqt0RCL0hjQmFwIoB6ZpmXSRid9yd1kv7dJY9I3FdOw8= X-Received: by 2002:adf:8264:: with SMTP id 91mr20588228wrb.312.1548675091163; Mon, 28 Jan 2019 03:31:31 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Dave Page Date: Mon, 28 Jan 2019 11:31:19 +0000 Message-ID: Subject: Re: [pgAdmin4][RM3936] Feature tests failing intermittently for SQL editor related test cases To: Aditya Toshniwal Cc: pgadmin-hackers Content-Type: text/plain; charset="UTF-8" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi On Mon, Jan 28, 2019 at 7:00 AM Aditya Toshniwal wrote: > > Hi Hackers, > > Attached is the patch to fix failing SQL editor related feature tests. > The failure is occurring mostly because of send_keys function of selenium which sometimes does not input the complete text. The change will use Codemirror javascript object to set the text. > > I have also added new args flag "--modules" which can be used after --pkg where you can test a specific module file under the pkg. This is not so useful for build but definitely helpful for the developers. One of the most common failures I see is failure to fill in the details on the Add Server dialogue (it might type half of an entry, then just hang). Should we get rid of all uses of send_keys? -- Dave Page Blog: http://pgsnake.blogspot.com Twitter: @pgsnake EnterpriseDB UK: http://www.enterprisedb.com The Enterprise PostgreSQL Company