From dev-return-8171-archive-asf-public=cust-asf.ponee.io@airflow.apache.org Sun Apr 14 18:53:23 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id C23BB180638 for ; Sun, 14 Apr 2019 20:53:22 +0200 (CEST) Received: (qmail 84631 invoked by uid 500); 14 Apr 2019 18:53:21 -0000 Mailing-List: contact dev-help@airflow.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@airflow.apache.org Delivered-To: mailing list dev@airflow.apache.org Received: (qmail 84612 invoked by uid 99); 14 Apr 2019 18:53:20 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 14 Apr 2019 18:53:20 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id A15EAC21B6 for ; Sun, 14 Apr 2019 18:53:19 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.002 X-Spam-Level: ** X-Spam-Status: No, score=2.002 tagged_above=-999 required=6.31 tests=[DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=2, KAM_SHORT=0.001, RCVD_IN_DNSWL_NONE=-0.0001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=driesprong-frl.20150623.gappssmtp.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id DiVO7DZ73_LV for ; Sun, 14 Apr 2019 18:53:17 +0000 (UTC) Received: from mail-yb1-f175.google.com (mail-yb1-f175.google.com [209.85.219.175]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 57A695FE67 for ; Sun, 14 Apr 2019 18:53:17 +0000 (UTC) Received: by mail-yb1-f175.google.com with SMTP id u187so5580187ybg.11 for ; Sun, 14 Apr 2019 11:53:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=driesprong-frl.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=huXCxz0whjJLUb5MUSM34yc+R6hp5cjvJ+q11ffc3Wg=; b=cD+G6+omV/plawrTcdXhmZgL0Axvky2eY1yuidGHdMiELbCmZjnKwbHIYG9XVIYzM2 hBaJkM7Y4NGfwePYXYVczMxXo5NEHlIplkF60FVC3jZMK006WDrrVonLGL80+m73HBoJ q7jsD0RRuFCYdEhu4LnHHhAyrf1VOI9RxuLWc/gxia/rRd/k+XiCyY495nA9rFIR+sc5 XUZCvGdWMpl2yjPtFa+IM6SvPTeeJ+0v2Dne4EBeWgeFt0poGK3IU0XAo3VVovyOjl7C hPf98obCW7Dl9PCuoOBm3s1/bDKJesxm1HI0RMKmpCrz/krtQ+WXfEUFdhMsXAOueKoe weQA== 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; bh=huXCxz0whjJLUb5MUSM34yc+R6hp5cjvJ+q11ffc3Wg=; b=VtsmHgnrvZGb+XIlY18cna8QUg6iWveXYLwgxpvA/b9aYz3lLxEoyToLwdbYYigqip uuKnvmvON3WEAaEZShLD4lKNbWbEL/dWunn+Xt+z507XQPrrQMogulopE0a7rTbsEJH0 zUbUgV2nOeo82DOY3IRZXsldPmGe6p9Rg1s75WpngimnTJPzO/OUIJsPzSN9l+eSgzX2 bgOhlW7MUG1Wko7ER7bqwoxW8ZOn4Vd6O2v0trpolPgQ2KTYim/Jk4D+yqZmuC1sHL6D TJZNU6Ey1GzmLmTNPwjSieQENbhxuwFAYs70ASqR2fx62MoPB7DNwFYK6/QuDX0LJpxB javQ== X-Gm-Message-State: APjAAAUmobj2eNq7okGDoJVkS7TZV8mkbSmL/tAAdNDd3/iD0HtsLYad l+Z1I3m+hX/rTj5NCRSn1a3usc5sjbKFTw9SQlJ9CBQCJjs= X-Google-Smtp-Source: APXvYqzoehQUBYHtg5j4AbcA9RxwC39Q5M2akoVmR8VJEX9JywfZCh1Wy9duQjL3ai+1Npgjgd9N7yscoeBsDK+OxOQ= X-Received: by 2002:a25:dd6:: with SMTP id 205mr57477555ybn.445.1555267991110; Sun, 14 Apr 2019 11:53:11 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: "Driesprong, Fokko" Date: Sun, 14 Apr 2019 20:53:00 +0200 Message-ID: Subject: Re: Airflow end-to-end testing To: dev@airflow.apache.org Content-Type: multipart/alternative; boundary="0000000000002409ba0586820c1c" --0000000000002409ba0586820c1c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Chris, Having some UI testing would be a great addition to Airflow's testing framework. However, I have some bad experiences with Selenium. In projects that I've worked with selenium, it was always very flaky, and hard to debug. Since we haven't written any tests, my first step would be to pick the technology to write the tests. As I've already mentioned in the thread that Kamil pasted, I would like to consider Cypress for testing the UI. Cypress comes with a nice UI where you can easily see when the test failed. In Selenium this is still a hassle. I would start with some simple scenario's. Starting Airflow and kicking off an example dag, and make sure that it runs in the UI. Cheers, Fokko Op vr 12 apr. 2019 om 17:21 schreef Kamil Bregu=C5=82a : > Similar discusion: > > https://lists.apache.org/thread.html/0480a042107a153468f5ce1e34548e018ffb= f69730ff056895ab5829@%3Cdev.airflow.apache.org%3E > > On Fri, Apr 12, 2019 at 2:39 PM Chris Korakidis > wrote: > > > Hi, > > > > Asimina is looking for an open source project to contribute to as an > > automation tester. > > > > My colleague Kaxil Naik contributes to airflow and I was told you don't > > have any automation testing in place yet. > > > > I think that would be a good opportunity for both sides to setup an > > automation testing project for airflow. > > > > Asimina is familiar with Java and Selenium and she would be able to set= up > > an automation testing project for airflow. That would be a separate > > project, so as to keep the airflow clean. The Java code will be simple, > > mainly using the Selenium API. I can help with reviewing and code quali= ty > > concerns if needed. > > Tech stack will be Maven, Selenium, Cucumber. You can get an idea of ho= w > it > > will look like if you take a look at a POC: > > https://github.com/AsiminaAth/cwjobsit > > You'll find both JUnit and Cucumber approaches there, just Cucumber wou= ld > > be OK for end-to-end testing. > > > > Main things Asimina will need are: > > Having the project setup and granting her access to the project > > Having the project added to some CI server > > Having support in terms of priorities regarding the scenarios and > features > > to be tested. > > > > Please let me know what are your thoughts. > > Regards, > > Chris > > > > -- > > Christakis Korakidis > > Senior Software Engineer > > http://www.linkedin.com/in/ckorakidis > > skype: ckorakidis > > > > > -- > > Kamil Bregu=C5=82a > Polidea | Software Engineer > > M: +48 505 458 451 <+48505458451> > E: kamil.bregula@polidea.com > [image: Polidea] > > We create human & business stories through technology. > Check out our projects! > [image: Github] [image: Facebook] > [image: Twitter] > [image: Linkedin] > [image: Instagram] > [image: Behance] > > --0000000000002409ba0586820c1c--