wdio-timeline-reporter
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -125,2 +125,8 @@ const events = require('events'); | ||
modalImgEl.setAttribute('src', event.target.src); | ||
if (modalImgEl.naturalWidth / modalImgEl.naturalHeight > 1) { | ||
document.querySelector('.modal-content').setAttribute("style", "width: 90%;"); | ||
} else { | ||
document.querySelector('.modal-content').setAttribute("style", "width: 640px"); | ||
} | ||
modalEl.classList.add('is-active'); | ||
@@ -127,0 +133,0 @@ }); |
{ | ||
"name": "wdio-timeline-reporter", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "A WebdriverIO reporter. Creates a simple HTML report after test runs", | ||
@@ -5,0 +5,0 @@ "main": "lib/timeline-reporter.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
22285
454