[CP-3698] New url for More news button (#2616)

Co-authored-by: Daniel Karski <daniel.karski5q@gmail.com>
This commit is contained in:
slawomir-werner
2025-08-06 13:29:57 +02:00
committed by GitHub
parent 2b1e54fc3f
commit 49d7fecef6
3 changed files with 3 additions and 3 deletions

View File

@@ -15,7 +15,7 @@ class NewsPage extends Page {
}
public get moreNewsButtonHref() {
return $("//a[@href='https://www.mudita.com/#news']")
return $("//a[@href='https://www.mudita.com/community/blog/']")
}
public get newsCardElements() {

View File

@@ -26,6 +26,6 @@ describe("Check more news button", () => {
const moreNewsButtonHref = NewsPage.moreNewsButtonHref
const checkHref = await moreNewsButtonHref.getAttribute("href")
await expect(checkHref).toBe("https://www.mudita.com/#news")
await expect(checkHref).toBe("https://www.mudita.com/community/blog/")
})
})

View File

@@ -74,7 +74,7 @@ const LayoutDesktopWrapper: FunctionComponent = ({ children }) => {
label={intl.formatMessage({
id: "module.news.moreNewsButtonLabel",
})}
href={"https://www.mudita.com/#news"}
href={"https://www.mudita.com/community/blog/"}
target="_blank"
iconSize={IconSize.Medium}
/>