Skip to content

Commit ae48a64

Browse files
committed
update website
1 parent 9df364d commit ae48a64

File tree

396 files changed

+5394
-53626
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

396 files changed

+5394
-53626
lines changed

.gitignore

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,22 @@
1-
node_modules
2-
codeceptjs
3-
docs/.vuepress/dist/
1+
# build output
2+
dist/
3+
# generated types
4+
.astro/
5+
6+
# dependencies
7+
node_modules/
8+
9+
# logs
10+
npm-debug.log*
11+
yarn-debug.log*
12+
yarn-error.log*
13+
pnpm-debug.log*
14+
15+
16+
# environment variables
17+
.env
18+
.env.production
19+
20+
# macOS-specific files
21+
.DS_Store
422
.idea/

.vscode/extensions.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"recommendations": ["astro-build.astro-vscode"],
3+
"unwantedRecommendations": []
4+
}

.vscode/launch.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"command": "./node_modules/.bin/astro dev",
6+
"name": "Development server",
7+
"request": "launch",
8+
"type": "node-terminal"
9+
}
10+
]
11+
}

astro.config.mjs

Lines changed: 130 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,130 @@
1+
import { defineConfig } from 'astro/config';
2+
import starlight from '@astrojs/starlight';
3+
import starlightSidebarTopics from 'starlight-sidebar-topics';
4+
import starlightImageZoom from 'starlight-image-zoom';
5+
6+
export default defineConfig({
7+
integrations: [
8+
starlight({
9+
title: 'CodeceptJS',
10+
social: {
11+
github: 'https://github.com/codeceptjs/CodeceptJS',
12+
},
13+
components: {
14+
Head: "./src/components/Head.astro",
15+
},
16+
plugins: [
17+
starlightSidebarTopics([
18+
{
19+
label: 'Documentation',
20+
link: 'quickstart',
21+
items: [
22+
{
23+
label: 'Web Testing',
24+
items: [
25+
{ label: 'Getting Started', link: 'basics' },
26+
{ label: 'CodeceptUI', link: 'ui' },
27+
{ label: 'Testing with Playwright', link: 'playwright' },
28+
{ label: 'Testing with WebDriver', link: 'webdriver' },
29+
{ label: 'Testing with Puppeteer', link: 'puppeteer' },
30+
{ label: 'API Testing', link: 'api' },
31+
{ label: 'Testing with TestCafe', link: 'testcafe' },
32+
],
33+
},
34+
{
35+
label: 'Mobile Testing',
36+
items: [
37+
{ label: 'Mobile Testing with Appium', link: 'mobile' },
38+
{ label: 'Testing React Native with Detox', link: 'detox' },
39+
],
40+
},
41+
{
42+
label: 'Organizing Tests',
43+
items: [
44+
{ label: 'Page Objects', link: 'pageobjects' },
45+
{ label: 'TypeScript', link: 'typescript' },
46+
{ label: 'Data Management', link: 'data' },
47+
{ label: 'Behavior Driven Development', link: 'bdd' },
48+
{ label: 'Locators', link: 'locators' },
49+
{ label: 'Translation', link: 'translation' },
50+
{ label: 'Custom Helpers', link: 'custom-helpers' },
51+
{ label: 'Best Practices', link: 'best' },
52+
],
53+
},
54+
{
55+
label: 'Advanced Usage',
56+
items: [
57+
{ label: 'Advanced Usage', link: 'advanced' },
58+
{ label: 'Bootstrap', link: 'bootstrap' },
59+
{ label: 'Reporters', link: 'reports' },
60+
{ label: 'Continuous Integration', link: 'continuous-integration' },
61+
{ label: 'Parallel Execution', link: 'parallel' },
62+
{ label: 'Visual Testing', link: 'visual' },
63+
{ label: 'Email Testing', link: 'email' },
64+
{ label: 'Secrets', link: 'secrets' },
65+
{ label: 'Extending', link: 'hooks' },
66+
{ label: 'Concepts', link: 'internal-api' },
67+
{ label: 'Testing React Applications', link: 'react' },
68+
{ label: 'Testing with AI', link: 'ai' },
69+
{ label: 'Self-Healing Tests', link: 'heal' },
70+
],
71+
},
72+
],
73+
},
74+
75+
{
76+
label: 'Helpers',
77+
link: '/helpers/playwright/',
78+
items: [
79+
{
80+
label: 'Web Testing',
81+
items: [
82+
{ label: 'WebDriver', link: 'helpers/web-driver' },
83+
{ label: 'Puppeteer', link: 'helpers/puppeteer' },
84+
{ label: 'TestCafe', link: 'helpers/test-cafe' },
85+
],
86+
},
87+
{
88+
label: 'Mobile Testing',
89+
items: [
90+
{ label: 'Appium', link: 'helpers/appium' },
91+
{ label: 'Detox', link: 'helpers/detox' },
92+
],
93+
},
94+
{
95+
label: 'API Helpers',
96+
items: [
97+
{ label: 'REST', link: 'helpers/rest' },
98+
{ label: 'ApiDataFactory', link: 'helpers/api-data-factory' },
99+
{ label: 'GraphQL', link: 'helpers/graph-ql' },
100+
{ label: 'GraphQLDataFactory', link: 'helpers/graph-ql-data-factory' },
101+
{ label: 'JSONResponse', link: 'helpers/json-response' },
102+
{ label: 'MockRequest', link: 'helpers/mock-request' },
103+
],
104+
},
105+
{
106+
label: 'Other Helpers',
107+
items: [
108+
{ label: 'OpenAI', link: 'helpers/open-ai' },
109+
{ label: 'FileSystem', link: 'helpers/file-system' },
110+
{ label: 'Expect', link: 'helpers/expect' },
111+
{ label: 'SoftExpectHelper', link: 'helpers/soft-expect-helper' },
112+
{ label: 'MockServer', link: 'helpers/mock-server' },
113+
{ label: 'Community Helpers', link: 'community-helpers' },
114+
],
115+
},
116+
]
117+
},
118+
{
119+
label: 'Wiki',
120+
link: '/wiki/home/',
121+
items: [
122+
{ label: 'Wiki', autogenerate: { directory: 'wiki/' } },
123+
],
124+
},
125+
]),
126+
starlightImageZoom(),
127+
],
128+
}),
129+
],
130+
});

0 commit comments

Comments
 (0)