mirror of
https://github.com/cypress-io/cypress.git
synced 2026-03-15 05:40:29 -05:00
* Update onboarding dialog to handle new kitchen-sink examples - Now display ‘integrationExampleFolder’ in messaging instead of file - Does not display children files of ‘examples’ folder (it’s way too much) and instead shows ‘examples’ as a closed folder in preview - Reworded onboarding message to grammatically make sense with folder - updated finder to open ‘integrationExampleFolder’ - update fixture to reflect new kitchen sink structure. * bump kitchensink example to 1.0.0 * handle multiple spec files when converting kitchen-sink to example * handle multiple example spec files when scaffolding * handle multiple example files in desktop-gui * update unit tests for new example specs * fix integration spec
13 lines
257 B
JavaScript
13 lines
257 B
JavaScript
const glob = require('glob')
|
|
const path = require('path')
|
|
|
|
module.exports = {
|
|
getPathToExamples () {
|
|
return glob.sync(path.join(__dirname, '..', 'cypress', 'integration', 'examples', '**', '*'))
|
|
},
|
|
|
|
getFolderName () {
|
|
return 'examples'
|
|
},
|
|
}
|