Skip to content

Commit 7e43e73

Browse files
committed
test message
1 parent 6419443 commit 7e43e73

6 files changed

+27
-5
lines changed

cypress/e2e/link_tests.cy.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,8 @@ describe("Link Tests", () => {
8585
{ text: "Special Chars and emojis", url: "/docs/doc-emojis-special-chars" },
8686
{ text: "Render Console Output", url: "/docs/doc-render-console" },
8787
{ text: "Typescript", url: "/docs/doc-typescript" },
88-
{ text: "Quick Start", url: "/docs/doc-cli-install-quick-start" }
88+
{ text: "CLI Quick Start", url: "/docs/doc-cli-install-quick-start" },
89+
{ text: "Homebrew", url: "/docs/doc-cli-brew" }
8990
];
9091

9192
sidebarLinks.forEach((link: SidebarLink) => {

cypress/e2e/page_tests.cy.ts

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
interface PageTest {
1+
interface PageTestInterface {
22
title: string;
33
headlines: string[];
44
}
55

66
describe("Testing Each Documentation Page", () => {
7-
const pages: PageTest[] = [
7+
const pages: PageTestInterface[] = [
88
{
99
title: "Install and Quick start",
1010
headlines: ["Installation", "Basic Example"]
@@ -103,6 +103,22 @@ describe("Testing Each Documentation Page", () => {
103103
{
104104
title: "Quick Start",
105105
headlines: ["Synopsis", "Installation", "Basic Example", "Detailed usage"]
106+
},
107+
{
108+
title: "CLI Quick Start",
109+
headlines: ["Installation", "Basic Example"]
110+
},
111+
{
112+
title: "Homebrew",
113+
headlines: [
114+
"Quick Install",
115+
"Usage",
116+
"Show help",
117+
"Simple Table",
118+
"Use custom column styles",
119+
"Change table title",
120+
"Uninstallation"
121+
]
106122
}
107123
];
108124

@@ -112,7 +128,7 @@ describe("Testing Each Documentation Page", () => {
112128
cy.contains("GET STARTED").click();
113129
});
114130

115-
pages.forEach((page: PageTest) => {
131+
pages.forEach((page: PageTestInterface) => {
116132
it(`${page.title} page contains correct headlines`, () => {
117133
cy.contains(page.title).click();
118134

cypress/e2e/url_tests.cy.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,11 @@ describe("Testing Each Documentation Page", () => {
128128
url: "/docs/doc-cli-install-quick-start",
129129
title: "CLI Quick Start",
130130
headlines: ["Synopsis", "Installation", "Basic Example", "Detailed usage"]
131+
},
132+
{
133+
url: "/docs/doc-cli-brew",
134+
title: "CLI Homebrew",
135+
headlines: ["Quick Install", "Usage", "Change table title", "Use custom column styles", "Uninstallation", "Notes"]
131136
}
132137
];
133138

362 KB
Loading
Loading

docs/doc-cli-install-quick-start.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
id: doc-cli-install-quick-start
33
title: Quick Start
4-
sidebar_label: Quick Start
4+
sidebar_label: CLI Quick Start
55
---
66

77
import useBaseUrl from '@docusaurus/useBaseUrl';

0 commit comments

Comments
 (0)