From f868384ec6fc6a2d3c2f9eedf7d9ef36061060b0 Mon Sep 17 00:00:00 2001 From: Tim Orling Date: Sat, 11 Nov 2023 11:17:53 -0800 Subject: 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 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bitbake/lib/toaster/tests') 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: """ -- cgit v1.2.3-54-g00ecf