New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

cypress-aiotests-reporter

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cypress-aiotests-reporter - npm Package Compare versions

Comparing version 1.1.2 to 1.2.0

cypress.config-hosted.js

9

package.json
{
"name": "cypress-aiotests-reporter",
"version": "1.1.2",
"version": "1.2.0",
"description": "Plugin to report cypress results to AIO Tests Jira",

@@ -19,8 +19,7 @@ "main": "src/index.js",

"devDependencies": {
"cypress": "^9.0.0",
"semantic-release": "^18.0.0"
"cypress": "^10.6.0"
},
"dependencies": {
"axios": "^0.24.0",
"chalk": "^4.1.2",
"ansis": "^2.0.2",
"axios": "^1.6.2",
"form-data": "^4.0.0"

@@ -27,0 +26,0 @@ },

@@ -10,4 +10,8 @@ [![CI](https://github.com/aiotests/cypress-aiotests-reporter/actions/workflows/main.yml/badge.svg)](https://github.com/aiotests/cypress-aiotests-reporter/actions/workflows/main.yml)

By hooking into Cypress events, the AIO Tests Reporter reports results in the ` after:spec ` event, after every spec run finishes.
<br>The reporter can create a new cycle for the executions or reuse existing cycles, based on the configuration done in cyress.json. <br>It can also upload attachments for failed executions. <br> **Retries** can either be reported as new runs or used to update the existing run.
<br>The reporter can create a new cycle for the executions or reuse existing cycles, based on the configuration done in cyress.json. <br>It can also upload attachments for failed executions. <br> **Retries** can either be reported as new runs or used to update the existing run.<br>
> [!NOTE]
> Please note that with Cypress 13, Cypress has made breaking changes to its module API which used to expose data on results of executions.
> Due to this change, AIO Tests reporter can no longer send screenshots and body information to AIO Tests.
> If you would like to have this feature, please bump up the request @ [Cypress 13 Module API bug](https://github.com/cypress-io/cypress/issues/27732)
# How to get started?

@@ -77,3 +81,3 @@ ```

```
Please note that due to a change in v13, screenshots can no longer be uploaded using the plugin.
### Configure

@@ -80,0 +84,0 @@

@@ -20,3 +20,3 @@ const axios = require('axios');

aioAPIClient = axios.create({
baseURL: 'https://tcms.aioreports.com/aio-tcms/api/v1',
baseURL: 'https://tcms.aiojiraapps.com/aio-tcms/api/v1',
timeout: apiTimeout,

@@ -23,0 +23,0 @@ headers: {'Authorization': `AioAuth ${apiKey}`}

@@ -1,2 +0,2 @@

const chalk = require('chalk');
const ansis = require('ansis');

@@ -8,7 +8,8 @@ const AioTestsLogger = {

error: (text, addReporter) => {
if(addReporter) console.log(chalk.hex('#0094a6').underline.bold('AIO Tests Reporter :'));
console.error( ' - ' + chalk.red(text));
if(addReporter) console.log(ansis.hex('#0094a6').underline.bold('AIO Tests Reporter :'));
console.error( ' - ' + ansis.red(text));
},
logStartEnd: (text) => {
console.log( chalk.hex('#0094a6').bold("*".repeat(15) + ' AIO Tests Reporter :' + text + " " + "*".repeat(15)));
const repeatStr = "*".repeat(15);
console.log(ansis.hex('#0094a6').bold(`${repeatStr} AIO Tests Reporter : ${text} ${repeatStr}` ));
}

@@ -15,0 +16,0 @@ }

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc