screenci 0.0.70 → 0.0.71

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.
@@ -1,36 +0,0 @@
1
- import { autoZoom, createNarration, hide, resetZoom, video, voices, zoomTo, } from 'screenci';
2
- const narration = createNarration({
3
- voice: { name: voices.Sophie },
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: 'The same reference also covers the final screenci record flow.',
9
- },
10
- });
11
- video('CLI reference walkthrough', async ({ page }) => {
12
- await hide(async () => {
13
- await page.goto('https://screenci.com/docs/reference/cli');
14
- await page.waitForLoadState('networkidle');
15
- });
16
- await narration.intro();
17
- await narration.source.start();
18
- await autoZoom(async () => {
19
- await page.getByText('Show source').first().click();
20
- });
21
- await narration.source.end();
22
- await narration.focus();
23
- await zoomTo(page.getByRole('heading', { name: /screenci test \[playwrightArgs/ }));
24
- await page.waitForTimeout(700);
25
- await resetZoom();
26
- await narration.next();
27
- await autoZoom(async () => {
28
- await page
29
- .getByRole('heading', { name: /screenci record \[playwrightArgs/ })
30
- .scrollIntoViewIfNeeded();
31
- });
32
- await zoomTo(page.getByRole('heading', { name: /screenci record \[playwrightArgs/ }));
33
- await page.waitForTimeout(700);
34
- await resetZoom();
35
- });
36
- //# sourceMappingURL=cli.screenci.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"cli.screenci.js","sourceRoot":"","sources":["../../../docs/video-sources/cli.screenci.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,EAA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