Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 319ABE00C28; Wed, 16 Mar 2016 10:30:50 -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=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/, * medium trust * [147.11.1.11 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mail.windriver.com (mail.windriver.com [147.11.1.11]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 79012E00BFE for ; Wed, 16 Mar 2016 10:30:41 -0700 (PDT) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail.windriver.com (8.15.2/8.15.1) with ESMTPS id u2GHULiT010542 (version=TLSv1 cipher=AES128-SHA bits=128 verify=FAIL); Wed, 16 Mar 2016 10:30:21 -0700 (PDT) Received: from ord-dlerner-d8.wrs.com (172.25.44.108) by ALA-HCA.corp.ad.wrs.com (147.11.189.40) with Microsoft SMTP Server id 14.3.248.2; Wed, 16 Mar 2016 10:30:21 -0700 From: Dave Lerner To: , , Date: Wed, 16 Mar 2016 12:29:02 -0500 Message-ID: <1458149343-4708-1-git-send-email-dave.lerner@windriver.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Subject: [review-request] 9154: fixes for customimage details 'no package found' 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 17:30:50 -0000 Content-Type: text/plain Branch: toaster-next, master Defect: 9154 Summary: Fixes when search for customimage packages has no results. jshint: done html5 validation: done Test cases and expected results ------------------------------- Setup ----- Build a custom image Static Text ----------- Select the custom image and enter an unknown package like "xxxxx". Verify that the static text matches the spec with caveats below. 1. The spec shows a different header for both the no results and the results page. The spec was interpretted as being out-of-date with current implemenation, and the well "About package..." was assumed to be the current implementation replacment since it shows the packages included and other data. 2: The spec "search query" was assumed to be a place holder in the design doc for a string that was the last unsucessful 'search query'. Verify that the text field has the unmatched string xxxxx All buttons - x, search, search all packages, search recipes ----------------------------------------------------------------- X button: click the x icon Verify that the text input is cleared. Verify that the X icon is cleared. Verify "Search Add | Remove packages" placeholder in text field. Search: enter openssl click search Verify back to customised screen with packages matching 'openssl' On customise image main page, append abc to openssl and click search Verify back to the No packages found screen On NO packages found page, change text from opensslabc to opensslxyz click search Verify still on No Packages screen Search all packages: On the same 'opensslxyz' No packages found page, click Search all packages Verify back to unfiltered customised image page Recipes: Enter helloworld, click search On 'No packages found' page, click the hyperlink "searching the list of recipes" Verify that the software recipes page appears.