async-edge-cases.spec.ts — vue Source File
Architecture documentation for async-edge-cases.spec.ts, a typescript file in the vue codebase. 3 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR f404b13d_c38a_c8a5_cd72_754effa27b01["async-edge-cases.spec.ts"] 74c9703b_0a18_7462_9820_16ae2926fb68["e2eUtils.ts"] f404b13d_c38a_c8a5_cd72_754effa27b01 --> 74c9703b_0a18_7462_9820_16ae2926fb68 a0544ceb_04fe_69ff_50e4_5f4b5588b908["setupPuppeteer"] f404b13d_c38a_c8a5_cd72_754effa27b01 --> a0544ceb_04fe_69ff_50e4_5f4b5588b908 1d29bf33_f532_e958_df1c_3bd911068a94["path"] f404b13d_c38a_c8a5_cd72_754effa27b01 --> 1d29bf33_f532_e958_df1c_3bd911068a94 style f404b13d_c38a_c8a5_cd72_754effa27b01 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
// @vitest-environment node
import path from 'path'
import { E2E_TIMEOUT, setupPuppeteer } from './e2eUtils'
describe('basic-ssr', () => {
const { page, text, click, isChecked } = setupPuppeteer()
test(
'should work',
async () => {
await page().goto(
`file://${path.resolve(__dirname, `async-edge-cases.html`)}`
)
// #4510
expect(await text('#case-1')).toContain('1')
expect(await isChecked('#case-1 input')).toBe(false)
await click('#case-1 input')
expect(await text('#case-1')).toContain('2')
expect(await isChecked('#case-1 input')).toBe(true)
await click('#case-1 input')
expect(await text('#case-1')).toContain('3')
expect(await isChecked('#case-1 input')).toBe(false)
// #6566
expect(await text('#case-2 button')).toContain('Expand is True')
expect(await text('.count-a')).toContain('countA: 0')
expect(await text('.count-b')).toContain('countB: 0')
await click('#case-2 button')
expect(await text('#case-2 button')).toContain('Expand is False')
expect(await text('.count-a')).toContain('countA: 1')
expect(await text('.count-b')).toContain('countB: 0')
await click('#case-2 button')
expect(await text('#case-2 button')).toContain('Expand is True')
expect(await text('.count-a')).toContain('countA: 1')
expect(await text('.count-b')).toContain('countB: 1')
},
E2E_TIMEOUT
)
})
Domain
Dependencies
Source
Frequently Asked Questions
What does async-edge-cases.spec.ts do?
async-edge-cases.spec.ts is a source file in the vue codebase, written in typescript. It belongs to the CompilerSFC domain.
What does async-edge-cases.spec.ts depend on?
async-edge-cases.spec.ts imports 3 module(s): e2eUtils.ts, path, setupPuppeteer.
Where is async-edge-cases.spec.ts in the architecture?
async-edge-cases.spec.ts is located at test/e2e/async-edge-cases.spec.ts (domain: CompilerSFC, directory: test/e2e).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free