mirror of
https://github.com/cypress-io/cypress.git
synced 2026-04-23 23:49:43 -05:00
fix: ct testing support for node 17+ (#21430)
This commit is contained in:
@@ -1,17 +1,30 @@
|
||||
import systemTests from '../lib/system-tests'
|
||||
|
||||
function smokeTestDockerImage (dockerImage: string) {
|
||||
systemTests.it(`can run in ${dockerImage}`, {
|
||||
withBinary: true,
|
||||
browser: 'electron',
|
||||
dockerImage,
|
||||
spec: 'test1.js',
|
||||
specDir: 'tests',
|
||||
project: 'todos',
|
||||
context('e2e', () => {
|
||||
systemTests.it(`can run in ${dockerImage}`, {
|
||||
withBinary: true,
|
||||
browser: 'electron',
|
||||
dockerImage,
|
||||
spec: 'test1.js',
|
||||
specDir: 'tests',
|
||||
project: 'todos',
|
||||
})
|
||||
})
|
||||
|
||||
context('component', () => {
|
||||
systemTests.it(`can run in ${dockerImage}`, {
|
||||
withBinary: true,
|
||||
browser: 'electron',
|
||||
dockerImage,
|
||||
testingType: 'component',
|
||||
project: 'simple-ct',
|
||||
spec: 'src/simple_passing_component.cy.js',
|
||||
})
|
||||
})
|
||||
}
|
||||
|
||||
describe('e2e binary node versions', () => {
|
||||
describe('binary node versions', () => {
|
||||
[
|
||||
'cypress/base:12',
|
||||
'cypress/base:14',
|
||||
|
||||
Reference in New Issue
Block a user