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.

Signed-off-by: Tim Orling <[email protected]>
---
 lib/toaster/tests/browser/test_landing_page.py | 2 +-
 lib/toaster/toastergui/templates/landing.html  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/toaster/tests/browser/test_landing_page.py 
b/lib/toaster/tests/browser/test_landing_page.py
index 7b425344..e010c59c 100644
--- a/lib/toaster/tests/browser/test_landing_page.py
+++ b/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/lib/toaster/toastergui/templates/landing.html 
b/lib/toaster/toastergui/templates/landing.html
index 08b40fb2..22bbed69 100644
--- a/lib/toaster/toastergui/templates/landing.html
+++ b/lib/toaster/toastergui/templates/landing.html
@@ -12,7 +12,7 @@
             <div class="col-md-6">
               <h1>This is Toaster</h1>
 
-              <p>A web interface to <a 
href="https://www.openembedded.org";>OpenEmbedded</a> and <a 
href="https://www.yoctoproject.org/tools-resources/projects/bitbake";>BitBake</a>,
 the <a href="https://www.yoctoproject.org";>Yocto Project</a> build system.</p>
+              <p>A web interface to <a 
href="https://www.openembedded.org";>OpenEmbedded</a> and <a 
href="https://docs.yoctoproject.org/bitbake.html";>BitBake</a>, the <a 
href="https://www.yoctoproject.org";>Yocto Project</a> build system.</p>
 
                          <p class="top-air">
                            <a class="btn btn-info btn-lg" 
href="http://docs.yoctoproject.org/toaster-manual/setup-and-use.html#setting-up-and-using-toaster";>
-- 
2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#5996): https://lists.yoctoproject.org/g/toaster/message/5996
Mute This Topic: https://lists.yoctoproject.org/mt/102531207/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/toaster/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to