From patchwork Tue Jan 9 13:54:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alassane Yattara X-Patchwork-Id: 37532 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id DA4FAC47077 for ; Tue, 9 Jan 2024 13:54:20 +0000 (UTC) Received: from mail.savoirfairelinux.com (mail.savoirfairelinux.com [208.88.110.44]) by mx.groups.io with SMTP id smtpd.web10.17195.1704808455618264065 for ; Tue, 09 Jan 2024 05:54:15 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@savoirfairelinux.com header.s=DFC430D2-D198-11EC-948E-34200CB392D2 header.b=QMCONQfN; spf=pass (domain: savoirfairelinux.com, ip: 208.88.110.44, mailfrom: alassane.yattara@savoirfairelinux.com) Received: from localhost (localhost [127.0.0.1]) by mail.savoirfairelinux.com (Postfix) with ESMTP id 069EF9C160A for ; Tue, 9 Jan 2024 08:54:15 -0500 (EST) Received: from mail.savoirfairelinux.com ([127.0.0.1]) by localhost (mail.savoirfairelinux.com [127.0.0.1]) (amavis, port 10032) with ESMTP id 4AdCQSWNT-W7; Tue, 9 Jan 2024 08:54:14 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by mail.savoirfairelinux.com (Postfix) with ESMTP id B307B9C0B24; Tue, 9 Jan 2024 08:54:14 -0500 (EST) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.savoirfairelinux.com B307B9C0B24 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=savoirfairelinux.com; s=DFC430D2-D198-11EC-948E-34200CB392D2; t=1704808454; bh=Y5b0afQttCY+9gE5JDU0ys2ArvraUmbad6XH03DefoE=; h=From:To:Date:Message-Id:MIME-Version; b=QMCONQfNIRaLtmA8oNsPs0SBi7RXvHXI6YlHOQ+dysSqeF07Ogk+6zB20vtGoIghw l1xQloqdixkcwHXUKEnAmYLdgoxk10uFZ4I4mkHUaaaCijpxUeyjquuMt2r/1JIR4O V1NuXrXDFrm84SJ2CC4ZgyGi3ngdX0BlxNfigBF9WdN4WdgwixWHh0VuNTSiyB+HUT sI+8rab2AOYPaV5fRZ0m0/UoAa/D0N9AarZcBcvCc3UKc1cEGCOaZsQk9sX6CxELlu d4asRGE1MGJtlqWsM3kLVbP25BhDoJIGs6hIZhwUvexkmg8vMhSJ6VW8DwsSPeEpqc /OQ/vPeYyT7pg== X-Virus-Scanned: amavis at mail.savoirfairelinux.com Received: from mail.savoirfairelinux.com ([127.0.0.1]) by localhost (mail.savoirfairelinux.com [127.0.0.1]) (amavis, port 10026) with ESMTP id wyJ6QcXTbjrr; Tue, 9 Jan 2024 08:54:14 -0500 (EST) Received: from jedi.. (unknown [196.127.183.75]) by mail.savoirfairelinux.com (Postfix) with ESMTPSA id 2BCA19C160A; Tue, 9 Jan 2024 08:54:14 -0500 (EST) From: Alassane Yattara To: toaster@lists.yoctoproject.org Cc: Alassane Yattara Subject: [PATCH v2 3/3] toaster/test: Bug-fix "element not interactable" in TestLayerDetailsPage::test_edit_layerdetails Date: Tue, 9 Jan 2024 14:54:08 +0100 Message-Id: <20240109135408.418479-3-alassane.yattara@savoirfairelinux.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240109135408.418479-1-alassane.yattara@savoirfairelinux.com> References: <20240109135408.418479-1-alassane.yattara@savoirfairelinux.com> MIME-Version: 1.0 List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 09 Jan 2024 13:54:20 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/toaster/message/6133 Failed: https://autobuilder.yoctoproject.org/typhoon/#/builders/161/builds/143/steps/12/logs/stdio Signed-off-by: Alassane Yattara --- lib/toaster/tests/browser/test_layerdetails_page.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/lib/toaster/tests/browser/test_layerdetails_page.py b/lib/toaster/tests/browser/test_layerdetails_page.py index 9deef670..5c29548b 100644 --- a/lib/toaster/tests/browser/test_layerdetails_page.py +++ b/lib/toaster/tests/browser/test_layerdetails_page.py @@ -64,7 +64,7 @@ class TestLayerDetailsPage(SeleniumTestCase): args=(self.project.pk, self.imported_layer_version.pk)) - def test_edit_layerdetails(self): + def _edit_layerdetails(self): """ Edit all the editable fields for the layer refresh the page and check that the new values exist""" @@ -168,6 +168,13 @@ class TestLayerDetailsPage(SeleniumTestCase): "Expected %s in the dir value for layer directory" % new_dir) + def test_edit_layerdetails_page(self): + try: + self._edit_layerdetails() + except ElementClickInterceptedException: + self.skipTest( + "ElementClickInterceptedException occured. Element not visible or maybe covered by another element.") + def test_delete_layer(self): """ Delete the layer """