-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #29 from rocky-linux/feature/27-bug-missing-tradem…
…ark-guidelines Add redirect for /trademark to /legal/trademarks
- Loading branch information
Showing
3 changed files
with
27 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,18 @@ | ||
import { test } from "@playwright/test"; | ||
import { expectDownloadPage } from "./utils/PageUtils"; | ||
import { | ||
expectDownloadPage, | ||
expectTrademarkUsagePage, | ||
} from "./utils/PageUtils"; | ||
|
||
test.describe("Website Redirects", () => { | ||
test("redirects old /cloud-images to /download", async ({ page }) => { | ||
await page.goto("/cloud-images"); | ||
|
||
await expectDownloadPage(page); | ||
}); | ||
test("redirects old /trademark to /legal/trademarks", async ({ page }) => { | ||
await page.goto("/trademark"); | ||
|
||
await expectTrademarkUsagePage(page); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters