Files
cypress/system-tests/test/component_testing_index_html_spec.ts
Zachary Williams 3a8797e54d fix: wire up scaffolded indexHtml to dev servers (#20453)
* fix: wire up scaffolded indexHtml to dev servers

* fix vite tests

* update vuecli-5, fix system tests

* fix vite build error and launchpad test

* remove only

* address comments, remove gitignores

* remove only
2022-03-04 14:16:06 +10:00

30 lines
799 B
TypeScript

import systemTests from '../lib/system-tests'
describe('component testing projects', function () {
systemTests.setup()
systemTests.it('create-react-app-custom-index-html', {
project: 'create-react-app-custom-index-html',
testingType: 'component',
spec: 'src/App.cy.jsx',
browser: 'chrome',
expectedExitCode: 0,
})
systemTests.it('vueclivue3-custom-index-html', {
project: 'vueclivue3-custom-index-html',
testingType: 'component',
spec: 'src/components/HelloWorld.cy.js',
browser: 'chrome',
expectedExitCode: 0,
})
systemTests.it('vue3-vite-ts-custom-index-html', {
project: 'vue3-vite-ts-custom-index-html',
testingType: 'component',
spec: 'src/components/HelloWorld.cy.ts',
browser: 'chrome',
expectedExitCode: 0,
})
})