@nextsparkjs/theme-productivity 0.1.0-beta.19 → 0.1.0-beta.20
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/package.json +2 -2
- package/tests/cypress/e2e/ui/boards/boards-owner.cy.ts +349 -0
- package/tests/cypress/e2e/ui/cards/cards-modal.cy.ts +369 -0
- package/tests/cypress/e2e/ui/kanban/kanban-cards.cy.ts +280 -0
- package/tests/cypress/e2e/ui/kanban/kanban-columns.cy.ts +243 -0
- package/tests/cypress/fixtures/blocks.json +9 -0
- package/tests/cypress/fixtures/entities.json +60 -0
- package/tests/cypress/src/components/BoardsPOM.ts +353 -0
- package/tests/cypress/src/components/CardsPOM.ts +383 -0
- package/tests/cypress/src/components/KanbanPOM.ts +399 -0
- package/tests/cypress/src/components/index.ts +9 -0
- package/tests/cypress/src/controllers/BoardsAPIController.js +302 -0
- package/tests/cypress/src/controllers/CardsAPIController.js +406 -0
- package/tests/cypress/src/controllers/ListsAPIController.js +299 -0
- package/tests/cypress/src/index.ts +25 -0
- package/tests/cypress/src/selectors.ts +50 -0
- package/tests/cypress/src/session-helpers.ts +105 -0
- package/tests/cypress/support/e2e.ts +89 -0
- package/tests/cypress.config.ts +165 -0
- package/tests/tsconfig.json +15 -0
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Productivity Theme - Cypress Test Classes
|
|
3
|
+
*
|
|
4
|
+
* Exports all POMs, controllers, and helpers for the productivity theme tests.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
// Session helpers
|
|
8
|
+
export {
|
|
9
|
+
PRODUCTIVITY_USERS,
|
|
10
|
+
loginAsProductivityOwner,
|
|
11
|
+
loginAsProductivityAdmin,
|
|
12
|
+
loginAsProductivityMember,
|
|
13
|
+
loginAsProductivityMemberMarketing,
|
|
14
|
+
loginAsOwner,
|
|
15
|
+
} from './session-helpers'
|
|
16
|
+
|
|
17
|
+
// POMs
|
|
18
|
+
export { BoardsPOM } from './components/BoardsPOM'
|
|
19
|
+
export { KanbanPOM } from './components/KanbanPOM'
|
|
20
|
+
export { CardsPOM } from './components/CardsPOM'
|
|
21
|
+
|
|
22
|
+
// API Controllers (JS - require syntax)
|
|
23
|
+
// Import with: const BoardsAPIController = require('./controllers/BoardsAPIController')
|
|
24
|
+
// const ListsAPIController = require('./controllers/ListsAPIController')
|
|
25
|
+
// const CardsAPIController = require('./controllers/CardsAPIController')
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Theme Selectors for Cypress Tests
|
|
3
|
+
*
|
|
4
|
+
* This file re-exports from the main selectors in lib/.
|
|
5
|
+
* The lib/selectors.ts is the source of truth, placed there so
|
|
6
|
+
* block components can import it (tests/ is excluded from TypeScript).
|
|
7
|
+
*
|
|
8
|
+
* Architecture:
|
|
9
|
+
* - Core selectors: `core/lib/test/core-selectors.ts`
|
|
10
|
+
* - Theme selectors (source): `lib/selectors.ts`
|
|
11
|
+
* - Theme selectors (tests): This file (re-exports)
|
|
12
|
+
*
|
|
13
|
+
* @example POM usage:
|
|
14
|
+
* ```typescript
|
|
15
|
+
* import { cySelector, sel, SELECTORS } from '../selectors'
|
|
16
|
+
*
|
|
17
|
+
* class MyPOM extends BasePOM {
|
|
18
|
+
* get elements() {
|
|
19
|
+
* return {
|
|
20
|
+
* loginForm: cySelector('auth.login.form'),
|
|
21
|
+
* submitButton: cySelector('auth.login.submit'),
|
|
22
|
+
* boardsList: cySelector('entities.boards.list'),
|
|
23
|
+
* }
|
|
24
|
+
* }
|
|
25
|
+
* }
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
|
|
29
|
+
// Re-export everything from the lib selectors
|
|
30
|
+
export {
|
|
31
|
+
BLOCK_SELECTORS,
|
|
32
|
+
ENTITY_SELECTORS,
|
|
33
|
+
KANBAN_SELECTORS,
|
|
34
|
+
THEME_SELECTORS,
|
|
35
|
+
SELECTORS,
|
|
36
|
+
sel,
|
|
37
|
+
s,
|
|
38
|
+
selDev,
|
|
39
|
+
cySelector,
|
|
40
|
+
entitySelectors,
|
|
41
|
+
CORE_SELECTORS,
|
|
42
|
+
} from '../../../lib/selectors'
|
|
43
|
+
|
|
44
|
+
export type {
|
|
45
|
+
ThemeSelectorsType,
|
|
46
|
+
BlockSelectorsType,
|
|
47
|
+
EntitySelectorsType,
|
|
48
|
+
KanbanSelectorsType,
|
|
49
|
+
Replacements,
|
|
50
|
+
} from '../../../lib/selectors'
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Productivity Theme Session Helpers
|
|
3
|
+
*
|
|
4
|
+
* Direct login functions for Productivity theme tests using theme-specific users.
|
|
5
|
+
* These helpers don't depend on ACTIVE_THEME environment variable.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import { DevKeyring } from '../../../../../../test/cypress/src/classes/components/auth/DevKeyring.js'
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Productivity Test Users - from app.config.ts devKeyring
|
|
12
|
+
*/
|
|
13
|
+
export const PRODUCTIVITY_USERS = {
|
|
14
|
+
OWNER: 'prod_owner_patricia@nextspark.dev', // Patricia Torres - Product Team (owner), Marketing Hub (owner)
|
|
15
|
+
ADMIN: 'prod_admin_member_lucas@nextspark.dev', // Lucas Luna - Product Team (admin), Marketing Hub (member)
|
|
16
|
+
MEMBER_PRODUCT: 'prod_member_diana@nextspark.dev', // Diana Rios - Product Team (member)
|
|
17
|
+
MEMBER_MARKETING: 'prod_member_marcos@nextspark.dev', // Marcos Silva - Marketing Hub (member)
|
|
18
|
+
} as const
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Login as Productivity Owner (Patricia Torres)
|
|
22
|
+
* Has owner role in Product Team and Marketing Hub
|
|
23
|
+
* Session is cached and reused across tests
|
|
24
|
+
*/
|
|
25
|
+
export function loginAsProductivityOwner() {
|
|
26
|
+
cy.session('productivity-owner-session', () => {
|
|
27
|
+
cy.visit('/login')
|
|
28
|
+
const devKeyring = new DevKeyring()
|
|
29
|
+
devKeyring.validateVisible()
|
|
30
|
+
devKeyring.quickLoginByEmail(PRODUCTIVITY_USERS.OWNER)
|
|
31
|
+
cy.url().should('include', '/dashboard')
|
|
32
|
+
}, {
|
|
33
|
+
validate: () => {
|
|
34
|
+
cy.visit('/dashboard')
|
|
35
|
+
cy.url().should('include', '/dashboard')
|
|
36
|
+
}
|
|
37
|
+
})
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Login as Productivity Admin (Lucas Luna)
|
|
42
|
+
* Has admin role in Product Team, member role in Marketing Hub
|
|
43
|
+
* Session is cached and reused across tests
|
|
44
|
+
*/
|
|
45
|
+
export function loginAsProductivityAdmin() {
|
|
46
|
+
cy.session('productivity-admin-session', () => {
|
|
47
|
+
cy.visit('/login')
|
|
48
|
+
const devKeyring = new DevKeyring()
|
|
49
|
+
devKeyring.validateVisible()
|
|
50
|
+
devKeyring.quickLoginByEmail(PRODUCTIVITY_USERS.ADMIN)
|
|
51
|
+
cy.url().should('include', '/dashboard')
|
|
52
|
+
}, {
|
|
53
|
+
validate: () => {
|
|
54
|
+
cy.visit('/dashboard')
|
|
55
|
+
cy.url().should('include', '/dashboard')
|
|
56
|
+
}
|
|
57
|
+
})
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Login as Productivity Member - Product Team (Diana Rios)
|
|
62
|
+
* Has member role in Product Team only
|
|
63
|
+
* Session is cached and reused across tests
|
|
64
|
+
*/
|
|
65
|
+
export function loginAsProductivityMember() {
|
|
66
|
+
cy.session('productivity-member-session', () => {
|
|
67
|
+
cy.visit('/login')
|
|
68
|
+
const devKeyring = new DevKeyring()
|
|
69
|
+
devKeyring.validateVisible()
|
|
70
|
+
devKeyring.quickLoginByEmail(PRODUCTIVITY_USERS.MEMBER_PRODUCT)
|
|
71
|
+
cy.url().should('include', '/dashboard')
|
|
72
|
+
}, {
|
|
73
|
+
validate: () => {
|
|
74
|
+
cy.visit('/dashboard')
|
|
75
|
+
cy.url().should('include', '/dashboard')
|
|
76
|
+
}
|
|
77
|
+
})
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* Login as Productivity Member - Marketing Hub (Marcos Silva)
|
|
82
|
+
* Has member role in Marketing Hub only
|
|
83
|
+
* Session is cached and reused across tests
|
|
84
|
+
*/
|
|
85
|
+
export function loginAsProductivityMemberMarketing() {
|
|
86
|
+
cy.session('productivity-member-marketing-session', () => {
|
|
87
|
+
cy.visit('/login')
|
|
88
|
+
const devKeyring = new DevKeyring()
|
|
89
|
+
devKeyring.validateVisible()
|
|
90
|
+
devKeyring.quickLoginByEmail(PRODUCTIVITY_USERS.MEMBER_MARKETING)
|
|
91
|
+
cy.url().should('include', '/dashboard')
|
|
92
|
+
}, {
|
|
93
|
+
validate: () => {
|
|
94
|
+
cy.visit('/dashboard')
|
|
95
|
+
cy.url().should('include', '/dashboard')
|
|
96
|
+
}
|
|
97
|
+
})
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* Alias for loginAsProductivityOwner (convenience function)
|
|
102
|
+
*/
|
|
103
|
+
export function loginAsOwner() {
|
|
104
|
+
return loginAsProductivityOwner()
|
|
105
|
+
}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Cypress E2E Support File for Theme
|
|
3
|
+
*
|
|
4
|
+
* This file is used when running tests in npm mode (outside monorepo).
|
|
5
|
+
* In monorepo mode, the core support file is used instead via cypress.config.ts.
|
|
6
|
+
*
|
|
7
|
+
* For documentation video commands, install cypress-slow-down:
|
|
8
|
+
* pnpm add -D cypress-slow-down
|
|
9
|
+
* Then uncomment the doc-commands import below.
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
import '@testing-library/cypress/add-commands'
|
|
13
|
+
|
|
14
|
+
// Import @cypress/grep for test filtering by tags
|
|
15
|
+
import registerCypressGrep from '@cypress/grep'
|
|
16
|
+
registerCypressGrep()
|
|
17
|
+
|
|
18
|
+
// Doc commands are optional (require cypress-slow-down)
|
|
19
|
+
// Uncomment if you have cypress-slow-down installed:
|
|
20
|
+
// import './doc-commands'
|
|
21
|
+
|
|
22
|
+
// Global error handling
|
|
23
|
+
Cypress.on('uncaught:exception', (err) => {
|
|
24
|
+
// Ignore React hydration errors
|
|
25
|
+
if (err.message.includes('Hydration')) {
|
|
26
|
+
return false
|
|
27
|
+
}
|
|
28
|
+
// Ignore ResizeObserver errors
|
|
29
|
+
if (err.message.includes('ResizeObserver')) {
|
|
30
|
+
return false
|
|
31
|
+
}
|
|
32
|
+
return true
|
|
33
|
+
})
|
|
34
|
+
|
|
35
|
+
// Global before hook
|
|
36
|
+
beforeEach(() => {
|
|
37
|
+
cy.clearCookies()
|
|
38
|
+
cy.clearLocalStorage()
|
|
39
|
+
})
|
|
40
|
+
|
|
41
|
+
// Type declarations for @cypress/grep and custom commands
|
|
42
|
+
declare global {
|
|
43
|
+
namespace Cypress {
|
|
44
|
+
interface Chainable {
|
|
45
|
+
/**
|
|
46
|
+
* Custom command to make API requests with better error handling
|
|
47
|
+
*/
|
|
48
|
+
apiRequest(options: Partial<Cypress.RequestOptions>): Chainable<Cypress.Response<any>>
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Login command for authenticated tests
|
|
52
|
+
*/
|
|
53
|
+
login(email: string, password: string): Chainable<void>
|
|
54
|
+
}
|
|
55
|
+
interface SuiteConfigOverrides {
|
|
56
|
+
tags?: string | string[]
|
|
57
|
+
}
|
|
58
|
+
interface TestConfigOverrides {
|
|
59
|
+
tags?: string | string[]
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
// Custom API request command
|
|
65
|
+
Cypress.Commands.add('apiRequest', (options) => {
|
|
66
|
+
const defaultOptions = {
|
|
67
|
+
failOnStatusCode: false,
|
|
68
|
+
timeout: 15000,
|
|
69
|
+
headers: {
|
|
70
|
+
'Content-Type': 'application/json',
|
|
71
|
+
...options.headers
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
return cy.request({
|
|
75
|
+
...defaultOptions,
|
|
76
|
+
...options
|
|
77
|
+
})
|
|
78
|
+
})
|
|
79
|
+
|
|
80
|
+
// Login command for authenticated tests
|
|
81
|
+
Cypress.Commands.add('login', (email: string, password: string) => {
|
|
82
|
+
cy.session([email, password], () => {
|
|
83
|
+
cy.visit('/login')
|
|
84
|
+
cy.get('[data-testid="email-input"], input[name="email"]').type(email)
|
|
85
|
+
cy.get('[data-testid="password-input"], input[name="password"]').type(password)
|
|
86
|
+
cy.get('[data-testid="submit-button"], button[type="submit"]').click()
|
|
87
|
+
cy.url().should('include', '/dashboard')
|
|
88
|
+
})
|
|
89
|
+
})
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Cypress Configuration for productivity Theme
|
|
3
|
+
*
|
|
4
|
+
* This config works in both monorepo and npm mode.
|
|
5
|
+
* Run with: NEXT_PUBLIC_ACTIVE_THEME=default pnpm cy:open
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import { defineConfig } from 'cypress'
|
|
9
|
+
import path from 'path'
|
|
10
|
+
import fs from 'fs'
|
|
11
|
+
import { fileURLToPath } from 'url'
|
|
12
|
+
|
|
13
|
+
// ESM-compatible __dirname
|
|
14
|
+
const __filename = fileURLToPath(import.meta.url)
|
|
15
|
+
const __dirname = path.dirname(__filename)
|
|
16
|
+
|
|
17
|
+
// Paths relative to this config file
|
|
18
|
+
const themeRoot = path.resolve(__dirname, '..')
|
|
19
|
+
const projectRoot = path.resolve(__dirname, '../../../..')
|
|
20
|
+
const narrationsOutputDir = path.join(__dirname, 'cypress/videos/narrations')
|
|
21
|
+
|
|
22
|
+
// Detect if running in npm mode (no packages/core folder) vs monorepo
|
|
23
|
+
const isNpmMode = !fs.existsSync(path.join(projectRoot, 'packages/core'))
|
|
24
|
+
|
|
25
|
+
// Load environment variables
|
|
26
|
+
import dotenv from 'dotenv'
|
|
27
|
+
dotenv.config({ path: path.join(projectRoot, '.env') })
|
|
28
|
+
|
|
29
|
+
// Server port (from .env or default 3000)
|
|
30
|
+
const port = process.env.PORT || 3000
|
|
31
|
+
|
|
32
|
+
export default defineConfig({
|
|
33
|
+
e2e: {
|
|
34
|
+
// Base URL for the application
|
|
35
|
+
baseUrl: `http://localhost:${port}`,
|
|
36
|
+
|
|
37
|
+
// Spec patterns: theme tests (core tests only in monorepo)
|
|
38
|
+
specPattern: isNpmMode
|
|
39
|
+
? [
|
|
40
|
+
// npm mode: only theme tests
|
|
41
|
+
path.join(__dirname, 'cypress/e2e/**/*.cy.{js,ts}'),
|
|
42
|
+
]
|
|
43
|
+
: [
|
|
44
|
+
// Monorepo: core tests + theme tests
|
|
45
|
+
path.join(projectRoot, 'packages/core/tests/cypress/e2e/core/**/*.cy.{js,ts}'),
|
|
46
|
+
path.join(__dirname, 'cypress/e2e/**/*.cy.{js,ts}'),
|
|
47
|
+
],
|
|
48
|
+
|
|
49
|
+
// Support file (theme-local in npm mode, core in monorepo)
|
|
50
|
+
supportFile: isNpmMode
|
|
51
|
+
? path.join(__dirname, 'cypress/support/e2e.ts')
|
|
52
|
+
: path.join(projectRoot, 'packages/core/tests/cypress/support/e2e.ts'),
|
|
53
|
+
|
|
54
|
+
// Fixtures folder (theme-specific)
|
|
55
|
+
fixturesFolder: path.join(__dirname, 'cypress/fixtures'),
|
|
56
|
+
|
|
57
|
+
// Output folders (theme-specific)
|
|
58
|
+
downloadsFolder: path.join(__dirname, 'cypress/downloads'),
|
|
59
|
+
screenshotsFolder: path.join(__dirname, 'cypress/screenshots'),
|
|
60
|
+
videosFolder: path.join(__dirname, 'cypress/videos'),
|
|
61
|
+
|
|
62
|
+
// Viewport settings
|
|
63
|
+
viewportWidth: 1280,
|
|
64
|
+
viewportHeight: 720,
|
|
65
|
+
|
|
66
|
+
// Video and screenshot settings
|
|
67
|
+
video: true,
|
|
68
|
+
screenshotOnRunFailure: true,
|
|
69
|
+
|
|
70
|
+
// Timeouts
|
|
71
|
+
defaultCommandTimeout: 10000,
|
|
72
|
+
requestTimeout: 10000,
|
|
73
|
+
responseTimeout: 10000,
|
|
74
|
+
pageLoadTimeout: 30000,
|
|
75
|
+
|
|
76
|
+
// Browser settings
|
|
77
|
+
chromeWebSecurity: false,
|
|
78
|
+
|
|
79
|
+
// Test isolation
|
|
80
|
+
testIsolation: true,
|
|
81
|
+
|
|
82
|
+
// Retry settings
|
|
83
|
+
retries: {
|
|
84
|
+
runMode: 1,
|
|
85
|
+
openMode: 0,
|
|
86
|
+
},
|
|
87
|
+
|
|
88
|
+
// Environment variables
|
|
89
|
+
env: {
|
|
90
|
+
// Theme info
|
|
91
|
+
ACTIVE_THEME: 'productivity',
|
|
92
|
+
THEME_PATH: themeRoot,
|
|
93
|
+
|
|
94
|
+
// Test user credentials
|
|
95
|
+
TEST_USER_EMAIL: 'user@example.com',
|
|
96
|
+
TEST_USER_PASSWORD: 'Testing1234',
|
|
97
|
+
|
|
98
|
+
// Feature flags
|
|
99
|
+
ENABLE_ALLURE: true,
|
|
100
|
+
|
|
101
|
+
// Allure reporting
|
|
102
|
+
allureResultsPath: path.join(__dirname, 'cypress/allure-results'),
|
|
103
|
+
|
|
104
|
+
// API settings
|
|
105
|
+
API_URL: `http://localhost:${port}/api`,
|
|
106
|
+
API_BASE_URL: `http://localhost:${port}`,
|
|
107
|
+
|
|
108
|
+
// @cypress/grep - filter specs by tags
|
|
109
|
+
grepFilterSpecs: true,
|
|
110
|
+
grepOmitFiltered: true,
|
|
111
|
+
},
|
|
112
|
+
|
|
113
|
+
async setupNodeEvents(on, config) {
|
|
114
|
+
// Allure plugin setup (allure-cypress)
|
|
115
|
+
const { allureCypress } = await import('allure-cypress/reporter')
|
|
116
|
+
allureCypress(on, config, {
|
|
117
|
+
resultsDir: path.join(__dirname, 'cypress/allure-results'),
|
|
118
|
+
})
|
|
119
|
+
|
|
120
|
+
// @cypress/grep plugin for test filtering by tags
|
|
121
|
+
const grepPlugin = await import('@cypress/grep/src/plugin.js')
|
|
122
|
+
;(grepPlugin.default || grepPlugin)(config)
|
|
123
|
+
|
|
124
|
+
// Documentation video tasks
|
|
125
|
+
on('task', {
|
|
126
|
+
/**
|
|
127
|
+
* Save narrations to JSON file for post-processing
|
|
128
|
+
*/
|
|
129
|
+
saveNarrations({ specName, narrations }: { specName: string; narrations: unknown[] }) {
|
|
130
|
+
// Ensure output directory exists
|
|
131
|
+
if (!fs.existsSync(narrationsOutputDir)) {
|
|
132
|
+
fs.mkdirSync(narrationsOutputDir, { recursive: true })
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
const filename = `${specName}-narrations.json`
|
|
136
|
+
const filepath = path.join(narrationsOutputDir, filename)
|
|
137
|
+
|
|
138
|
+
fs.writeFileSync(filepath, JSON.stringify(narrations, null, 2))
|
|
139
|
+
console.log(`📝 Narrations saved to: ${filepath}`)
|
|
140
|
+
|
|
141
|
+
return null
|
|
142
|
+
},
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* Add narration entry (called per narration)
|
|
146
|
+
*/
|
|
147
|
+
addNarration(narration: unknown) {
|
|
148
|
+
// This could be used for real-time streaming to a narration service
|
|
149
|
+
console.log('🎙️ Narration:', narration)
|
|
150
|
+
return null
|
|
151
|
+
},
|
|
152
|
+
})
|
|
153
|
+
|
|
154
|
+
return config
|
|
155
|
+
},
|
|
156
|
+
},
|
|
157
|
+
|
|
158
|
+
// Component testing (future use)
|
|
159
|
+
component: {
|
|
160
|
+
devServer: {
|
|
161
|
+
framework: 'next',
|
|
162
|
+
bundler: 'webpack',
|
|
163
|
+
},
|
|
164
|
+
},
|
|
165
|
+
})
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "../../../../tsconfig.cypress.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"baseUrl": "../../../..",
|
|
5
|
+
"paths": {
|
|
6
|
+
"@/*": ["./*"],
|
|
7
|
+
"@/core/*": ["./core/*"],
|
|
8
|
+
"@/contents/*": ["./contents/*"]
|
|
9
|
+
}
|
|
10
|
+
},
|
|
11
|
+
"include": [
|
|
12
|
+
"../../../../cypress.d.ts",
|
|
13
|
+
"cypress/**/*.ts"
|
|
14
|
+
]
|
|
15
|
+
}
|