diff options
| author | Tim Orling <ticotimo@gmail.com> | 2023-11-11 11:17:53 -0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-11-14 23:39:53 +0000 |
| commit | f868384ec6fc6a2d3c2f9eedf7d9ef36061060b0 (patch) | |
| tree | ca837660b1c66b170be96f2f7414e37bba439cc6 /bitbake | |
| parent | f5a4dc0c17693bd70cd3571efe39df27a4bd33f9 (diff) | |
| download | poky-f868384ec6fc6a2d3c2f9eedf7d9ef36061060b0.tar.gz | |
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 <tim.orling@konsulko.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
| -rw-r--r-- | bitbake/lib/toaster/tests/browser/test_landing_page.py | 2 | ||||
| -rw-r--r-- | 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): | |||
| 80 | bitbake = jumbotron.find_element_by_link_text('BitBake') | 80 | bitbake = jumbotron.find_element_by_link_text('BitBake') |
| 81 | self.assertTrue(bitbake.is_displayed()) | 81 | self.assertTrue(bitbake.is_displayed()) |
| 82 | bitbake.click() | 82 | bitbake.click() |
| 83 | self.assertTrue("yoctoproject.org/software-item/bitbake" in self.driver.current_url) | 83 | self.assertTrue("docs.yoctoproject.org/bitbake.html" in self.driver.current_url) |
| 84 | 84 | ||
| 85 | def test_yoctoproject_jumbotron_link_visible_and_clickable(self): | 85 | def test_yoctoproject_jumbotron_link_visible_and_clickable(self): |
| 86 | """ Test Yocto Project link jumbotron is visible and clickable: """ | 86 | """ 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 @@ | |||
| 12 | <div class="col-md-6"> | 12 | <div class="col-md-6"> |
| 13 | <h1>This is Toaster</h1> | 13 | <h1>This is Toaster</h1> |
| 14 | 14 | ||
| 15 | <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> | 15 | <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> |
| 16 | 16 | ||
| 17 | <p class="top-air"> | 17 | <p class="top-air"> |
| 18 | <a class="btn btn-info btn-lg" href="http://docs.yoctoproject.org/toaster-manual/setup-and-use.html#setting-up-and-using-toaster"> | 18 | <a class="btn btn-info btn-lg" href="http://docs.yoctoproject.org/toaster-manual/setup-and-use.html#setting-up-and-using-toaster"> |
