Eco Index Audit Cypress Plugin
611 بار بازدید -
پارسال
-
This video shows the plugin
This video shows the plugin eco-index-audit https://github.com/EmmanuelDemey/eco-... and how you can check any URL to be well-coded from the ecological viewpoint (don't be wasteful!) I explain how to correctly check the property "ecoIndex" yielded by the plugin's task
const threshold = 50
cy.task("checkEcoIndex", url)
.its('ecoIndex', {timeout: 0})
.should('be.above', threshold)
const threshold = 50
cy.task("checkEcoIndex", url)
.its('ecoIndex', {timeout: 0})
.should('be.above', threshold)
پارسال
در تاریخ 1401/10/12 منتشر شده
است.
611
بـار بازدید شده