cypress-qase-reporter 1.4.3 → 2.0.0-beta.0

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.
@@ -1,17 +0,0 @@
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
- }
@@ -1,5 +0,0 @@
1
- {
2
- "name": "Using fixtures to represent data",
3
- "email": "hello@cypress.io",
4
- "body": "Fixtures are a great way to mock data for responses to routes"
5
- }
@@ -1,39 +0,0 @@
1
- import { qase } from 'cypress-qase-reporter/dist/mocha';
2
-
3
- describe('My First Test', () => {
4
- qase(1, it('clicking "type" navigates to a new url', () => {
5
- cy.visit('https://example.cypress.io');
6
-
7
- cy.contains('type').click();
8
-
9
- // Should be on a new URL which includes '/commands/actions'
10
- cy.url().should('include', '/commands/actions');
11
- }));
12
-
13
- qase(2, it('Gets, types and asserts', () => {
14
- cy.visit('https://example.cypress.io');
15
-
16
- cy.contains('type').click();
17
-
18
- // Should be on a new URL which includes '/commands/actions'
19
- cy.url().should('include', '/commands/actions');
20
- // Get an input, type into it and verify that the value has been updated
21
- cy.get('.action-email')
22
- .type('fake@email.com')
23
- .should('have.value', 'unexpected@email.com');
24
- }));
25
-
26
- qase(3, it.skip('Gets, types and asserts', () => {
27
- cy.visit('https://example.cypress.io');
28
-
29
- cy.contains('type').click();
30
-
31
- // Should be on a new URL which includes '/commands/actions'
32
- cy.url().should('include', '/commands/actions');
33
-
34
- // Get an input, type into it and verify that the value has been updated
35
- cy.get('.action-email')
36
- .type('fake@email.com')
37
- .should('have.value', 'unexpected@email.com');
38
- }));
39
- });
@@ -1,21 +0,0 @@
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
- }
@@ -1,25 +0,0 @@
1
- // ***********************************************
2
- // This example commands.js shows you how to
3
- // create various custom commands and overwrite
4
- // existing commands.
5
- //
6
- // For more comprehensive examples of custom
7
- // commands please read more here:
8
- // https://on.cypress.io/custom-commands
9
- // ***********************************************
10
- //
11
- //
12
- // -- This is a parent command --
13
- // Cypress.Commands.add("login", (email, password) => { ... })
14
- //
15
- //
16
- // -- This is a child command --
17
- // Cypress.Commands.add("drag", { prevSubject: 'element'}, (subject, options) => { ... })
18
- //
19
- //
20
- // -- This is a dual command --
21
- // Cypress.Commands.add("dismiss", { prevSubject: 'optional'}, (subject, options) => { ... })
22
- //
23
- //
24
- // -- This will overwrite an existing command --
25
- // Cypress.Commands.overwrite("visit", (originalFn, url, options) => { ... })
@@ -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,20 +0,0 @@
1
- {
2
- "reporter": "cypress-multi-reporters",
3
- "reporterOptions": {
4
- "reporterEnabled": "cypress-mochawesome-reporter, cypress-qase-reporter",
5
- "cypressMochawesomeReporterReporterOptions": {
6
- "charts": true
7
- },
8
- "cypressQaseReporterReporterOptions": {
9
- "apiToken": "api_key",
10
- "projectCode": "project_code",
11
- "logging": true,
12
- "basePath": "https://api.qase.io/v1",
13
- "screenshotFolder": "screenshots",
14
- "sendScreenshot": true,
15
- "runComplete": false,
16
- "environmentId": 1
17
- }
18
- },
19
- "video": false
20
- }