screenci 0.0.48 → 0.0.50
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -12
- package/dist/docs/video-sources/assets-and-overlays.video.js +13 -14
- package/dist/docs/video-sources/assets-and-overlays.video.js.map +1 -1
- package/dist/docs/video-sources/camera-and-zooming.video.js +14 -15
- package/dist/docs/video-sources/camera-and-zooming.video.js.map +1 -1
- package/dist/docs/video-sources/ci-setup.video.js +14 -15
- package/dist/docs/video-sources/ci-setup.video.js.map +1 -1
- package/dist/docs/video-sources/cli.video.js +14 -15
- package/dist/docs/video-sources/cli.video.js.map +1 -1
- package/dist/docs/video-sources/generating-videos.video.js +14 -15
- package/dist/docs/video-sources/generating-videos.video.js.map +1 -1
- package/dist/docs/video-sources/installation.video.js +7 -10
- package/dist/docs/video-sources/installation.video.js.map +1 -1
- package/dist/docs/video-sources/landing.video.d.ts +2 -0
- package/dist/docs/video-sources/landing.video.d.ts.map +1 -0
- package/dist/docs/video-sources/landing.video.js +34 -0
- package/dist/docs/video-sources/landing.video.js.map +1 -0
- package/dist/docs/video-sources/narration-and-localization.video.js +9 -14
- package/dist/docs/video-sources/narration-and-localization.video.js.map +1 -1
- package/dist/docs/video-sources/public-urls-and-embeds.video.js +14 -15
- package/dist/docs/video-sources/public-urls-and-embeds.video.js.map +1 -1
- package/dist/docs/video-sources/record-and-publish.video.js +14 -15
- package/dist/docs/video-sources/record-and-publish.video.js.map +1 -1
- package/dist/docs/video-sources/run-and-debug-videos.video.js +14 -15
- package/dist/docs/video-sources/run-and-debug-videos.video.js.map +1 -1
- package/dist/docs/video-sources/write-video-scripts.video.js +9 -14
- package/dist/docs/video-sources/write-video-scripts.video.js.map +1 -1
- package/dist/docs/videos.d.ts +2 -2
- package/dist/docs/videos.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/src/cue.d.ts +22 -26
- package/dist/src/cue.d.ts.map +1 -1
- package/dist/src/cue.js +39 -19
- package/dist/src/cue.js.map +1 -1
- package/dist/src/defaults.d.ts.map +1 -1
- package/dist/src/defaults.js +2 -2
- package/dist/src/defaults.js.map +1 -1
- package/dist/src/events.d.ts +0 -6
- package/dist/src/events.d.ts.map +1 -1
- package/dist/src/events.js.map +1 -1
- package/dist/src/init.d.ts +7 -0
- package/dist/src/init.d.ts.map +1 -1
- package/dist/src/init.js +170 -50
- package/dist/src/init.js.map +1 -1
- package/dist/src/types.d.ts +4 -4
- package/dist/src/video.d.ts +3 -7
- package/dist/src/video.d.ts.map +1 -1
- package/dist/src/video.js +3 -7
- package/dist/src/video.js.map +1 -1
- package/dist/src/voices.d.ts +10 -238
- package/dist/src/voices.d.ts.map +1 -1
- package/dist/src/voices.js +7 -93
- package/dist/src/voices.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/docs/video-sources/docs-shared.d.ts +0 -5
- package/dist/docs/video-sources/docs-shared.d.ts.map +0 -1
- package/dist/docs/video-sources/docs-shared.js +0 -14
- package/dist/docs/video-sources/docs-shared.js.map +0 -1
package/README.md
CHANGED
|
@@ -113,18 +113,18 @@ Playwright config still passes through.
|
|
|
113
113
|
|
|
114
114
|
## Authoring helpers
|
|
115
115
|
|
|
116
|
-
| Export | What it does
|
|
117
|
-
| ----------------- |
|
|
118
|
-
| `defineConfig` | Wraps Playwright config with ScreenCI defaults
|
|
119
|
-
| `video` | Declares a video recording test
|
|
120
|
-
| `createNarration` | Creates typed narration controllers
|
|
121
|
-
| `hide` | Cuts setup or cleanup out of the visible recording
|
|
122
|
-
| `autoZoom` | Smooth camera follow for an interaction block
|
|
123
|
-
| `zoomTo` | Manual camera framing for a locator or point
|
|
124
|
-
| `resetZoom` | Returns from manual framing to the full viewport
|
|
125
|
-
| `createAssets` | Inserts timed media overlays into the recording timeline
|
|
126
|
-
| `voices` | Available voice constants such as `voices.Ava`
|
|
127
|
-
| `
|
|
116
|
+
| Export | What it does |
|
|
117
|
+
| ----------------- | --------------------------------------------------------- |
|
|
118
|
+
| `defineConfig` | Wraps Playwright config with ScreenCI defaults |
|
|
119
|
+
| `video` | Declares a video recording test |
|
|
120
|
+
| `createNarration` | Creates typed narration controllers |
|
|
121
|
+
| `hide` | Cuts setup or cleanup out of the visible recording |
|
|
122
|
+
| `autoZoom` | Smooth camera follow for an interaction block |
|
|
123
|
+
| `zoomTo` | Manual camera framing for a locator or point |
|
|
124
|
+
| `resetZoom` | Returns from manual framing to the full viewport |
|
|
125
|
+
| `createAssets` | Inserts timed media overlays into the recording timeline |
|
|
126
|
+
| `voices` | Available voice constants such as `voices.Ava` |
|
|
127
|
+
| `modelTypes` | Narration model constants such as `modelTypes.consistent` |
|
|
128
128
|
|
|
129
129
|
## Output
|
|
130
130
|
|
|
@@ -1,25 +1,20 @@
|
|
|
1
1
|
import { autoZoom, createAssets, createNarration, hide, resetZoom, video, voices, zoomTo, } from 'screenci';
|
|
2
|
-
import { clickContentLink, waitForDocHeading } from './docs-shared';
|
|
3
2
|
const assets = createAssets({
|
|
4
3
|
intro: { path: './assets/intro.mp4', audio: 0, fullScreen: true },
|
|
5
4
|
});
|
|
6
5
|
const narration = createNarration({
|
|
7
6
|
voice: { name: voices.Sophie, style: 'Clear, structured docs walkthrough' },
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
focus: 'The full screen versus overlay section is where the guide explains when a clip should replace the frame and when it should sit on top of the recording.',
|
|
14
|
-
next: 'The API overview linked at the end summarizes the exported createAssets helper.',
|
|
15
|
-
},
|
|
16
|
-
},
|
|
7
|
+
en: {
|
|
8
|
+
intro: 'This guide explains how to place intro clips and overlays directly on the ScreenCI timeline.',
|
|
9
|
+
example: 'The define assets section shows the same createAssets pattern used to insert the intro clip at the start of this video.',
|
|
10
|
+
focus: 'The full screen versus overlay section is where the guide explains when a clip should replace the frame and when it should sit on top of the recording.',
|
|
11
|
+
next: 'The API overview linked at the end summarizes the exported createAssets helper.',
|
|
17
12
|
},
|
|
18
13
|
});
|
|
19
14
|
video('Assets and overlays guide', async ({ page }) => {
|
|
20
15
|
await hide(async () => {
|
|
21
|
-
await page.goto('/docs/guides/assets-and-overlays');
|
|
22
|
-
await
|
|
16
|
+
await page.goto('https://screenci.com/docs/guides/assets-and-overlays');
|
|
17
|
+
await page.waitForLoadState('networkidle');
|
|
23
18
|
});
|
|
24
19
|
await assets.intro();
|
|
25
20
|
await narration.intro();
|
|
@@ -33,8 +28,12 @@ video('Assets and overlays guide', async ({ page }) => {
|
|
|
33
28
|
await resetZoom();
|
|
34
29
|
await narration.next();
|
|
35
30
|
await autoZoom(async () => {
|
|
36
|
-
await
|
|
31
|
+
await page
|
|
32
|
+
.locator('.sl-markdown-content')
|
|
33
|
+
.getByRole('link', { name: 'Video Authoring API Overview', exact: true })
|
|
34
|
+
.first()
|
|
35
|
+
.click();
|
|
37
36
|
});
|
|
38
|
-
await
|
|
37
|
+
await page.waitForLoadState('networkidle');
|
|
39
38
|
});
|
|
40
39
|
//# sourceMappingURL=assets-and-overlays.video.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assets-and-overlays.video.js","sourceRoot":"","sources":["../../../docs/video-sources/assets-and-overlays.video.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,YAAY,EACZ,eAAe,EACf,IAAI,EACJ,SAAS,EACT,KAAK,EACL,MAAM,EACN,MAAM,GACP,MAAM,UAAU,CAAA;
|
|
1
|
+
{"version":3,"file":"assets-and-overlays.video.js","sourceRoot":"","sources":["../../../docs/video-sources/assets-and-overlays.video.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,YAAY,EACZ,eAAe,EACf,IAAI,EACJ,SAAS,EACT,KAAK,EACL,MAAM,EACN,MAAM,GACP,MAAM,UAAU,CAAA;AAEjB,MAAM,MAAM,GAAG,YAAY,CAAC;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AI,EAAE,CAAA;IACtB,MAAM,QAAQ,CAAC,KAAK,IAAI,EAAE;QACxB,MAAM,IAAI;aACP,OAAO,CAAC,sBAAsB,CAAC;aAC/B,SAAS,CAAC,MAAM,EAAE,EAAE,IAAI,EAAE,8BAA8B,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;aACxE,KAAK,EAAE;aACP,KAAK,EAAE,CAAA;IACZ,CAAC,CAAC,CAAA;IAEF,MAAM,IAAI,CAAC,gBAAgB,CAAC,aAAa,CAAC,CAAA;AAC5C,CAAC,CAAC,CAAA"}
|
|
@@ -1,27 +1,22 @@
|
|
|
1
1
|
import { autoZoom, createNarration, hide, resetZoom, video, voices, zoomTo, } from 'screenci';
|
|
2
|
-
import { clickContentLink, openSourceDetails, waitForDocHeading, } from './docs-shared';
|
|
3
2
|
const narration = createNarration({
|
|
4
3
|
voice: { name: voices.Sophie },
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
focus: 'The manual zoom section shows when to take exact control over framing instead of following the interaction automatically.',
|
|
11
|
-
next: 'The related reference page for authoring helpers is linked from the end of the guide.',
|
|
12
|
-
},
|
|
13
|
-
},
|
|
4
|
+
en: {
|
|
5
|
+
intro: 'This video walks through the two camera styles covered in the Camera and Zooming guide.',
|
|
6
|
+
source: 'The page includes the complete ScreenCI script used for this walkthrough.',
|
|
7
|
+
focus: 'The manual zoom section shows when to take exact control over framing instead of following the interaction automatically.',
|
|
8
|
+
next: 'The related reference page for authoring helpers is linked from the end of the guide.',
|
|
14
9
|
},
|
|
15
10
|
});
|
|
16
11
|
video('Camera and zooming guide', async ({ page }) => {
|
|
17
12
|
await hide(async () => {
|
|
18
|
-
await page.goto('/docs/guides/camera-and-zooming');
|
|
19
|
-
await
|
|
13
|
+
await page.goto('https://screenci.com/docs/guides/camera-and-zooming');
|
|
14
|
+
await page.waitForLoadState('networkidle');
|
|
20
15
|
});
|
|
21
16
|
await narration.intro();
|
|
22
17
|
await narration.source.start();
|
|
23
18
|
await autoZoom(async () => {
|
|
24
|
-
await
|
|
19
|
+
await page.getByText('Show source').first().click();
|
|
25
20
|
});
|
|
26
21
|
await narration.source.end();
|
|
27
22
|
await narration.focus();
|
|
@@ -30,8 +25,12 @@ video('Camera and zooming guide', async ({ page }) => {
|
|
|
30
25
|
await resetZoom();
|
|
31
26
|
await narration.next();
|
|
32
27
|
await autoZoom(async () => {
|
|
33
|
-
await
|
|
28
|
+
await page
|
|
29
|
+
.locator('.sl-markdown-content')
|
|
30
|
+
.getByRole('link', { name: 'Video Authoring API Overview', exact: true })
|
|
31
|
+
.first()
|
|
32
|
+
.click();
|
|
34
33
|
});
|
|
35
|
-
await
|
|
34
|
+
await page.waitForLoadState('networkidle');
|
|
36
35
|
});
|
|
37
36
|
//# sourceMappingURL=camera-and-zooming.video.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"camera-and-zooming.video.js","sourceRoot":"","sources":["../../../docs/video-sources/camera-and-zooming.video.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,eAAe,EACf,IAAI,EACJ,SAAS,EACT,KAAK,EACL,MAAM,EACN,MAAM,GACP,MAAM,UAAU,CAAA;
|
|
1
|
+
{"version":3,"file":"camera-and-zooming.video.js","sourceRoot":"","sources":["../../../docs/video-sources/camera-and-zooming.video.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,eAAe,EACf,IAAI,EACJ,SAAS,EACT,KAAK,EACL,MAAM,EACN,MAAM,GACP,MAAM,UAAU,CAAA;AAEjB,MAAM,SAAS,GAAG,eAAe,CAAC;IAChC,KAAK,EAAE,EAAE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE;IAC9B,EAAE,EAAE;QACF,KAAK,EACH,yFAAyF;QAC3F,MAAM,EACJ,2EAA2E;QAC7E,KAAK,EACH,2HAA2H;QAC7H,IAAI,EAAE,uFAAuF;KAC9F;CACF,CAAC,CAAA;AAEF,KAA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om, video, voices, zoomTo, } from 'screenci';
|
|
2
|
-
import { clickContentLink, openSourceDetails, waitForDocHeading, } from './docs-shared';
|
|
3
2
|
const narration = createNarration({
|
|
4
3
|
voice: { name: voices.Sophie },
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
focus: 'Further down, the guide explains how to keep CI recordings deterministic and repeatable.',
|
|
11
|
-
next: 'The related publishing guide for public delivery is linked at the end of the page.',
|
|
12
|
-
},
|
|
13
|
-
},
|
|
4
|
+
en: {
|
|
5
|
+
intro: 'This video highlights the default GitHub Actions recording workflow described in the CI Setup page.',
|
|
6
|
+
source: 'The source details let you compare the final walkthrough with the authoring script.',
|
|
7
|
+
focus: 'Further down, the guide explains how to keep CI recordings deterministic and repeatable.',
|
|
8
|
+
next: 'The related publishing guide for public delivery is linked at the end of the page.',
|
|
14
9
|
},
|
|
15
10
|
});
|
|
16
11
|
video('CI setup guide', async ({ page }) => {
|
|
17
12
|
await hide(async () => {
|
|
18
|
-
await page.goto('/docs/ci-setup');
|
|
19
|
-
await
|
|
13
|
+
await page.goto('https://screenci.com/docs/ci-setup');
|
|
14
|
+
await page.waitForLoadState('networkidle');
|
|
20
15
|
});
|
|
21
16
|
await narration.intro();
|
|
22
17
|
await narration.source.start();
|
|
23
18
|
await autoZoom(async () => {
|
|
24
|
-
await
|
|
19
|
+
await page.getByText('Show source').first().click();
|
|
25
20
|
});
|
|
26
21
|
await narration.source.end();
|
|
27
22
|
await narration.focus();
|
|
@@ -30,8 +25,12 @@ video('CI setup guide', async ({ page }) => {
|
|
|
30
25
|
await resetZoom();
|
|
31
26
|
await narration.next();
|
|
32
27
|
await autoZoom(async () => {
|
|
33
|
-
await
|
|
28
|
+
await page
|
|
29
|
+
.locator('.sl-markdown-content')
|
|
30
|
+
.getByRole('link', { name: 'Public URLs and Embeds', exact: true })
|
|
31
|
+
.first()
|
|
32
|
+
.click();
|
|
34
33
|
});
|
|
35
|
-
await
|
|
34
|
+
await page.waitForLoadState('networkidle');
|
|
36
35
|
});
|
|
37
36
|
//# sourceMappingURL=ci-setup.video.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ci-setup.video.js","sourceRoot":"","sources":["../../../docs/video-sources/ci-setup.video.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,eAAe,EACf,IAAI,EACJ,SAAS,EACT,KAAK,EACL,MAAM,EACN,MAAM,GACP,MAAM,UAAU,CAAA;
|
|
1
|
+
{"version":3,"file":"ci-setup.video.js","sourceRoot":"","sources":["../../../docs/video-sources/ci-setup.video.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,eAAe,EACf,IAAI,EACJ,SAAS,EACT,KAAK,EACL,MAAM,EACN,MAAM,GACP,MAAM,UAAU,CAAA;AAEjB,MAAM,SAAS,GAAG,eAAe,CAAC;IAChC,KAAK,EAAE,EAAE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE;IAC9B,EAAE,EAAE;QACF,KAAK,EACH,qGAAqG;QACvG,MAAM,EACJ,qFAAqF;QACvF,KAAK,EACH,0FAA0F;QAC5F,IAAI,EAAE,oFAAoF;KAC3F;CACF,CAAC,CAAA;AAEF,KAAK,CAAC,gBAAgB,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE;IACzC,MAAM,IAAI,CAAC,KAAK,IAAI,EAAE;QACpB,MAAM,IAAI,CAAC,IAAI,CAAC,oCAAoC,CAAC,CAAA;QACrD,MAAM,IAAI,CAAC,gBAAgB,CAAC,aAAa,CAAC,CAAA;IAC5C,CAAC,CAAC,CAAA;IAEF,MAAM,SAAS,CAAC,KAAK,EAAE,CAAA;IACvB,MAAM,SAAS,CAAC,MAAM,CAAC,KAAK,EAAE,CAAA;IAC9B,MAAM,QAAQ,CAAC,KAAK,IAAI,EAAE;QACxB,MAAM,IAAI,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC,KAAK,EAAE,CAAC,KAAK,EAAE,CAAA;IACrD,CAAC,CAAC,CAAA;IACF,MAAM,SAAS,CAAC,MAAM,CAAC,GAAG,EAAE,CAAA;IAE5B,MAAM,SAAS,CAAC,KAAK,EAAE,CAAA;IACvB,MAAM,MAAM,CACV,IAAI,CAAC,SAAS,CAAC,SAAS,EAAE,EAAE,IAAI,EAAE,+BAA+B,EAAE,CAAC,CACrE,CAAA;IACD,MAAM,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,CAAA;IAC9B,MAAM,SAAS,EAAE,CAAA;IAEjB,MAAM,SAAS,CAAC,IAAI,EAAE,CAAA;IACtB,MAAM,QAAQ,CAAC,KAAK,IAAI,EAAE;QACxB,MAAM,IAAI;aACP,OAAO,CAAC,sBAAsB,CAAC;aAC/B,SAAS,CAAC,MAAM,EAAE,EAAE,IAAI,EAAE,wBAAwB,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;aAClE,KAAK,EAAE;aACP,KAAK,EAAE,CAAA;IACZ,CAAC,CAAC,CAAA;IAEF,MAAM,IAAI,CAAC,gBAAgB,CAAC,aAAa,CAAC,CAAA;AAC5C,CAAC,CAAC,CAAA"}
|
|
@@ -1,27 +1,22 @@
|
|
|
1
1
|
import { autoZoom, createNarration, hide, resetZoom, video, voices, zoomTo, } from 'screenci';
|
|
2
|
-
import { clickContentLink, openSourceDetails, waitForDocHeading, } from './docs-shared';
|
|
3
2
|
const narration = createNarration({
|
|
4
3
|
voice: { name: voices.Sophie },
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
focus: 'One of the key command sections covers screenci test and the normal local iteration loop.',
|
|
11
|
-
next: 'When the guide is done, it links back to the Record and Publish workflow.',
|
|
12
|
-
},
|
|
13
|
-
},
|
|
4
|
+
en: {
|
|
5
|
+
intro: 'This video introduces the CLI reference and the most common ScreenCI commands.',
|
|
6
|
+
source: 'The page includes the ScreenCI source used to walk through the reference.',
|
|
7
|
+
focus: 'One of the key command sections covers screenci test and the normal local iteration loop.',
|
|
8
|
+
next: 'When the guide is done, it links back to the Record and Publish workflow.',
|
|
14
9
|
},
|
|
15
10
|
});
|
|
16
11
|
video('CLI reference walkthrough', async ({ page }) => {
|
|
17
12
|
await hide(async () => {
|
|
18
|
-
await page.goto('/docs/reference/cli');
|
|
19
|
-
await
|
|
13
|
+
await page.goto('https://screenci.com/docs/reference/cli');
|
|
14
|
+
await page.waitForLoadState('networkidle');
|
|
20
15
|
});
|
|
21
16
|
await narration.intro();
|
|
22
17
|
await narration.source.start();
|
|
23
18
|
await autoZoom(async () => {
|
|
24
|
-
await
|
|
19
|
+
await page.getByText('Show source').first().click();
|
|
25
20
|
});
|
|
26
21
|
await narration.source.end();
|
|
27
22
|
await narration.focus();
|
|
@@ -30,8 +25,12 @@ video('CLI reference walkthrough', async ({ page }) => {
|
|
|
30
25
|
await resetZoom();
|
|
31
26
|
await narration.next();
|
|
32
27
|
await autoZoom(async () => {
|
|
33
|
-
await
|
|
28
|
+
await page
|
|
29
|
+
.locator('.sl-markdown-content')
|
|
30
|
+
.getByRole('link', { name: 'Record and Publish', exact: true })
|
|
31
|
+
.first()
|
|
32
|
+
.click();
|
|
34
33
|
});
|
|
35
|
-
await
|
|
34
|
+
await page.waitForLoadState('networkidle');
|
|
36
35
|
});
|
|
37
36
|
//# sourceMappingURL=cli.video.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli.video.js","sourceRoot":"","sources":["../../../docs/video-sources/cli.video.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,eAAe,EACf,IAAI,EACJ,SAAS,EACT,KAAK,EACL,MAAM,EACN,MAAM,GACP,MAAM,UAAU,CAAA;
|
|
1
|
+
{"version":3,"file":"cli.video.js","sourceRoot":"","sources":["../../../docs/video-sources/cli.video.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,eAAe,EACf,IAAI,EACJ,SAAS,EACT,KAAK,EACL,MAAM,EACN,MAA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EAAE,EAAE,IAAI,EAAE,oBAAoB,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;aAC9D,KAAK,EAAE;aACP,KAAK,EAAE,CAAA;IACZ,CAAC,CAAC,CAAA;IAEF,MAAM,IAAI,CAAC,gBAAgB,CAAC,aAAa,CAAC,CAAA;AAC5C,CAAC,CAAC,CAAA"}
|
|
@@ -1,27 +1,22 @@
|
|
|
1
1
|
import { autoZoom, createNarration, hide, resetZoom, video, voices, zoomTo, } from 'screenci';
|
|
2
|
-
import { clickContentLink, openSourceDetails, waitForDocHeading, } from './docs-shared';
|
|
3
2
|
const narration = createNarration({
|
|
4
3
|
voice: { name: voices.Sophie },
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
section: 'One of the core sections focuses on generating videos directly from source code in the same repository.',
|
|
11
|
-
next: 'From here, the next step is learning how to run and debug the draft locally.',
|
|
12
|
-
},
|
|
13
|
-
},
|
|
4
|
+
en: {
|
|
5
|
+
intro: 'This video shows how the Generating Videos guide covers source based, URL based, and codegen driven starting points.',
|
|
6
|
+
source: 'The embedded source shows the exact ScreenCI script behind this documentation walkthrough.',
|
|
7
|
+
section: 'One of the core sections focuses on generating videos directly from source code in the same repository.',
|
|
8
|
+
next: 'From here, the next step is learning how to run and debug the draft locally.',
|
|
14
9
|
},
|
|
15
10
|
});
|
|
16
11
|
video('Generating videos guide', async ({ page }) => {
|
|
17
12
|
await hide(async () => {
|
|
18
|
-
await page.goto('/docs/generating-videos');
|
|
19
|
-
await
|
|
13
|
+
await page.goto('https://screenci.com/docs/generating-videos');
|
|
14
|
+
await page.waitForLoadState('networkidle');
|
|
20
15
|
});
|
|
21
16
|
await narration.intro();
|
|
22
17
|
await narration.source.start();
|
|
23
18
|
await autoZoom(async () => {
|
|
24
|
-
await
|
|
19
|
+
await page.getByText('Show source').first().click();
|
|
25
20
|
});
|
|
26
21
|
await narration.source.end();
|
|
27
22
|
await narration.section();
|
|
@@ -30,8 +25,12 @@ video('Generating videos guide', async ({ page }) => {
|
|
|
30
25
|
await resetZoom();
|
|
31
26
|
await narration.next();
|
|
32
27
|
await autoZoom(async () => {
|
|
33
|
-
await
|
|
28
|
+
await page
|
|
29
|
+
.locator('.sl-markdown-content')
|
|
30
|
+
.getByRole('link', { name: 'Run and Debug Videos', exact: true })
|
|
31
|
+
.first()
|
|
32
|
+
.click();
|
|
34
33
|
});
|
|
35
|
-
await
|
|
34
|
+
await page.waitForLoadState('networkidle');
|
|
36
35
|
});
|
|
37
36
|
//# sourceMappingURL=generating-videos.video.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generating-videos.video.js","sourceRoot":"","sources":["../../../docs/video-sources/generating-videos.video.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,eAAe,EACf,IAAI,EACJ,SAAS,EACT,KAAK,EACL,MAAM,EACN,MAAM,GACP,MAAM,UAAU,CAAA;
|
|
1
|
+
{"version":3,"file":"generating-videos.video.js","sourceRoot":"","sources":["../../../docs/video-sources/generating-videos.video.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,eAAe,EACf,IAAI,EACJ,SAAS,EACT,KAAK,EACL,MAAM,EACN,MAAM,GACP,MAAM,UAAU,CAAA;AAEjB,MAAM,SAAS,GAAG,eAAe,CAAC;IAChC,KAAK,EAAE,EAAE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE;IAC9B,EAAE,EAAE;QACF,KAAK,EACH,sHAAsH;QACxH,MAAM,EACJ,4FAA4F;QAC9F,OAAO,EACL,yGAAyG;QAC3G,IAAI,EAAE,8EAA8E;KACrF;CACF,CAAC,CAAA;AAEF,KAAK,CAAC,yBAAyB,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE;IAClD,MAAM,IAAI,CAAC,KAAK,IAAI,EAAE;QACpB,MAAM,IAAI,CAAC,IAAI,CAAC,6CAA6C,CAAC,CAAA;QAC9D,MAAM,IAAI,CAAC,gBAAgB,CAAC,aAAa,CAAC,CAAA;IAC5C,CAAC,CAAC,CAAA;IAEF,MAAM,SAAS,CAAC,KAAK,EAAE,CAAA;IACvB,MAAM,SAAS,CAAC,MAAM,CAAC,KAAK,EAAE,CAAA;IAC9B,MAAM,QAAQ,CAAC,KAAK,IAAI,EAAE;QACxB,MAAM,IAAI,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC,KAAK,EAAE,CAAC,KAAK,EAAE,CAAA;IACrD,CAAC,CAAC,CAAA;IACF,MAAM,SAAS,CAAC,MAAM,CAAC,GAAG,EAAE,CAAA;IAE5B,MAAM,SAAS,CAAC,OAAO,EAAE,CAAA;IACzB,MAAM,MAAM,CACV,IAAI,CAAC,SAAS,CAAC,SAAS,EAAE,EAAE,IAAI,EAAE,oCAAoC,EAAE,CAAC,CAC1E,CAAA;IACD,MAAM,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,CAAA;IAC9B,MAAM,SAAS,EAAE,CAAA;IAEjB,MAAM,SAAS,CAAC,IAAI,EAAE,CAAA;IACtB,MAAM,QAAQ,CAAC,KAAK,IAAI,EAAE;QACxB,MAAM,IAAI;aACP,OAAO,CAAC,sBAAsB,CAAC;aAC/B,SAAS,CAAC,MAAM,EAAE,EAAE,IAAI,EAAE,sBAAsB,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;aAChE,KAAK,EAAE;aACP,KAAK,EAAE,CAAA;IACZ,CAAC,CAAC,CAAA;IAEF,MAAM,IAAI,CAAC,gBAAgB,CAAC,aAAa,CAAC,CAAA;AAC5C,CAAC,CAAC,CAAA"}
|
|
@@ -1,21 +1,18 @@
|
|
|
1
1
|
import { autoZoom, createNarration, hide, video, voices } from 'screenci';
|
|
2
2
|
const narration = createNarration({
|
|
3
3
|
voice: { name: voices.Sophie },
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
},
|
|
10
|
-
},
|
|
4
|
+
en: {
|
|
5
|
+
docs: 'Here is where to find ScreenCI [pronounce: screen see eye] docs.',
|
|
6
|
+
},
|
|
7
|
+
es: {
|
|
8
|
+
docs: 'Aqui es donde encontrar la documentacion de ScreenCI [pronounce: screen see eye].',
|
|
11
9
|
},
|
|
12
10
|
});
|
|
13
|
-
video('How to
|
|
11
|
+
video('How to find docs', async ({ page }) => {
|
|
14
12
|
await hide(async () => {
|
|
15
|
-
await page.goto('https://screenci.com');
|
|
13
|
+
await page.goto('https://screenci.com/');
|
|
16
14
|
await page.waitForLoadState('networkidle');
|
|
17
15
|
});
|
|
18
|
-
await narration.intro();
|
|
19
16
|
await narration.docs();
|
|
20
17
|
await autoZoom(async () => {
|
|
21
18
|
await page.getByRole('link', { name: 'View Documentation' }).click();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"installation.video.js","sourceRoot":"","sources":["../../../docs/video-sources/installation.video.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,eAAe,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AAEzE,MAAM,SAAS,GAAG,eAAe,CAAC;IAChC,KAAK,EAAE,EAAE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE;IAC9B,
|
|
1
|
+
{"version":3,"file":"installation.video.js","sourceRoot":"","sources":["../../../docs/video-sources/installation.video.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,eAAe,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AAEzE,MAAM,SAAS,GAAG,eAAe,CAAC;IAChC,KAAK,EAAE,EAAE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE;IAC9B,EAAE,EAAE;QACF,IAAI,EAAE,kEAAkE;KACzE;IACD,EAAE,EAAE;QACF,IAAI,EAAE,mFAAmF;KAC1F;CACF,CAAC,CAAA;AAEF,KAAK,CAAC,kBAAkB,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE;IAC3C,MAAM,IAAI,CAAC,KAAK,IAAI,EAAE;QACpB,MAAM,IAAI,CAAC,IAAI,CAAC,uBAAuB,CAAC,CAAA;QACxC,MAAM,IAAI,CAAC,gBAAgB,CAAC,aAAa,CAAC,CAAA;IAC5C,CAAC,CAAC,CAAA;IAEF,MAAM,SAAS,CAAC,IAAI,EAAE,CAAA;IAEtB,MAAM,QAAQ,CAAC,KAAK,IAAI,EAAE;QACxB,MAAM,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE,EAAE,IAAI,EAAE,oBAAoB,EAAE,CAAC,CAAC,KAAK,EAAE,CAAA;IACtE,CAAC,CAAC,CAAA;AACJ,CAAC,CAAC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"landing.video.d.ts","sourceRoot":"","sources":["../../../docs/video-sources/landing.video.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { autoZoom, createNarration, hide, video, voices } from 'screenci';
|
|
2
|
+
const narration = createNarration({
|
|
3
|
+
voice: { name: voices.Sophie, style: 'Clear, friendly product walkthrough' },
|
|
4
|
+
en: {
|
|
5
|
+
docs: 'Here is where to find ScreenCI [pronounce: screen see eye] docs.',
|
|
6
|
+
},
|
|
7
|
+
es: {
|
|
8
|
+
docs: 'Aqui es donde encontrar la documentacion de ScreenCI [pronounce: screen see eye].',
|
|
9
|
+
},
|
|
10
|
+
});
|
|
11
|
+
video('Landing light', async ({ page }) => {
|
|
12
|
+
await hide(async () => {
|
|
13
|
+
await page.goto('https://screenci.com/');
|
|
14
|
+
await page.waitForLoadState('networkidle');
|
|
15
|
+
await page.evaluate(() => {
|
|
16
|
+
document.cookie = 'themePreference=light; path=/';
|
|
17
|
+
localStorage.setItem('starlight-theme', 'light');
|
|
18
|
+
document.documentElement.classList.remove('dark');
|
|
19
|
+
document.documentElement.setAttribute('data-theme', 'light');
|
|
20
|
+
});
|
|
21
|
+
await page.locator('[data-hero-video]').evaluate((element) => {
|
|
22
|
+
if (!(element instanceof HTMLVideoElement)) {
|
|
23
|
+
return;
|
|
24
|
+
}
|
|
25
|
+
element.pause();
|
|
26
|
+
element.currentTime = 0;
|
|
27
|
+
});
|
|
28
|
+
});
|
|
29
|
+
await narration.docs();
|
|
30
|
+
await autoZoom(async () => {
|
|
31
|
+
await page.getByRole('link', { name: 'View Documentation' }).click();
|
|
32
|
+
});
|
|
33
|
+
});
|
|
34
|
+
//# sourceMappingURL=landing.video.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"landing.video.js","sourceRoot":"","sources":["../../../docs/video-sources/landing.video.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,eAAe,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AAEzE,MAAM,SAAS,GAAG,eAAe,CAAC;IAChC,KAAK,EAAE,EAAE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,EAAE,qCAAqC,EAAE;IAC5E,EAAE,EAAE;QACF,IAAI,EAAE,kEAAkE;KACzE;IACD,EAAE,EAAE;QACF,IAAI,EAAE,mFAAmF;KAC1F;CACF,CAAC,CAAA;AAEF,KAAK,CAAC,eAAe,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE;IACxC,MAAM,IAAI,CAAC,KAAK,IAAI,EAAE;QACpB,MAAM,IAAI,CAAC,IAAI,CAAC,uBAAuB,CAAC,CAAA;QACxC,MAAM,IAAI,CAAC,gBAAgB,CAAC,aAAa,CAAC,CAAA;QAE1C,MAAM,IAAI,CAAC,QAAQ,CAAC,GAAG,EAAE;YACvB,QAAQ,CAAC,MAAM,GAAG,+BAA+B,CAAA;YACjD,YAAY,CAAC,OAAO,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAA;YAChD,QAAQ,CAAC,eAAe,CAAC,SAAS,CAAC,MAAM,CAAC,MAAM,CAAC,CAAA;YACjD,QAAQ,CAAC,eAAe,CAAC,YAAY,CAAC,YAAY,EAAE,OAAO,CAAC,CAAA;QAC9D,CAAC,CAAC,CAAA;QAEF,MAAM,IAAI,CAAC,OAAO,CAAC,mBAAmB,CAAC,CAAC,QAAQ,CAAC,CAAC,OAAO,EAAE,EAAE;YAC3D,IAAI,CAAC,CAAC,OAAO,YAAY,gBAAgB,CAAC,EAAE,CAAC;gBAC3C,OAAM;YACR,CAAC;YAED,OAAO,CAAC,KAAK,EAAE,CAAA;YACf,OAAO,CAAC,WAAW,GAAG,CAAC,CAAA;QACzB,CAAC,CAAC,CAAA;IACJ,CAAC,CAAC,CAAA;IAEF,MAAM,SAAS,CAAC,IAAI,EAAE,CAAA;IAEtB,MAAM,QAAQ,CAAC,KAAK,IAAI,EAAE;QACxB,MAAM,IAAI,CAAC,SAAS,CAAC,MAAM,EAAE,EAAE,IAAI,EAAE,oBAAoB,EAAE,CAAC,CAAC,KAAK,EAAE,CAAA;IACtE,CAAC,CAAC,CAAA;AACJ,CAAC,CAAC,CAAA"}
|
|
@@ -1,27 +1,22 @@
|
|
|
1
1
|
import { autoZoom, createNarration, hide, resetZoom, video, voices, zoomTo, } from 'screenci';
|
|
2
|
-
import { openSourceDetails, waitForDocHeading } from './docs-shared';
|
|
3
2
|
const narration = createNarration({
|
|
4
3
|
voice: { name: voices.Sophie },
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
focus: 'One of the most important sections explains how to overlap spoken cues with visible motion.',
|
|
11
|
-
next: 'The next guide expands from narration into camera movement and zooming.',
|
|
12
|
-
},
|
|
13
|
-
},
|
|
4
|
+
en: {
|
|
5
|
+
intro: 'This video introduces the Narration and Localization guide for cue based speech and multi language output.',
|
|
6
|
+
source: 'The source block shows how the guide video itself uses narration cues and typed source.',
|
|
7
|
+
focus: 'One of the most important sections explains how to overlap spoken cues with visible motion.',
|
|
8
|
+
next: 'The next guide expands from narration into camera movement and zooming.',
|
|
14
9
|
},
|
|
15
10
|
});
|
|
16
11
|
video('Narration and localization guide', async ({ page }) => {
|
|
17
12
|
await hide(async () => {
|
|
18
|
-
await page.goto('/docs/guides/narration-and-localization');
|
|
19
|
-
await
|
|
13
|
+
await page.goto('https://screenci.com/docs/guides/narration-and-localization');
|
|
14
|
+
await page.waitForLoadState('networkidle');
|
|
20
15
|
});
|
|
21
16
|
await narration.intro();
|
|
22
17
|
await narration.source.start();
|
|
23
18
|
await autoZoom(async () => {
|
|
24
|
-
await
|
|
19
|
+
await page.getByText('Show source').first().click();
|
|
25
20
|
});
|
|
26
21
|
await narration.source.end();
|
|
27
22
|
await narration.focus();
|
|
@@ -35,6 +30,6 @@ video('Narration and localization guide', async ({ page }) => {
|
|
|
35
30
|
.first()
|
|
36
31
|
.click();
|
|
37
32
|
});
|
|
38
|
-
await
|
|
33
|
+
await page.waitForLoadState('networkidle');
|
|
39
34
|
});
|
|
40
35
|
//# sourceMappingURL=narration-and-localization.video.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"narration-and-localization.video.js","sourceRoot":"","sources":["../../../docs/video-sources/narration-and-localization.video.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,eAAe,EACf,IAAI,EACJ,SAAS,EACT,KAAK,EACL,MAAM,EACN,MAAM,GACP,MAAM,UAAU,CAAA;
|
|
1
|
+
{"version":3,"file":"narration-and-localization.video.js","sourceRoot":"","sources":["../../../docs/video-sources/narration-and-localization.video.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,eAAe,EACf,IAAI,EACJ,SAAS,EACT,KAAK,EACL,MAAM,EACN,MAAM,GACP,MAAM,UAAU,CAAA;AAEjB,MAAM,SAAS,GAAG,eAAe,CAAC;IAChC,KAAK,EAAE,EAAE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE;IAC9B,EAAE,EAAE;QACF,KAAK,EACH,4GAA4G;QAC9G,MAAM,EACJ,yFAAyF;QAC3F,KA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22 @@
|
|
|
1
1
|
import { autoZoom, createNarration, hide, resetZoom, video, voices, zoomTo, } from 'screenci';
|
|
2
|
-
import { clickContentLink, openSourceDetails, waitForDocHeading, } from './docs-shared';
|
|
3
2
|
const narration = createNarration({
|
|
4
3
|
voice: { name: voices.Sophie },
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
focus: 'The embed example is the core section when you want to place a public ScreenCI video into another site.',
|
|
11
|
-
next: 'The page links directly to the endpoint level Public Delivery API reference.',
|
|
12
|
-
},
|
|
13
|
-
},
|
|
4
|
+
en: {
|
|
5
|
+
intro: 'This video shows how the Public URLs and Embeds guide explains stable published delivery links.',
|
|
6
|
+
source: 'The source details make it easy to compare the written guide with the authored walkthrough.',
|
|
7
|
+
focus: 'The embed example is the core section when you want to place a public ScreenCI video into another site.',
|
|
8
|
+
next: 'The page links directly to the endpoint level Public Delivery API reference.',
|
|
14
9
|
},
|
|
15
10
|
});
|
|
16
11
|
video('Public URLs and embeds guide', async ({ page }) => {
|
|
17
12
|
await hide(async () => {
|
|
18
|
-
await page.goto('/docs/guides/public-urls-and-embeds');
|
|
19
|
-
await
|
|
13
|
+
await page.goto('https://screenci.com/docs/guides/public-urls-and-embeds');
|
|
14
|
+
await page.waitForLoadState('networkidle');
|
|
20
15
|
});
|
|
21
16
|
await narration.intro();
|
|
22
17
|
await narration.source.start();
|
|
23
18
|
await autoZoom(async () => {
|
|
24
|
-
await
|
|
19
|
+
await page.getByText('Show source').first().click();
|
|
25
20
|
});
|
|
26
21
|
await narration.source.end();
|
|
27
22
|
await narration.focus();
|
|
@@ -30,8 +25,12 @@ video('Public URLs and embeds guide', async ({ page }) => {
|
|
|
30
25
|
await resetZoom();
|
|
31
26
|
await narration.next();
|
|
32
27
|
await autoZoom(async () => {
|
|
33
|
-
await
|
|
28
|
+
await page
|
|
29
|
+
.locator('.sl-markdown-content')
|
|
30
|
+
.getByRole('link', { name: 'Public Delivery API', exact: true })
|
|
31
|
+
.first()
|
|
32
|
+
.click();
|
|
34
33
|
});
|
|
35
|
-
await
|
|
34
|
+
await page.waitForLoadState('networkidle');
|
|
36
35
|
});
|
|
37
36
|
//# sourceMappingURL=public-urls-and-embeds.video.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"public-urls-and-embeds.video.js","sourceRoot":"","sources":["../../../docs/video-sources/public-urls-and-embeds.video.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,eAAe,EACf,IAAI,EACJ,SAAS,EACT,KAAK,EACL,MAAM,EACN,MAAM,GACP,MAAM,UAAU,CAAA;
|
|
1
|
+
{"version":3,"file":"public-urls-and-embeds.video.js","sourceRoot":"","sources":["../../../docs/video-sources/public-urls-and-embeds.video.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,eAAe,EACf,IAAI,EACJ,SAAS,EACT,KAAK,EACL,MAAM,EACN,MAAM,GACP,MAAM,UAAU,CAAA;AAEjB,MAAM,SAAS,GAAG,eAAe,CAAC;IAChC,KAAK,EAAE,EAAE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE;IAC9B,EAAE,EAAE;QACF,KAAK,EACH,iGAAiG;QACnG,MAAM,EACJ,6FAA6F;QAC/F,KAAK,EACH,yGAAyG;QAC3G,IAAI,EAAE,8EAA8E;KACrF;CACF,CAAC,CAAA;AAEF,KAAK,CAAC,8BAA8B,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE;IACvD,MAAM,IAAI,CAAC,KAAK,IAAI,EAAE;QACpB,MAAM,IAAI,CAAC,IAAI,CAAC,yDAAyD,CAAC,CAAA;QAC1E,MAAM,IAAI,CAAC,gBAAgB,CAAC,aAAa,CAAC,CAAA;IAC5C,CAAC,CAAC,CAAA;IAEF,MAAM,SAAS,CAAC,KAAK,EAAE,CAAA;IACvB,MAAM,SAAS,CAAC,MAAM,CAAC,KAAK,EAAE,CAAA;IAC9B,MAAM,QAAQ,CAAC,KAAK,IAAI,EAAE;QACxB,MAAM,IAAI,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC,KAAK,EAAE,CAAC,KAAK,EAAE,CAAA;IACrD,CAAC,CAAC,CAAA;IACF,MAAM,SAAS,CAAC,MAAM,CAAC,GAAG,EAAE,CAAA;IAE5B,MAAM,SAAS,CAAC,KAAK,EAAE,CAAA;IACvB,MAAM,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,SAAS,EAAE,EAAE,IAAI,EAAE,eAAe,EAAE,CAAC,CAAC,CAAA;IAClE,MAAM,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,CAAA;IAC9B,MAAM,SAAS,EAAE,CAAA;IAEjB,MAAM,SAAS,CAAC,IAAI,EAAE,CAAA;IACtB,MAAM,QAAQ,CAAC,KAAK,IAAI,EAAE;QACxB,MAAM,IAAI;aACP,OAAO,CAAC,sBAAsB,CAAC;aAC/B,SAAS,CAAC,MAAM,EAAE,EAAE,IAAI,EAAE,qBAAqB,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;aAC/D,KAAK,EAAE;aACP,KAAK,EAAE,CAAA;IACZ,CAAC,CAAC,CAAA;IAEF,MAAM,IAAI,CAAC,gBAAgB,CAAC,aAAa,CAAC,CAAA;AAC5C,CAAC,CAAC,CAAA"}
|
|
@@ -1,27 +1,22 @@
|
|
|
1
1
|
import { autoZoom, createNarration, hide, resetZoom, video, voices, zoomTo, } from 'screenci';
|
|
2
|
-
import { clickContentLink, openSourceDetails, waitForDocHeading, } from './docs-shared';
|
|
3
2
|
const narration = createNarration({
|
|
4
3
|
voice: { name: voices.Sophie },
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
focus: 'One section explains what gets rendered after a successful recording run.',
|
|
11
|
-
next: 'The next linked page covers the GitHub Actions workflow used for CI recording.',
|
|
12
|
-
},
|
|
13
|
-
},
|
|
4
|
+
en: {
|
|
5
|
+
intro: 'This video covers the point where local test runs become final ScreenCI recordings.',
|
|
6
|
+
source: 'The page also exposes the underlying ScreenCI source for this walkthrough.',
|
|
7
|
+
focus: 'One section explains what gets rendered after a successful recording run.',
|
|
8
|
+
next: 'The next linked page covers the GitHub Actions workflow used for CI recording.',
|
|
14
9
|
},
|
|
15
10
|
});
|
|
16
11
|
video('Record and publish guide', async ({ page }) => {
|
|
17
12
|
await hide(async () => {
|
|
18
|
-
await page.goto('/docs/record-and-publish');
|
|
19
|
-
await
|
|
13
|
+
await page.goto('https://screenci.com/docs/record-and-publish');
|
|
14
|
+
await page.waitForLoadState('networkidle');
|
|
20
15
|
});
|
|
21
16
|
await narration.intro();
|
|
22
17
|
await narration.source.start();
|
|
23
18
|
await autoZoom(async () => {
|
|
24
|
-
await
|
|
19
|
+
await page.getByText('Show source').first().click();
|
|
25
20
|
});
|
|
26
21
|
await narration.source.end();
|
|
27
22
|
await narration.focus();
|
|
@@ -30,8 +25,12 @@ video('Record and publish guide', async ({ page }) => {
|
|
|
30
25
|
await resetZoom();
|
|
31
26
|
await narration.next();
|
|
32
27
|
await autoZoom(async () => {
|
|
33
|
-
await
|
|
28
|
+
await page
|
|
29
|
+
.locator('.sl-markdown-content')
|
|
30
|
+
.getByRole('link', { name: 'CI Setup', exact: true })
|
|
31
|
+
.first()
|
|
32
|
+
.click();
|
|
34
33
|
});
|
|
35
|
-
await
|
|
34
|
+
await page.waitForLoadState('networkidle');
|
|
36
35
|
});
|
|
37
36
|
//# sourceMappingURL=record-and-publish.video.js.map
|