Загрузка...

Measure The Elapsed Time In Your Cypress Tests

This is cypress-time-marks plugin introduction for quickly measuring how long different parts of the test take, and even failing the current test if the time limit has been exceeded.

cy.timeMark('start').wait(100).timeSince(
'start', // mark name
'waiting', // message
50, // time limit (ms)
true, // throw an error if above the time limit
)

Find the plugin at https://github.com/bahmutov/cypress-time-marks

Видео Measure The Elapsed Time In Your Cypress Tests канала gleb bahmutov
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять