docs: add getting started guide #12
Annotations
8 errors, 3 warnings, and 1 notice
|
Test E2E
Process completed with exit code 1.
|
|
[Default] › test/preview.test.ts:44:1 › user can see new content when "autoReload: true" is set:
e2e/test/preview.test.ts#L48
4) [Default] › test/preview.test.ts:44:1 › user can see new content when "autoReload: true" is set
Error: Timed out 10000ms waiting for expect(locator).toBeVisible()
Locator: frameLocator('[title="Server"]').getByText('Before')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 10000ms
- waiting for frameLocator('[title="Server"]').getByText('Before')
46 |
47 | await expect(page.getByRole('heading', { level: 1, name: 'Preview test - Auto Reload From' })).toBeVisible();
> 48 | await expect(page.frameLocator('[title="Server"]').getByText('Before')).toBeVisible({ timeout: 10_000 });
| ^
49 |
50 | await page.getByRole('link', { name: 'Auto Reload To' }).click();
51 |
at /home/runner/work/tutorialkit/tutorialkit/e2e/test/preview.test.ts:48:75
|
|
[Default] › test/navigation.test.ts:72:1 › user should not see preview on lessons that disable it (#405):
e2e/test/navigation.test.ts#L79
3) [Default] › test/navigation.test.ts:72:1 › user should not see preview on lessons that disable it (#405)
Error: expect(locator).toBeVisible()
Locator: frameLocator('[title="Custom preview"]').getByText('Index page')
Expected: visible
Received: <element(s) not found>
Call log:
- expect.toBeVisible with timeout 30000ms
- waiting for frameLocator('[title="Custom preview"]').getByText('Index page')
77 |
78 | const preview = page.frameLocator('[title="Custom preview"]');
> 79 | await expect(preview.getByText('Index page')).toBeVisible();
| ^
80 |
81 | await menu.navigate({ from: 'Layout change from', to: 'Layout change all off' });
82 |
at /home/runner/work/tutorialkit/tutorialkit/e2e/test/navigation.test.ts:79:49
|
|
[Default] › test/navigation.test.ts:72:1 › user should not see preview on lessons that disable it (#405):
e2e/test/navigation.test.ts#L0
3) [Default] › test/navigation.test.ts:72:1 › user should not see preview on lessons that disable it (#405)
Test timeout of 30000ms exceeded.
|
|
[Default] › test/filesystem.test.ts:45:1 › editor should reflect changes made from webcontainer in specified paths:
e2e/test/filesystem.test.ts#L55
2) [Default] › test/filesystem.test.ts:45:1 › editor should reflect changes made from webcontainer in specified paths
Error: expect(locator).toHaveText(expected)
Locator: getByRole('textbox', { name: 'Editor' })
- Expected string - 1
+ Received string + 3
- Something else
+ Initial content
+
+
Call log:
- expect.toHaveText with timeout 30000ms
- waiting for getByRole('textbox', { name: 'Editor' })
- locator resolved to <div translate="no" role="textbox" autocorrect="off" spellcheck="false" class="cm-content" aria-label="Editor" autocapitalize="off" aria-multiline="true" contenteditable="true">…</div>
- unexpected value "Initial content
"
- locator resolved to <div translate="no" role="textbox" autocorrect="off" spellcheck="false" class="cm-content" aria-label="Editor" autocapitalize="off" aria-multiline="true" contenteditable="true">…</div>
- unexpected value "Initial content
"
- locator resolved to <div translate="no" role="textbox" autocorrect="off" spellcheck="false" class="cm-content" aria-label="Editor" autocapitalize="off" aria-multiline="true" contenteditable="true">…</div>
- unexpected value "Initial content
"
- locator resolved to <div translate="no" role="textbox" autocorrect="off" spellcheck="false" class="cm-content" aria-label="Editor" autocapitalize="off" aria-multiline="true" contenteditable="true">…</div>
- unexpected value "Initial content
"
- locator resolved to <div translate="no" role="textbox" autocorrect="off" spellcheck="false" class="cm-content" aria-label="Editor" autocapitalize="off" aria-multiline="true" contenteditable="true">…</div>
- unexpected value "Initial content
"
- locator resolved to <div translate="no" role="textbox" autocorrect="off" spellcheck="false" class="cm-content" aria-label="Editor" autocapitalize="off" aria-multiline="true" contenteditable="true">…</div>
- unexpected value "Initial content
"
- locator resolved to <div translate="no" role="textbox" autocorrect="off" spellcheck="false" class="cm-content" aria-label="Editor" autocapitalize="off" aria-multiline="true" contenteditable="true">…</div>
- unexpected value "Initial content
"
- locator resolved to <div translate="no" role="textbox" autocorrect="off" spellcheck="false" class="cm-content" aria-label="Editor" autocapitalize="off" aria-multiline="true" contenteditable="true">…</div>
- unexpected value "Initial content
"
- locator resolved to <div translate="no" role="textbox" autocorrect="off" spellcheck="false" class="cm-content" aria-label="Editor" autocapitalize="off" aria-multiline="true" contenteditable="true">…</div>
- unexpected value "Initial content
"
- locator resolved to <div translate="no" role="textbox" autocorrect="off" spellcheck="false" class="cm-content" aria-label="Editor" autocapitalize="off" aria-multiline="true" contenteditable="true">…</div>
- unexpected value "Initial content
"
- locator resolved to <div translate="no" role="textbox" autocorrect="off" spellcheck="false" class="cm-content" aria-label="Editor" autocapitalize="off" aria-multiline="true" contenteditable="true">…</div>
- unexpected value "Initial content
"
- locator resolved to <div translate="no" role="textbox" autocorrect="off" spellcheck="false" class="cm-content" aria-label="Editor" autocapitalize="off" aria-multiline="true" contenteditable="true">…</div>
- unexpected value "Initial content
"
- locator resolved to <div translate="no" role="textbox" autocorrect="off" spellcheck="false" class="cm-content" aria-label="Editor" autocapitalize="off" aria-multiline="true" contenteditable="true">…</div>
- unexpected value "Initial content
"
- locator resolved to <div translate="no" role="textbox" autocorrect="off" spellcheck="false" class="cm-content" aria-label="Editor" autocapital
|
|
[Default] › test/filesystem.test.ts:45:1 › editor should reflect changes made from webcontainer in specified paths:
e2e/test/filesystem.test.ts#L0
2) [Default] › test/filesystem.test.ts:45:1 › editor should reflect changes made from webcontainer in specified paths
Test timeout of 30000ms exceeded.
|
|
[Default] › test/file-tree.test.ts:226:1 › user cannot create files or folders that exist on template:
e2e/test/file-tree.test.ts#L232
1) [Default] › test/file-tree.test.ts:226:1 › user cannot create files or folders that exist on template
Error: expect(locator).toContainText(expected)
Locator: getByRole('tabpanel', { name: 'Terminal' })
Expected string: "~/tutorial"
Received string: " "
Call log:
- expect.toContainText with timeout 30000ms
- waiting for getByRole('tabpanel', { name: 'Terminal' })
- locator resolved to <div class="h-full" role="tabpanel" id="tk-terminal-tapbanel-0" aria-labelledby="tk-terminal-tab-0">…</div>
- unexpected value "Booting WebContainer... "
- locator resolved to <div class="h-full" role="tabpanel" id="tk-terminal-tapbanel-0" aria-labelledby="tk-terminal-tab-0">…</div>
- unexpected value "Booting WebContainer... "
- locator resolved to <div class="h-full" role="tabpanel" id="tk-terminal-tapbanel-0" aria-labelledby="tk-terminal-tab-0">…</div>
- unexpected value "Booting WebContainer... "
- locator resolved to <div class="h-full" role="tabpanel" id="tk-terminal-tapbanel-0" aria-labelledby="tk-terminal-tab-0">…</div>
- unexpected value "Booting WebContainer... "
- locator resolved to <div class="h-full" role="tabpanel" id="tk-terminal-tapbanel-0" aria-labelledby="tk-terminal-tab-0">…</div>
- unexpected value "Booting WebContainer... "
- locator resolved to <div class="h-full" role="tabpanel" id="tk-terminal-tapbanel-0" aria-labelledby="tk-terminal-tab-0">…</div>
- unexpected value "Booting WebContainer... "
- locator resolved to <div class="h-full" role="tabpanel" id="tk-terminal-tapbanel-0" aria-labelledby="tk-terminal-tab-0">…</div>
- unexpected value "Booting WebContainer... "
- locator resolved to <div class="h-full" role="tabpanel" id="tk-terminal-tapbanel-0" aria-labelledby="tk-terminal-tab-0">…</div>
- unexpected value " "
- locator resolved to <div class="h-full" role="tabpanel" id="tk-terminal-tapbanel-0" aria-labelledby="tk-terminal-tab-0">…</div>
- unexpected value " "
- locator resolved to <div class="h-full" role="tabpanel" id="tk-terminal-tapbanel-0" aria-labelledby="tk-terminal-tab-0">…</div>
- unexpected value " "
- locator resolved to <div class="h-full" role="tabpanel" id="tk-terminal-tapbanel-0" aria-labelledby="tk-terminal-tab-0">…</div>
- unexpected value " "
- locator resolved to <div class="h-full" role="tabpanel" id="tk-terminal-tapbanel-0" aria-labelledby="tk-terminal-tab-0">…</div>
- unexpected value " "
- locator resolved to <div class="h-full" role="tabpanel" id="tk-terminal-tapbanel-0" aria-labelledby="tk-terminal-tab-0">…</div>
- unexpected value " "
- locator resolved to <div class="h-full" role="tabpanel" id="tk-terminal-tapbanel-0" aria-labelledby="tk-terminal-tab-0">…</div>
- unexpected value " "
- locator resolved to <div class="h-full" role="tabpanel" id="tk-terminal-tapbanel-0" aria-labelledby="tk-terminal-tab-0">…</div>
- unexpected value " "
- locator resolved to <div class="h-full" role="tabpanel" id="tk-terminal-tapbanel-0" aria-labelledby="tk-terminal-tab-0">…</div>
- unexpected value " "
- locator resolved to <div class="h-full" role="tabpanel" id="tk-terminal-tapbanel-0" aria-labelledby="tk-terminal-tab-0">…</div>
- unexpected value " "
- locator resolved to <div class="h-full" role="tabpanel" id="tk-terminal-tapbanel-0" aria-labelledby="tk-terminal-tab-0">…</div>
- unexpected value " "
- locator resolved to <div class="h-full" role="tabpanel" id="tk-terminal-tapbanel-0" aria-labelledby="tk-terminal-tab-0">…</div>
- unexpected value " "
- locator resolved to <div class="h-full" role="tabpanel" id="tk-terminal-tapbanel-0" aria-labelledby="tk-terminal-tab-0">…</div>
- unexpected value " "
- locator resolved to <div class="h-full" role="tabpanel" id="tk-terminal-tapbanel-0" aria-labelled
|
|
[Default] › test/file-tree.test.ts:226:1 › user cannot create files or folders that exist on template:
e2e/test/file-tree.test.ts#L0
1) [Default] › test/file-tree.test.ts:226:1 › user cannot create files or folders that exist on template
Test timeout of 30000ms exceeded.
|
|
Slow Test:
e2e/[Default] › test/terminal.test.ts#L0
e2e/[Default] › test/terminal.test.ts took 20.1s
|
|
Slow Test:
e2e/[Default] › test/navigation.test.ts#L0
e2e/[Default] › test/navigation.test.ts took 43.9s
|
|
Slow Test:
e2e/[Default] › test/file-tree.test.ts#L0
e2e/[Default] › test/file-tree.test.ts took 1.6m
|
|
🎭 Playwright Run Summary
4 failed
[Default] › test/file-tree.test.ts:226:1 › user cannot create files or folders that exist on template
[Default] › test/filesystem.test.ts:45:1 › editor should reflect changes made from webcontainer in specified paths
[Default] › test/navigation.test.ts:72:1 › user should not see preview on lessons that disable it (#405)
[Default] › test/preview.test.ts:44:1 › user can see new content when "autoReload: true" is set
1 skipped
31 passed (4.2m)
|