UNPKG

e2ed

Version:

E2E testing framework over Playwright

20 lines (19 loc) 972 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Metadata = void 0; /** * Renders metadata of whole `e2ed` run. * @internal */ const Metadata = ({ menuIndex }) => { const pagesHash = 'api-statistics-pages'; const requestsHash = 'api-statistics-requests'; const resourcesHash = 'api-statistics-resources'; return (jsx.createElement("article", { class: "retry", id: `retry${menuIndex}`, hidden: true }, jsx.createElement("h3", { class: "retry__title" }, "Metadata"), jsx.createElement("div", { class: "tests-group" }, jsx.createElement("button", { class: "test-link", "data-runhash": pagesHash }, "Pages statistics"), jsx.createElement("button", { class: "test-link", "data-runhash": requestsHash }, "Requests statistics"), jsx.createElement("button", { class: "test-link", "data-runhash": resourcesHash }, "Resources statistics")))); }; exports.Metadata = Metadata;