Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

wdio-timeline-reporter

Package Overview
Dependencies
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wdio-timeline-reporter - npm Package Compare versions

Comparing version 0.2.4 to 0.2.5

10

lib/timeline-reporter.js

@@ -347,7 +347,13 @@ const events = require('events');

const screenshotDivClass = !!imagesHtml ? 'screenshots' : 'no-screenshots';
const isPendingHtml = isPending ? '<span class="tag is-warning">Skipped</span> ' : '';
const stateTag = (state) => {
const map = new Map();
map.set('pending', 'is-warning')
map.set('pass', 'is-success')
map.set('fail', 'is-danger')
return `<span class="tag ${map.get(state)}">Skipped</span> `;
}
suiteHtml += `
<div class="test ${state}">
<p class="subtitle is-5">${isPendingHtml}Test Name: ${title}</p>
<p class="subtitle is-5">${stateTag(state)}Test Name: ${title}</p>
<div class="columns">

@@ -354,0 +360,0 @@ <div class="column is-half">

2

package.json
{
"name": "wdio-timeline-reporter",
"version": "0.2.4",
"version": "0.2.5",
"description": "",

@@ -5,0 +5,0 @@ "main": "lib/timeline-reporter.js",

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