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.3.0 to 1.4.0

5

cypress/e2e/spec.cy.js

@@ -18,7 +18,2 @@ describe('empty spec ', () => {

it(' NVTES-TC-6 : displays two todo items by default failure', () => {
cy.get('.todo-list li').should('have.length', 2)
cy.get('.todo-list li').first().should('have.text', 'Pay electric bills')
cy.get('.todo-list li').last().should('have.text', 'Walk the dog')
})
})

2

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

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -118,5 +118,5 @@ const axios = require('axios');

};
if(attemptData.error) {
data["comments"] = [attemptData.error.name + " : " + attemptData.error.message + "\n" + attemptData.error.stack ];
if(!!aioConfig.addTestBodyToComments) {
if(attemptData.error || (data.testRunStatus === "Failed" && caseData.displayError)) {
data["comments"] = [caseData.displayError? caseData.displayError : attemptData.error.name + " : " + attemptData.error.message + "\n" + attemptData.error.stack ];
if(!!aioConfig.addTestBodyToComments && caseData.body) {
data["comments"].push("Test Body : " + caseData.body);

@@ -243,3 +243,3 @@ }

if(tcKeys.length) {
tcKeys.forEach(tcKey => testData.set(tcKey, {attempts: t.attempts, id : t.testId, body: t.body, duration: t.duration}))
tcKeys.forEach(tcKey => testData.set(tcKey, {attempts: t.attempts, id : t.testId, body: t.body, duration: t.duration, displayError: t.displayError}))
}

@@ -246,0 +246,0 @@ });

Sorry, the diff of this file is not supported yet

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