cypress-qase-reporter 1.4.3 → 2.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +32 -28
- package/dist/configSchema.d.ts +4 -0
- package/dist/configSchema.js +25 -0
- package/dist/index.cjs.d.ts +1 -0
- package/dist/index.cjs.js +5 -0
- package/dist/index.d.ts +1 -27
- package/dist/index.js +2 -422
- package/dist/mocha.d.ts +2 -4
- package/dist/mocha.js +7 -18
- package/dist/options.d.ts +3 -0
- package/dist/options.js +2 -0
- package/dist/reporter.d.ts +65 -0
- package/dist/reporter.js +130 -0
- package/dist/utils/traverse-dir.d.ts +1 -0
- package/dist/utils/traverse-dir.js +25 -0
- package/package.json +44 -41
- package/tsconfig.build.json +9 -0
- package/dist/index.js.map +0 -1
- package/dist/mocha.js.map +0 -1
- package/dist/reportBulk.js +0 -174
- package/examples_cypress_v10/cypress/e2e/second.cy.js +0 -59
- package/examples_cypress_v10/cypress/fixtures/example.json +0 -5
- package/examples_cypress_v10/cypress/plugins/index.js +0 -21
- package/examples_cypress_v10/cypress/support/commands.js +0 -25
- package/examples_cypress_v10/cypress/support/e2e.js +0 -20
- package/examples_cypress_v10/cypress.config.js +0 -30
- package/examples_cypress_v10/package-lock.json +0 -5198
- package/examples_cypress_v10/package.json +0 -17
- package/examples_cypress_v6/cypress/fixtures/example.json +0 -5
- package/examples_cypress_v6/cypress/integration/sample_spec.js +0 -39
- package/examples_cypress_v6/cypress/plugins/index.js +0 -21
- package/examples_cypress_v6/cypress/support/commands.js +0 -25
- package/examples_cypress_v6/cypress/support/index.js +0 -20
- package/examples_cypress_v6/cypress.json +0 -20
- package/examples_cypress_v6/package-lock.json +0 -6283
- package/examples_cypress_v6/package.json +0 -17
- package/test/plugin.test.ts +0 -179
- /package/{examples_cypress_v10/screenshots → screenshots}/screenshot.png +0 -0
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
// ***********************************************************
|
|
2
|
-
// This example support/index.js is processed and
|
|
3
|
-
// loaded automatically before your test files.
|
|
4
|
-
//
|
|
5
|
-
// This is a great place to put global configuration and
|
|
6
|
-
// behavior that modifies Cypress.
|
|
7
|
-
//
|
|
8
|
-
// You can change the location of this file or turn off
|
|
9
|
-
// automatically serving support files with the
|
|
10
|
-
// 'supportFile' configuration option.
|
|
11
|
-
//
|
|
12
|
-
// You can read more here:
|
|
13
|
-
// https://on.cypress.io/configuration
|
|
14
|
-
// ***********************************************************
|
|
15
|
-
|
|
16
|
-
// Import commands.js using ES2015 syntax:
|
|
17
|
-
import './commands'
|
|
18
|
-
|
|
19
|
-
// Alternatively you can use CommonJS syntax:
|
|
20
|
-
// require('./commands')
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
const { defineConfig } = require('cypress')
|
|
2
|
-
|
|
3
|
-
module.exports = defineConfig({
|
|
4
|
-
reporter: 'cypress-multi-reporters',
|
|
5
|
-
reporterOptions: {
|
|
6
|
-
reporterEnabled: 'cypress-mochawesome-reporter, cypress-qase-reporter',
|
|
7
|
-
cypressMochawesomeReporterReporterOptions: {
|
|
8
|
-
charts: true,
|
|
9
|
-
},
|
|
10
|
-
cypressQaseReporterReporterOptions: {
|
|
11
|
-
apiToken: 'api_key',
|
|
12
|
-
projectCode: 'project_code',
|
|
13
|
-
logging: true,
|
|
14
|
-
basePath: 'https://api.qase.io/v1',
|
|
15
|
-
screenshotFolder: 'screenshots',
|
|
16
|
-
sendScreenshot: true,
|
|
17
|
-
runComplete: true,
|
|
18
|
-
environmentId: 1,
|
|
19
|
-
rootSuiteTitle: 'Cypress tests',
|
|
20
|
-
},
|
|
21
|
-
},
|
|
22
|
-
video: false,
|
|
23
|
-
e2e: {
|
|
24
|
-
// We've imported your old cypress plugins here.
|
|
25
|
-
// You may want to clean this up later by importing these.
|
|
26
|
-
setupNodeEvents(on, config) {
|
|
27
|
-
return require('./cypress/plugins/index.js')(on, config)
|
|
28
|
-
},
|
|
29
|
-
},
|
|
30
|
-
})
|