mirror of
https://github.com/mudita/mudita-center.git
synced 2025-12-23 22:28:03 -05:00
[CP-3698] New url for More news button (#2616)
Co-authored-by: Daniel Karski <daniel.karski5q@gmail.com>
This commit is contained in:
@@ -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() {
|
||||
|
||||
@@ -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/")
|
||||
})
|
||||
})
|
||||
|
||||
@@ -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}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user