From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id A89C1E00BF4; Mon, 4 Apr 2016 04:08:19 -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=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [209.85.215.49 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Received: from mail-lf0-f49.google.com (mail-lf0-f49.google.com [209.85.215.49]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 79335E00B6F for ; Mon, 4 Apr 2016 04:08:16 -0700 (PDT) Received: by mail-lf0-f49.google.com with SMTP id g184so90315165lfb.3 for ; Mon, 04 Apr 2016 04:08:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=to:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding; bh=kOh88ZzKlVW6L5VT8I0F82QZtzdilCqhX78xQr9cuXM=; b=SLxUHoiWVOBRcNTNFkUPXdpityBl4DoHrZuUUFIXsIAs5odbRzlPAlIS3pwJRoljwc SsLhS0iaKrBixfldvfecv8+1y46jZp9vcGxhJn7UffW8lD2UqrK93nUomuXLOYVCmi1a ycgu3fFrNNA3PdtYqRrebcw4TEmc8nXfkWVNgUe8msXtl+USXIRKLxsn8vM0O6WmDhQy 6FVJLGE42MKNssU1UxnykJYXosuKFFLDO3uBHHMpTVXfRupmdPe73l2p4N0CQSefA+L2 DudHuqE4KWAqAUyzTZnwsDOgJJuoIdUDAvHDo8VtYjEFcGGzLNYehKd5kPr+XH8mD0JC vY6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding; bh=kOh88ZzKlVW6L5VT8I0F82QZtzdilCqhX78xQr9cuXM=; b=PLuEyOBqgZ1jnm+BdQIapa60R7A+6WAQsBfaEHh6zQhrVDe6Nd1n+GewyMbtv3w014 FxF+lRmONqUTL+7jztNImiBL6Vx1IKelvrd6KABwJB1WK3khEzmcdPeueQkrMqAE0Zqp Gv6jQm98oHH7qVqwotnIyAJsWPMlt4YltUNVQl/kP8VXhkwsY6akZaWxHnR6XfCDuppk +RQELxwL0qdv9JeMhhDXon0cS4iEbqQutjQqEsZtBnpsp7mDt5dTxuEVY3dO6v9PgNyO drYsfHYq6EEigFIae9F3lG0vEYEmwRiYRV+wLCEm39gpciW+r0esUDjxonEOVs8YDPJ/ yH4A== X-Gm-Message-State: AD7BkJJLGRycl3rT56lnte5HhoKls+D3jMHSEWJjYRpT8hyTPj8GevX8oBMqelfq9eXY/6P9 X-Received: by 10.194.184.139 with SMTP id eu11mr2852161wjc.154.1459768095071; Mon, 04 Apr 2016 04:08:15 -0700 (PDT) Received: from [192.168.2.24] ([83.217.123.106]) by smtp.googlemail.com with ESMTPSA id gg7sm28549539wjd.10.2016.04.04.04.08.13 for (version=TLSv1/SSLv3 cipher=OTHER); Mon, 04 Apr 2016 04:08:14 -0700 (PDT) To: "toaster@yoctoproject.org" From: Michael Wood Message-ID: <57024B1D.90101@intel.com> Date: Mon, 4 Apr 2016 12:08:13 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 Subject: [review-request] michaelw/toaster/selenium-test-js 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: Mon, 04 Apr 2016 11:08:19 -0000 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Add a selenium test to run the js unit tests. Pull request poky-contrib michaelw/toaster/selenium-test-js (sent as pull request because js file too large for git send-email) git://git.yoctoproject.org/poky-contrib michaelw/toaster/selenium-test-js http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=michaelw/toaster/selenium-test-js Michael Wood (5): toaster: Add quint to project so that it can be used offline toaster: tests Set MACHINE for the test projects toaster: views jsunittest Add MACHINE and an extra layer to test project toaster: testsjs Add call back to append elements on completion of tests tests: browser Add test to run the js unit tests lib/toaster/tests/browser/test_js_unit_tests.py | 57 ++++ .../fixtures/toastergui-unittest-data.xml | 4 +- lib/toaster/toastergui/static/css/qunit-1.18.0.css | 1 + lib/toaster/toastergui/static/js/qunit-1.18.0.js | 347 +++++++++++++++++++++ lib/toaster/toastergui/static/js/tests/test.js | 7 + .../toastergui/templates/js-unit-tests.html | 4 +- lib/toaster/toastergui/views.py | 18 +- 7 files changed, 430 insertions(+), 8 deletions(-) create mode 100644 bitbake/lib/toaster/tests/browser/test_js_unit_tests.py create mode 100644 bitbake/lib/toaster/toastergui/static/css/qunit-1.18.0.css create mode 100644 bitbake/lib/toaster/toastergui/static/js/qunit-1.18.0.js