d413d55f91
Use loleaflet's config file to have the same conventions under cypress_test folder too. Update test code to pass esling check. Change-Id: Iade932e6d3cd8941b5fc0897c56c68d2493f0dce
20 lines
890 B
JSON
20 lines
890 B
JSON
{
|
|
"name": "cypress_test",
|
|
"version": "1.0.0",
|
|
"description": "Cypress integration test suit",
|
|
"license": "MPL-2.0",
|
|
"dependencies": {
|
|
"cypress": "3.8.1",
|
|
"eslint": "6.8.0"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://gerrit.libreoffice.org/online.git"
|
|
},
|
|
"scripts": {
|
|
"cyrun_desktop": "node_modules/cypress/bin/cypress run --browser chrome --config integrationFolder=integration_tests/desktop --headless",
|
|
"cyrun_mobile": "node_modules/cypress/bin/cypress run --browser chrome --config integrationFolder=integration_tests/mobile,userAgent=\"cypress mobile test\" --headless",
|
|
"cyopen_desktop": "node_modules/cypress/bin/cypress open --config integrationFolder=integration_tests/desktop",
|
|
"cyopen_mobile": "node_modules/cypress/bin/cypress open --config integrationFolder=integration_tests/mobile,userAgent=\"cypress mobile test\""
|
|
}
|
|
}
|