From f868384ec6fc6a2d3c2f9eedf7d9ef36061060b0 Mon Sep 17 00:00:00 2001 From: Tim Orling Date: Sat, 11 Nov 2023 11:17:53 -0800 Subject: [PATCH] bitbake: toaster: use docs for BitBake link on landing page With the webpage refresh in November 2023, the old BitBake link https://www.yoctoproject.org/tools-resources/projects/bitbake on the landing page is no longer valid. Point the BitBake link in the landing page to https://docs.yoctoproject.org/bitbake.html Fix the test_landing_page.py test case to test for the new link. (Bitbake rev: 968c75852ec8be4f4b8204521c8eec18a7042cf5) Signed-off-by: Tim Orling Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- bitbake/lib/toaster/tests/browser/test_landing_page.py | 2 +- bitbake/lib/toaster/toastergui/templates/landing.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bitbake/lib/toaster/tests/browser/test_landing_page.py b/bitbake/lib/toaster/tests/browser/test_landing_page.py index 7b4253446a..e010c59c92 100644 --- a/bitbake/lib/toaster/tests/browser/test_landing_page.py +++ b/bitbake/lib/toaster/tests/browser/test_landing_page.py @@ -80,7 +80,7 @@ class TestLandingPage(SeleniumTestCase): bitbake = jumbotron.find_element_by_link_text('BitBake') self.assertTrue(bitbake.is_displayed()) bitbake.click() - self.assertTrue("yoctoproject.org/software-item/bitbake" in self.driver.current_url) + self.assertTrue("docs.yoctoproject.org/bitbake.html" in self.driver.current_url) def test_yoctoproject_jumbotron_link_visible_and_clickable(self): """ Test Yocto Project link jumbotron is visible and clickable: """ diff --git a/bitbake/lib/toaster/toastergui/templates/landing.html b/bitbake/lib/toaster/toastergui/templates/landing.html index 08b40fb2f2..22bbed695a 100644 --- a/bitbake/lib/toaster/toastergui/templates/landing.html +++ b/bitbake/lib/toaster/toastergui/templates/landing.html @@ -12,7 +12,7 @@

This is Toaster

-

A web interface to OpenEmbedded and BitBake, the Yocto Project build system.

+

A web interface to OpenEmbedded and BitBake, the Yocto Project build system.