cypress-qase-reporter 1.4.2-alpha.2 → 1.4.3
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 +6 -25
- package/dist/index.d.ts +1 -0
- package/dist/index.js +44 -14
- package/dist/index.js.map +1 -1
- package/examples_cypress_v10/cypress/e2e/second.cy.js +59 -0
- package/examples_cypress_v10/cypress/support/commands.js +25 -0
- package/examples_cypress_v10/cypress.config.js +30 -0
- package/examples_cypress_v10/package-lock.json +5198 -0
- package/examples_cypress_v10/package.json +17 -0
- package/examples_cypress_v6/cypress/fixtures/example.json +5 -0
- package/{examples → examples_cypress_v6}/cypress/integration/sample_spec.js +1 -1
- package/examples_cypress_v6/cypress/plugins/index.js +21 -0
- package/examples_cypress_v6/cypress/support/index.js +20 -0
- package/{examples → examples_cypress_v6}/package-lock.json +2187 -60
- package/package.json +2 -2
- package/test/plugin.test.ts +170 -2
- /package/{examples → examples_cypress_v10}/cypress/fixtures/example.json +0 -0
- /package/{examples → examples_cypress_v10}/cypress/plugins/index.js +0 -0
- /package/{examples/cypress/support/index.js → examples_cypress_v10/cypress/support/e2e.js} +0 -0
- /package/{examples → examples_cypress_v10}/screenshots/screenshot.png +0 -0
- /package/{examples → examples_cypress_v6}/cypress/support/commands.js +0 -0
- /package/{examples → examples_cypress_v6}/cypress.json +0 -0
- /package/{examples → examples_cypress_v6}/package.json +0 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "examples",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "",
|
|
5
|
+
"scripts": {
|
|
6
|
+
"cypress": "cypress open",
|
|
7
|
+
"test": "QASE_REPORT=1 npx cypress run"
|
|
8
|
+
},
|
|
9
|
+
"author": "",
|
|
10
|
+
"license": "Apache-2.0",
|
|
11
|
+
"devDependencies": {
|
|
12
|
+
"cypress": "^10.1.0",
|
|
13
|
+
"cypress-mochawesome-reporter": "^3.0.1",
|
|
14
|
+
"cypress-multi-reporters": "^1.4.0",
|
|
15
|
+
"cypress-qase-reporter": "../"
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -14,7 +14,7 @@ describe('My First Test', () => {
|
|
|
14
14
|
cy.visit('https://example.cypress.io');
|
|
15
15
|
|
|
16
16
|
cy.contains('type').click();
|
|
17
|
-
|
|
17
|
+
|
|
18
18
|
// Should be on a new URL which includes '/commands/actions'
|
|
19
19
|
cy.url().should('include', '/commands/actions');
|
|
20
20
|
// Get an input, type into it and verify that the value has been updated
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/// <reference types="cypress" />
|
|
2
|
+
// ***********************************************************
|
|
3
|
+
// This example plugins/index.js can be used to load plugins
|
|
4
|
+
//
|
|
5
|
+
// You can change the location of this file or turn off loading
|
|
6
|
+
// the plugins file with the 'pluginsFile' configuration option.
|
|
7
|
+
//
|
|
8
|
+
// You can read more here:
|
|
9
|
+
// https://on.cypress.io/plugins-guide
|
|
10
|
+
// ***********************************************************
|
|
11
|
+
|
|
12
|
+
// This function is called when a project is opened or re-opened (e.g. due to
|
|
13
|
+
// the project's config changing)
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* @type {Cypress.PluginConfig}
|
|
17
|
+
*/
|
|
18
|
+
module.exports = (on, config) => {
|
|
19
|
+
// `on` is used to hook into various events Cypress emits
|
|
20
|
+
// `config` is the resolved Cypress config
|
|
21
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
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')
|