From patchwork Tue Jun 11 16:13:36 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tim Orling X-Patchwork-Id: 44933 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 E6F22C27C78 for ; Tue, 11 Jun 2024 16:15:04 +0000 (UTC) Received: from mail-pl1-f180.google.com (mail-pl1-f180.google.com [209.85.214.180]) by mx.groups.io with SMTP id smtpd.web11.729.1718122499185197412 for ; Tue, 11 Jun 2024 09:14:59 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@konsulko.com header.s=google header.b=I8yTdSuM; spf=pass (domain: konsulko.com, ip: 209.85.214.180, mailfrom: tim.orling@konsulko.com) Received: by mail-pl1-f180.google.com with SMTP id d9443c01a7336-1f700e4cb92so9822455ad.2 for ; Tue, 11 Jun 2024 09:14:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; t=1718122498; x=1718727298; darn=lists.yoctoproject.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=YVe4Q+JWjCPABRSHdemZc1kbgt0mgfvaLHj8346jaX0=; b=I8yTdSuMTTKt0LWyiXeOk3SoY544jOmtTDjNeLdumm4eK1NPypaJ8yBjhkQILfoxY+ +QTvkphLqBwD8+o20xruSpPcVUtnK0gIGX/KqHT1fQ05P+dhsET+t9TuQFBwu5xI5jGK 0Qe6G5oi3QHdu+zEGEPCBJt3x60HpgktBgIf8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718122498; x=1718727298; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=YVe4Q+JWjCPABRSHdemZc1kbgt0mgfvaLHj8346jaX0=; b=fJzDmEAq1FQgLwt7PQitMUggy6JKdwOYNTBp+35W9auc1JRXyYpl8oszfxPoQCz360 accy6djj+ZXYfFBAzhbqXtHvbm0OrRbfJDuOH8vVwVquu/D3OUjG9x2gNpyXvsR627On xKjDy/TTGya4WZA4sPo3DVbZqoR0gQ+wY0G0g1ftTnb8O0TuRF2mXrdSmEe+irdP3M5z fvZTh5M+TlO38jaTM2YIOB0GJqdoWMEPXJWNvnaPNemfnzvbLDW4mQtJzUg1jO6OP0Cd mxHAg+maAdUUh1Z9vsjRGjabclXY9CJKQuwEry5eibWH4w9WbygGMokzXBt8XYswhnM+ C3ag== X-Forwarded-Encrypted: i=1; AJvYcCVJsHf1yzAQzmPnjdfn0c+ZCNRSaVc4deusUIBPA9yEIdRV/FiimJkBt0jwY0+c175Y6oWwfwWsklP34S3Qj4827OUlPEkTFTuhNAIG65U= X-Gm-Message-State: AOJu0Yz2Gm7LmlOifl6j+A3iklpT0jA6ZIsXEYPUTCDNYHa6LNAXCBV6 X7BvppljYirIjYCaXC1mobK04w959RWyHyXxOtioUzjy93D3hoRIZizGyZnnLXLPJjvGqhJMcv1 4v9s= X-Google-Smtp-Source: AGHT+IGeWfgLWyHLWCPkqfYNLfzo0MpqoyBYxOOLa1YUtC2Y0y4Nwzpu4wZ7jFrP5AthZ6bvniaSpA== X-Received: by 2002:a17:903:40c1:b0:1f7:35e0:5af9 with SMTP id d9443c01a7336-1f735e05bb3mr21935655ad.9.1718122498574; Tue, 11 Jun 2024 09:14:58 -0700 (PDT) Received: from localhost ([2601:1c2:c182:4da0::2bc4]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1f6fbc25401sm58226145ad.171.2024.06.11.09.14.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jun 2024 09:14:58 -0700 (PDT) From: tim.orling@konsulko.com To: bitbake-devel@lists.openembedded.org, toaster@lists.yoctoproject.org Cc: Tim Orling Subject: [toaster 3/3] test_project_page: fix failing test_single_layer_page Date: Tue, 11 Jun 2024 09:13:36 -0700 Message-ID: <20240611161333.2794231-6-tim.orling@konsulko.com> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240611161333.2794231-2-tim.orling@konsulko.com> References: <20240611161333.2794231-2-tim.orling@konsulko.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, 11 Jun 2024 16:15:04 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/toaster/message/6163 From: Tim Orling The test_single_layer_page test case consistently fails. It is not obvious why but if we change the argument in the following from 8 to 7 it passes. url = reverse("layerdetails", args=(TestProjectPage.project_id, 8)) E selenium.common.exceptions.TimeoutException: Message: An element matching "#change-notification" should be visible =========================== short test summary info ============================ FAILED ../bitbake/lib/toaster/tests/functional/test_project_page.py::TestProjectPage::test_single_layer_page Signed-off-by: Tim Orling --- lib/toaster/tests/functional/test_project_page.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/toaster/tests/functional/test_project_page.py b/lib/toaster/tests/functional/test_project_page.py index adbe3587e..0e36b44ff 100644 --- a/lib/toaster/tests/functional/test_project_page.py +++ b/lib/toaster/tests/functional/test_project_page.py @@ -708,7 +708,7 @@ class TestProjectPage(SeleniumFunctionalTestCase): - Check layer summary - Check layer description """ - url = reverse("layerdetails", args=(TestProjectPage.project_id, 8)) + url = reverse("layerdetails", args=(TestProjectPage.project_id, 7)) self.get(url) self.wait_until_visible('.page-header') # check title is displayed