mirror of
https://github.com/cypress-io/cypress.git
synced 2026-01-05 14:09:46 -06:00
* chore: upgrade electron to 32.2.0 -- run ci * fix node versions * fix build * fix evil-dns * various fixes * fix srcdoc * various fixes * update package.json * update yarn.lock * various fixes * fix integrity check * fix binary verification * various fixes * update yarn.lock * fix typo * fix lock file * fix tests * fix tests * various fixes * various fixes * various fixes * fix stuff * fix things * try to fix errors * fix * updates * add yarn berry * upgrade electron * attempt with gcc * blank * update arm64 executor * try to fix the arm64 issue * fix arm64 * bump cache * attempt to fix arm64 again * attempt to fix arm64 again * fix darwin problems * merge release/14.0.0 * update yarn.lock * blank -- run ci * blank * blank * blank * try something * try something * clean up * blank * try to fix sessions issue * fixes * get more info * get more info * try something * fix * try something * try something * try something * tweak * one more thing * let us see if this works * blank * chore: updating v8 snapshot cache * chore: updating v8 snapshot cache * chore: updating v8 snapshot cache * Apply suggestions from code review * Apply suggestions from code review * Update cli/CHANGELOG.md Co-authored-by: Jennifer Shehane <jennifer@cypress.io> * Update cli/CHANGELOG.md Co-authored-by: Jennifer Shehane <jennifer@cypress.io> * Update CHANGELOG.md * Update cache-version.txt * fix nx (maybe) * Update package.json * try something * Update packages/app/src/runner/aut-iframe.ts * bump version * try to bust cache * try to invalidate cache * Update cli/CHANGELOG.md * suppress benign warnings * Apply suggestions from code review * PR comments * PR comment * Apply suggestions from code review * chore: updating v8 snapshot cache * chore: updating v8 snapshot cache * chore: updating v8 snapshot cache * Update cli/CHANGELOG.md Co-authored-by: Matt Schile <mschile@cypress.io> * update debug scenario 4 regex * Update scripts/binary/trigger-publish-binary-pipeline.js --------- Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com> Co-authored-by: Jennifer Shehane <jennifer@cypress.io> Co-authored-by: Matt Schile <mschile@cypress.io>
56 lines
1.3 KiB
TypeScript
56 lines
1.3 KiB
TypeScript
import systemTests from '../lib/system-tests'
|
|
|
|
function smokeTestDockerImage (dockerImage: string) {
|
|
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('binary node versions', () => {
|
|
[
|
|
'cypress/base:18.16.1',
|
|
'cypress/base:20.12.2',
|
|
'cypress/base:20.18.0',
|
|
'cypress/base:22.0.0',
|
|
'cypress/base:22.7.0',
|
|
].forEach(smokeTestDockerImage)
|
|
})
|
|
|
|
describe('type: module', () => {
|
|
[
|
|
'cypress/base:18.16.1',
|
|
'cypress/base:20.12.2',
|
|
'cypress/base:20.18.0',
|
|
'cypress/base:22.0.0',
|
|
'cypress/base:22.7.0',
|
|
].forEach((dockerImage) => {
|
|
systemTests.it(`can run in ${dockerImage}`, {
|
|
withBinary: true,
|
|
project: 'config-cjs-and-esm/config-with-ts-module',
|
|
dockerImage,
|
|
testingType: 'e2e',
|
|
spec: 'app.cy.js',
|
|
browser: 'electron',
|
|
expectedExitCode: 0,
|
|
})
|
|
})
|
|
})
|