Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 0BB32E00AB7; Wed, 16 Mar 2016 06:10:41 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high * trust * [192.55.52.115 listed in list.dnswl.org] Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id A168EE009C3 for ; Wed, 16 Mar 2016 06:10:38 -0700 (PDT) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga103.fm.intel.com with ESMTP; 16 Mar 2016 06:10:38 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,344,1455004800"; d="scan'208";a="911990019" Received: from tzawadzk-mobl.ger.corp.intel.com (HELO lp.ger.corp.intel.com) ([10.252.3.12]) by orsmga001.jf.intel.com with ESMTP; 16 Mar 2016 06:10:37 -0700 From: Elliot Smith To: toaster@yoctoproject.org Date: Wed, 16 Mar 2016 13:10:29 +0000 Message-Id: <1458133834-26276-1-git-send-email-elliot.smith@intel.com> X-Mailer: git-send-email 1.9.3 Subject: [PATCH 0/5] Migrate Toaster tests to Selenium X-BeenThere: toaster@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Web based interface for BitBake List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Mar 2016 13:10:41 -0000 As discussed in the Toaster public meeting, migrate the Django UI tests to Selenium. (Note that the build dashboard tests have not been migrated, as this is covered in another branch I have which is pending submission.) Also add a sample testcase to use as a template for future tests (test_sample.py). See bitbake/lib/toaster/tests_browser/README for instructions on running the tests. Changes since d6887a7 (toaster-next) are in git://git.yoctoproject.org/poky-contrib, elliot/toaster/migrate_tests_to_selenium http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=elliot/toaster/migrate_tests_to_selenium Elliot Smith (5): toaster-tests: migrate to Selenium for UI tests toaster-tests: migrate all builds page and project page tests to Selenium toaster-tests: migrate project builds page tests to Selenium toaster-tests: migrate all projects page tests to Selenium toaster-tests: migrate landing page tests to Selenium bitbake/lib/toaster/tests_browser/README | 41 ++ bitbake/lib/toaster/tests_browser/__init__.py | 0 .../lib/toaster/tests_browser/selenium_helpers.py | 200 ++++++++ .../toaster/tests_browser/test_all_builds_page.py | 143 ++++++ .../tests_browser/test_all_projects_page.py | 214 ++++++++ .../lib/toaster/tests_browser/test_landing_page.py | 108 ++++ .../tests_browser/test_project_builds_page.py | 168 +++++++ .../lib/toaster/tests_browser/test_project_page.py | 59 +++ bitbake/lib/toaster/tests_browser/test_sample.py | 41 ++ bitbake/lib/toaster/toastergui/tests.py | 544 --------------------- bitbake/toaster-requirements.txt | 1 + 11 files changed, 975 insertions(+), 544 deletions(-) create mode 100644 bitbake/lib/toaster/tests_browser/README create mode 100644 bitbake/lib/toaster/tests_browser/__init__.py create mode 100644 bitbake/lib/toaster/tests_browser/selenium_helpers.py create mode 100644 bitbake/lib/toaster/tests_browser/test_all_builds_page.py create mode 100644 bitbake/lib/toaster/tests_browser/test_all_projects_page.py create mode 100644 bitbake/lib/toaster/tests_browser/test_landing_page.py create mode 100644 bitbake/lib/toaster/tests_browser/test_project_builds_page.py create mode 100644 bitbake/lib/toaster/tests_browser/test_project_page.py create mode 100644 bitbake/lib/toaster/tests_browser/test_sample.py -- Elliot Smith Software Engineer Intel OTC --------------------------------------------------------------------- Intel Corporation (UK) Limited Registered No. 1134945 (England) Registered Office: Pipers Way, Swindon SN3 1RJ VAT No: 860 2173 47 This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.