html-reporter 11.16.3 → 11.17.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/lib/adapters/config/testplane.d.ts +5 -0
- package/build/lib/adapters/config/testplane.js +71 -1
- package/build/lib/adapters/config/testplane.js.map +1 -1
- package/build/lib/adapters/test/testplane.js +9 -1
- package/build/lib/adapters/test/testplane.js.map +1 -1
- package/build/lib/adapters/test-collection/index.d.ts +1 -0
- package/build/lib/adapters/test-collection/testplane.d.ts +4 -2
- package/build/lib/adapters/test-collection/testplane.js +7 -3
- package/build/lib/adapters/test-collection/testplane.js.map +1 -1
- package/build/lib/adapters/test-result/transformers/db.js +10 -1
- package/build/lib/adapters/test-result/transformers/db.js.map +1 -1
- package/build/lib/adapters/tool/index.d.ts +6 -0
- package/build/lib/adapters/tool/index.js.map +1 -1
- package/build/lib/adapters/tool/testplane/index.d.ts +4 -1
- package/build/lib/adapters/tool/testplane/index.js +77 -2
- package/build/lib/adapters/tool/testplane/index.js.map +1 -1
- package/build/lib/cli/commands/gui.js +1 -0
- package/build/lib/cli/commands/gui.js.map +1 -1
- package/build/lib/common-utils.js +15 -1
- package/build/lib/common-utils.js.map +1 -1
- package/build/lib/config/index.js +4 -0
- package/build/lib/config/index.js.map +1 -1
- package/build/lib/constants/defaults.js +1 -0
- package/build/lib/constants/defaults.js.map +1 -1
- package/build/lib/constants/local-storage.d.ts +2 -0
- package/build/lib/constants/local-storage.js +3 -1
- package/build/lib/constants/local-storage.js.map +1 -1
- package/build/lib/gui/app.d.ts +2 -1
- package/build/lib/gui/app.js +3 -0
- package/build/lib/gui/app.js.map +1 -1
- package/build/lib/gui/constants/client-events.d.ts +3 -0
- package/build/lib/gui/constants/client-events.js +4 -1
- package/build/lib/gui/constants/client-events.js.map +1 -1
- package/build/lib/gui/index.d.ts +1 -0
- package/build/lib/gui/index.js.map +1 -1
- package/build/lib/gui/server.js +18 -0
- package/build/lib/gui/server.js.map +1 -1
- package/build/lib/gui/tests-watcher/index.d.ts +32 -0
- package/build/lib/gui/tests-watcher/index.js +126 -0
- package/build/lib/gui/tests-watcher/index.js.map +1 -0
- package/build/lib/gui/tool-runner/index.d.ts +22 -0
- package/build/lib/gui/tool-runner/index.js +292 -5
- package/build/lib/gui/tool-runner/index.js.map +1 -1
- package/build/lib/plugin-api.d.ts +4 -0
- package/build/lib/plugin-api.js +6 -0
- package/build/lib/plugin-api.js.map +1 -1
- package/build/lib/report-builder/gui.d.ts +23 -2
- package/build/lib/report-builder/gui.js +64 -2
- package/build/lib/report-builder/gui.js.map +1 -1
- package/build/lib/sqlite-client.d.ts +5 -0
- package/build/lib/sqlite-client.js +19 -0
- package/build/lib/sqlite-client.js.map +1 -1
- package/build/lib/static/134.min.js +1 -1
- package/build/lib/static/212.min.js +1 -0
- package/build/lib/static/285.min.css +1 -0
- package/build/lib/static/285.min.js +1 -0
- package/build/lib/static/389.min.css +1 -0
- package/build/lib/static/389.min.js +1 -0
- package/build/lib/static/516.min.js +1 -1
- package/build/lib/static/{164.min.js → 533.min.js} +1 -1
- package/build/lib/static/{899.min.js → 635.min.js} +1 -1
- package/build/lib/static/73.min.js +1 -0
- package/build/lib/static/gui.html +1 -1
- package/build/lib/static/gui.min.css +1 -1
- package/build/lib/static/gui.min.js +1 -1
- package/build/lib/static/index.html +1 -1
- package/build/lib/static/new-ui-gui.html +1 -1
- package/build/lib/static/new-ui-report.html +1 -1
- package/build/lib/static/newGui.min.js +1 -1
- package/build/lib/static/newReport.min.js +1 -1
- package/build/lib/static/report.min.js +1 -1
- package/build/lib/static/search-worker.min.js +1 -1
- package/build/lib/test-attempt-manager.d.ts +7 -0
- package/build/lib/test-attempt-manager.js +30 -0
- package/build/lib/test-attempt-manager.js.map +1 -1
- package/build/lib/tests-tree-builder/base.d.ts +1 -1
- package/build/lib/tests-tree-builder/gui.d.ts +18 -1
- package/build/lib/tests-tree-builder/gui.js +204 -3
- package/build/lib/tests-tree-builder/gui.js.map +1 -1
- package/build/lib/tests-tree-builder/tree-patch.d.ts +35 -0
- package/build/lib/tests-tree-builder/tree-patch.js +58 -0
- package/build/lib/tests-tree-builder/tree-patch.js.map +1 -0
- package/build/lib/types.d.ts +3 -0
- package/build/lib/types.js.map +1 -1
- package/build/package.json +2 -1
- package/package.json +2 -1
- package/plugins-sdk/build-ui/lib/adapters/config/testplane.d.ts +5 -0
- package/plugins-sdk/build-ui/lib/adapters/test-collection/index.d.ts +1 -0
- package/plugins-sdk/build-ui/lib/adapters/test-collection/testplane.d.ts +4 -2
- package/plugins-sdk/build-ui/lib/adapters/tool/index.d.ts +6 -0
- package/plugins-sdk/build-ui/lib/adapters/tool/testplane/index.d.ts +4 -1
- package/plugins-sdk/build-ui/lib/constants/local-storage.d.ts +2 -0
- package/plugins-sdk/build-ui/lib/gui/app.d.ts +2 -1
- package/plugins-sdk/build-ui/lib/gui/constants/client-events.d.ts +3 -0
- package/plugins-sdk/build-ui/lib/gui/index.d.ts +1 -0
- package/plugins-sdk/build-ui/lib/gui/tests-watcher/index.d.ts +32 -0
- package/plugins-sdk/build-ui/lib/gui/tool-runner/index.d.ts +22 -0
- package/plugins-sdk/build-ui/lib/plugin-api.d.ts +4 -0
- package/plugins-sdk/build-ui/lib/report-builder/gui.d.ts +23 -2
- package/plugins-sdk/build-ui/lib/sqlite-client.d.ts +5 -0
- package/plugins-sdk/build-ui/lib/static/modules/action-names.d.ts +1 -0
- package/plugins-sdk/build-ui/lib/static/modules/actions/lifecycle.d.ts +5 -1
- package/plugins-sdk/build-ui/lib/static/modules/default-state.d.ts +2 -0
- package/plugins-sdk/build-ui/lib/static/modules/selectors/tree.d.ts +16 -4
- package/plugins-sdk/build-ui/lib/static/new-ui/types/store.d.ts +4 -1
- package/plugins-sdk/build-ui/lib/test-attempt-manager.d.ts +7 -0
- package/plugins-sdk/build-ui/lib/tests-tree-builder/base.d.ts +1 -1
- package/plugins-sdk/build-ui/lib/tests-tree-builder/gui.d.ts +18 -1
- package/plugins-sdk/build-ui/lib/tests-tree-builder/tree-patch.d.ts +35 -0
- package/plugins-sdk/build-ui/lib/types.d.ts +3 -0
- package/build/lib/static/343.min.css +0 -1
- package/build/lib/static/343.min.js +0 -1
- package/build/lib/static/796.min.js +0 -1
- package/build/lib/static/830.min.css +0 -1
- package/build/lib/static/830.min.js +0 -1
- package/build/lib/static/999.min.js +0 -1
- package/build/lib/static/icons/exclamation-triangle-large.svg +0 -5
- package/build/lib/static/icons/github-icon.svg +0 -3
- package/build/lib/static/icons/word-wrap-icon.svg +0 -6
- /package/build/lib/static/{796.min.css → 212.min.css} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!doctype html><html><head><title>Gui report</title><meta charset="utf-8"><link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"/><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.4.1/semantic.min.css"/><link id="dynamic-favicon" rel="icon" type="image/png" href="icons/favicon.png"/><link rel="preload" href="databaseUrls.json" as="fetch" crossorigin="anonymous"/><link rel="preload" href="sql-wasm.wasm" as="fetch" crossorigin="anonymous"/><link href="https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap" rel="stylesheet"><script defer="defer" src="sql-wasm.js"></script><script defer="defer" src="
|
|
1
|
+
<!doctype html><html><head><title>Gui report</title><meta charset="utf-8"><link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"/><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.4.1/semantic.min.css"/><link id="dynamic-favicon" rel="icon" type="image/png" href="icons/favicon.png"/><link rel="preload" href="databaseUrls.json" as="fetch" crossorigin="anonymous"/><link rel="preload" href="sql-wasm.wasm" as="fetch" crossorigin="anonymous"/><link href="https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap" rel="stylesheet"><script defer="defer" src="sql-wasm.js"></script><script defer="defer" src="533.min.js"></script><script defer="defer" src="741.min.js"></script><script defer="defer" src="212.min.js"></script><script defer="defer" src="73.min.js"></script><script defer="defer" src="389.min.js"></script><script defer="defer" src="134.min.js"></script><script defer="defer" src="516.min.js"></script><script defer="defer" src="gui.min.js"></script><link href="212.min.css" rel="stylesheet"><link href="389.min.css" rel="stylesheet"><link href="gui.min.css" rel="stylesheet"></head><script type="module">let uiMode;
|
|
2
2
|
try {
|
|
3
3
|
uiMode = JSON.parse(localStorage.getItem('html-reporter:ui-mode'));
|
|
4
4
|
} catch { /* */ }
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
.sticky-header{display:contents}.sticky-header .sticky-header__wrap{background-color:#fff;border-bottom:1px solid #ccc;height:40px;position:fixed;text-align:center;transform:translateY(-100%);transform-origin:top;transition:transform .25s ease-out .5s;width:100%;z-index:98}.sticky-header .sticky-header__wrap:before{transform:translateY(50%) rotate(180deg)}.sticky-header .sticky-header__content{background-color:#fff;border-bottom:1px solid #ccc;position:sticky;top:0;transform-origin:top;transition:transform .25s linear .25s;width:100%;z-index:99}.sticky-header.sticky-header_unwrapped .sticky-header__wrap{transition-delay:0ms}.sticky-header.sticky-header_wrapped:not(:hover) .sticky-header__wrap{transform:translateY(0)}.sticky-header.sticky-header_wrapped:not(:hover) .sticky-header__content{transform:translateY(-100%) scaleY(0)}.run-button{display:inline-flex}.run-button .run-button__dropdown{width:150px}.react-checkbox-tree{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:row-reverse;flex-direction:row-reverse;font-size:16px}.react-checkbox-tree>ol{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.react-checkbox-tree ol{list-style-type:none;margin:0;padding-left:0}.react-checkbox-tree ol ol{padding-left:24px}.react-checkbox-tree button{color:inherit;line-height:normal}.react-checkbox-tree button:disabled{cursor:not-allowed}.react-checkbox-tree .rct-bare-label{cursor:default}.react-checkbox-tree label{cursor:pointer;margin-bottom:0}.react-checkbox-tree label:hover{background:rgba(51,51,204,.1)}.react-checkbox-tree label:active,.react-checkbox-tree label:focus{background:rgba(51,51,204,.15)}.react-checkbox-tree:not(.rct-native-display) input{display:none}.react-checkbox-tree.rct-native-display input{margin:0 5px}.react-checkbox-tree .rct-icon{display:inline-block;font-family:Font Awesome\ 5 Free,FontAwesome,sans-serif;font-style:normal;font-variant:normal;font-weight:400;text-align:center;text-rendering:auto}.rct-disabled>.rct-text>label{cursor:not-allowed;opacity:.75}.rct-disabled>.rct-text>label:active,.rct-disabled>.rct-text>label:hover{background:transparent}.rct-text{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex}.rct-options{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;margin-left:.5rem;text-align:right}.rct-option{background:none;border:0;cursor:pointer;font-size:18px;opacity:.75;padding:0 4px}.rct-option:hover{opacity:1}.rct-option+.rct-option{margin-left:2px}.rct-checkbox,.rct-collapse,.rct-node-icon{padding:0 5px}.rct-checkbox *,.rct-collapse *,.rct-node-icon *{display:inline-block;margin:0;width:14px}.rct-collapse{-ms-flex-item-align:stretch;align-self:stretch;background:none;border:0;color:inherit;font-size:12px;line-height:normal}.rct-collapse.rct-collapse-btn{cursor:pointer}.rct-collapse>.rct-icon-expand-close{opacity:.5}.rct-collapse>.rct-icon-expand-close:hover{opacity:1}.rct-native-display .rct-checkbox{display:none}.rct-node-clickable{cursor:pointer}.rct-node-clickable:hover{background:rgba(51,51,204,.1)}.rct-node-clickable:focus{background:rgba(51,51,204,.2);outline:0}.rct-node-icon{color:#33c}.rct-title{padding:0 5px}.rct-icons-fa4 .rct-icon-expand-close:before{content:"\f054"}.rct-icons-fa4 .rct-icon-expand-open:before{content:"\f078"}.rct-icons-fa4 .rct-icon-uncheck:before{content:"\f096"}.rct-icons-fa4 .rct-icon-check:before{content:"\f046"}.rct-icons-fa4 .rct-icon-half-check:before{content:"\f046";opacity:.5}.rct-icons-fa4 .rct-icon-leaf:before{content:"\f016"}.rct-icons-fa4 .rct-icon-parent-open:before{content:"\f115"}.rct-icons-fa4 .rct-icon-parent-close:before{content:"\f114"}.rct-icons-fa4 .rct-icon-expand-all:before{content:"\f0fe"}.rct-icons-fa4 .rct-icon-collapse-all:before{content:"\f146"}.rct-icons-fa5 .rct-icon-expand-close:before{content:"\f054";font-weight:900}.rct-icons-fa5 .rct-icon-expand-open:before{content:"\f078";font-weight:900}.rct-icons-fa5 .rct-icon-uncheck:before{content:"\f0c8"}.rct-icons-fa5 .rct-icon-check:before{content:"\f14a"}.rct-icons-fa5 .rct-icon-half-check:before{content:"\f14a";opacity:.5}.rct-icons-fa5 .rct-icon-leaf:before{content:"\f15b"}.rct-icons-fa5 .rct-icon-parent-open:before{content:"\f07c"}.rct-icons-fa5 .rct-icon-parent-close:before{content:"\f07b"}.rct-icons-fa5 .rct-icon-expand-all:before{content:"\f0fe"}.rct-icons-fa5 .rct-icon-collapse-all:before{content:"\f146"}.rct-direction-rtl{direction:rtl}.rct-direction-rtl ol ol{padding-left:0;padding-right:24px}.rct-direction-rtl.rct-icons-fa4 .rct-icon-expand-close:before{content:"\f105"}.rct-direction-rtl.rct-icons-fa5 .rct-icon-expand-close:before{content:"\f053"}.g-popup{z-index:9999}.browserlist__filter{display:inline-flex;justify-content:center;padding:4px;width:100%}.browserlist__row{align-items:center;display:flex;gap:4px;width:100%}.browserlist__row .browserlist__row_content{flex:1 1 auto}.browserlist__row .action-button{opacity:0;width:60px}.g-select-list__option:hover .browserlist__row .action-button{opacity:1}.browserlist__popup .g-select-list__option{flex-direction:row-reverse;gap:8px}.browser-name{display:inline-flex;gap:4px}.browserlist{width:250px}.main-menu{background-color:#fafaf9;padding-bottom:20px;padding-top:20px}.main-menu .control-container{align-items:center;display:inline-flex;margin-bottom:15px;width:100%}.main-menu .control-container:last-child{margin-bottom:0}.control-container{display:flex;flex-wrap:wrap;row-gap:15px}.control-container>*{margin-right:15px}.control-container>:last-child{margin-right:0}.control-buttons .basehost__text{margin-right:auto}.control-buttons .menu-bar{margin-left:15px}.control-buttons .control-label{border-radius:var(--button-border-radius);height:25px}.control-group .button{margin-right:0}.control-group{display:inline-block;white-space:nowrap}.browserlist .browserlist__select{height:25px;max-width:400px;min-width:220px;width:auto}.button.control-group__item{border-radius:0;margin:0;position:relative}.button.control-group__item:first-child{border-radius:var(--button-border-radius) 0 0 var(--button-border-radius)}.button.control-group__item:last-child{border-radius:0 var(--button-border-radius) var(--button-border-radius) 0}.button.control-group__item:not(:last-child){border-right:0}.button.control-group__item:not(:last-child):after{border-right:1px solid transparent;bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;transition:border-color .2s;z-index:1}.button.control-group__item:first-child:after{border-radius:var(--button-border-radius) 0 0 var(--button-border-radius)}.button.control-group__item:last-child:after{border-radius:0 var(--button-border-radius) var(--button-border-radius) 0}.button.control-group__item:hover:after{border-color:#555}.expand-dropdown{width:150px}.base-host-input{margin-right:auto;width:210px}.test-name-filter{width:500px}.select__dropdown-s{width:100px}.select__dropdown-m{width:150px}.select__dropdown-l{width:200px}@property --gradient-angle{syntax:"<angle>";inherits:false;initial-value:0turn}@property --from-color{syntax:"<color>";inherits:false;initial-value:#00ffff00}@property --to-color{syntax:"<color>";inherits:false;initial-value:#eee}.report-info .new-ui-button{margin-right:1em;position:relative;transition:color 1s linear}@keyframes glow{0%{background-position:0}to{background-position:400%}}.report-info .new-ui-button .new-ui-button__glow{animation:glow 20s linear infinite;background-image:linear-gradient(90deg,#03a9f4,#f441a5,#ffeb3b,#03a9f4);background-size:400%;border-radius:5px;filter:blur(10px);height:100%;left:0;opacity:0;position:absolute;transition:opacity 1s ease;width:100%;z-index:-5}.report-info .new-ui-button:hover .new-ui-button__glow{opacity:1}@keyframes color-fade{0%{color:#000}to{color:#fff}}.report-info .new-ui-button:hover{animation:color-fade 1s ease forwards;animation-delay:.6s}@keyframes pulse{0%{--gradient-angle:0deg;--to-color:#6c47ff}90%{--to-color:#6c47ff;--from-color:#00ffff00}to{--gradient-angle:180deg;--from-color:#6c47ff;--to-color:#6c47ff}}.report-info .new-ui-button:before{background-image:conic-gradient(from var(--gradient-angle) at -10% 100%,var(--from-color) 0,var(--to-color) 100%);transition:none}.report-info .new-ui-button:hover:before{animation:pulse 1s ease forwards}@keyframes bg-fade{0%{background-color:#eee}to{background-color:#6c47ff}}.report-info .new-ui-button:after{background-color:#eee;border-radius:4px;margin:2px}.report-info .new-ui-button:hover:after{animation:bg-fade 1s ease forwards;animation-delay:.7s}.report-info .label{margin:0 15px 0 0}.report-info .detail{display:inline-block;margin-left:1em;opacity:.8}.modal-open{overflow-y:hidden}.history{word-wrap:break-word;white-space:pre-wrap}.history .history-item{display:inline-flex;gap:4px;padding-bottom:1px;padding-right:8px;padding-top:1px}.history .history-item .history-item__name{user-select:text}.history .history-item .history-item__time{opacity:.5;user-select:text}@keyframes blink{0%{opacity:1}to{opacity:.3}}.custom-icon_retry:before{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cpath d='M13.509 0h-1.28a.324.324 0 0 0-.324.34l.107 2.234a6.68 6.68 0 0 0-5.1-2.358C3.222.216.213 3.227.216 6.917a6.696 6.696 0 0 0 11.183 4.965.325.325 0 0 0 .013-.47l-.917-.917a.323.323 0 0 0-.443-.015 4.734 4.734 0 0 1-3.14 1.184A4.75 4.75 0 0 1 2.16 6.912 4.75 4.75 0 0 1 6.912 2.16c1.644 0 3.092.833 3.945 2.1l-2.742-.13a.324.324 0 0 0-.339.323v1.28c0 .179.145.324.324.324h5.409a.324.324 0 0 0 .324-.324V.324A.324.324 0 0 0 13.509 0z'/%3E%3C/svg%3E")}.section_status_success>.section__title .bullet_type-simple:before,.state-title_success:before{color:var(--report-color-success)}.section_status_error>.section__title .bullet_type-simple:before,.section_status_fail>.section__title .bullet_type-simple:before,.state-title_error:before,.state-title_fail:before{color:var(--report-color-fail)}.section_status_skipped>.section__title .bullet_type-simple:before,.state-title_skipped:before{color:#ccc}.section_status_idle>.section__title .ui.checkbox label:after,.section_status_idle>.section__title .ui.checkbox label:before,.tests-group>.tests-group__title .ui.checkbox label:after,.tests-group>.tests-group__title .ui.checkbox label:before{border-color:#000!important;color:#000!important}.section_status_queued>.section__title .bullet_type-simple:before
|
|
1
|
+
.sticky-header{display:contents}.sticky-header .sticky-header__wrap{background-color:#fff;border-bottom:1px solid #ccc;height:40px;position:fixed;text-align:center;transform:translateY(-100%);transform-origin:top;transition:transform .25s ease-out .5s;width:100%;z-index:98}.sticky-header .sticky-header__wrap:before{transform:translateY(50%) rotate(180deg)}.sticky-header .sticky-header__content{background-color:#fff;border-bottom:1px solid #ccc;position:sticky;top:0;transform-origin:top;transition:transform .25s linear .25s;width:100%;z-index:99}.sticky-header.sticky-header_unwrapped .sticky-header__wrap{transition-delay:0ms}.sticky-header.sticky-header_wrapped:not(:hover) .sticky-header__wrap{transform:translateY(0)}.sticky-header.sticky-header_wrapped:not(:hover) .sticky-header__content{transform:translateY(-100%) scaleY(0)}.run-button{display:inline-flex}.run-button .g-button{color:#fff}.run-button .run-button__dropdown{width:150px}.react-checkbox-tree{-webkit-box-orient:horizontal;-webkit-box-direction:reverse;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-direction:row-reverse;flex-direction:row-reverse;font-size:16px}.react-checkbox-tree>ol{-webkit-box-flex:1;-ms-flex:1 1 auto;flex:1 1 auto}.react-checkbox-tree ol{list-style-type:none;margin:0;padding-left:0}.react-checkbox-tree ol ol{padding-left:24px}.react-checkbox-tree button{color:inherit;line-height:normal}.react-checkbox-tree button:disabled{cursor:not-allowed}.react-checkbox-tree .rct-bare-label{cursor:default}.react-checkbox-tree label{cursor:pointer;margin-bottom:0}.react-checkbox-tree label:hover{background:rgba(51,51,204,.1)}.react-checkbox-tree label:active,.react-checkbox-tree label:focus{background:rgba(51,51,204,.15)}.react-checkbox-tree:not(.rct-native-display) input{display:none}.react-checkbox-tree.rct-native-display input{margin:0 5px}.react-checkbox-tree .rct-icon{display:inline-block;font-family:Font Awesome\ 5 Free,FontAwesome,sans-serif;font-style:normal;font-variant:normal;font-weight:400;text-align:center;text-rendering:auto}.rct-disabled>.rct-text>label{cursor:not-allowed;opacity:.75}.rct-disabled>.rct-text>label:active,.rct-disabled>.rct-text>label:hover{background:transparent}.rct-text{-webkit-box-align:center;-ms-flex-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex}.rct-options{-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;margin-left:.5rem;text-align:right}.rct-option{background:none;border:0;cursor:pointer;font-size:18px;opacity:.75;padding:0 4px}.rct-option:hover{opacity:1}.rct-option+.rct-option{margin-left:2px}.rct-checkbox,.rct-collapse,.rct-node-icon{padding:0 5px}.rct-checkbox *,.rct-collapse *,.rct-node-icon *{display:inline-block;margin:0;width:14px}.rct-collapse{-ms-flex-item-align:stretch;align-self:stretch;background:none;border:0;color:inherit;font-size:12px;line-height:normal}.rct-collapse.rct-collapse-btn{cursor:pointer}.rct-collapse>.rct-icon-expand-close{opacity:.5}.rct-collapse>.rct-icon-expand-close:hover{opacity:1}.rct-native-display .rct-checkbox{display:none}.rct-node-clickable{cursor:pointer}.rct-node-clickable:hover{background:rgba(51,51,204,.1)}.rct-node-clickable:focus{background:rgba(51,51,204,.2);outline:0}.rct-node-icon{color:#33c}.rct-title{padding:0 5px}.rct-icons-fa4 .rct-icon-expand-close:before{content:"\f054"}.rct-icons-fa4 .rct-icon-expand-open:before{content:"\f078"}.rct-icons-fa4 .rct-icon-uncheck:before{content:"\f096"}.rct-icons-fa4 .rct-icon-check:before{content:"\f046"}.rct-icons-fa4 .rct-icon-half-check:before{content:"\f046";opacity:.5}.rct-icons-fa4 .rct-icon-leaf:before{content:"\f016"}.rct-icons-fa4 .rct-icon-parent-open:before{content:"\f115"}.rct-icons-fa4 .rct-icon-parent-close:before{content:"\f114"}.rct-icons-fa4 .rct-icon-expand-all:before{content:"\f0fe"}.rct-icons-fa4 .rct-icon-collapse-all:before{content:"\f146"}.rct-icons-fa5 .rct-icon-expand-close:before{content:"\f054";font-weight:900}.rct-icons-fa5 .rct-icon-expand-open:before{content:"\f078";font-weight:900}.rct-icons-fa5 .rct-icon-uncheck:before{content:"\f0c8"}.rct-icons-fa5 .rct-icon-check:before{content:"\f14a"}.rct-icons-fa5 .rct-icon-half-check:before{content:"\f14a";opacity:.5}.rct-icons-fa5 .rct-icon-leaf:before{content:"\f15b"}.rct-icons-fa5 .rct-icon-parent-open:before{content:"\f07c"}.rct-icons-fa5 .rct-icon-parent-close:before{content:"\f07b"}.rct-icons-fa5 .rct-icon-expand-all:before{content:"\f0fe"}.rct-icons-fa5 .rct-icon-collapse-all:before{content:"\f146"}.rct-direction-rtl{direction:rtl}.rct-direction-rtl ol ol{padding-left:0;padding-right:24px}.rct-direction-rtl.rct-icons-fa4 .rct-icon-expand-close:before{content:"\f105"}.rct-direction-rtl.rct-icons-fa5 .rct-icon-expand-close:before{content:"\f053"}.g-popup{z-index:9999}.browserlist__filter{display:inline-flex;justify-content:center;padding:4px;width:100%}.browserlist__row{align-items:center;display:flex;gap:4px;width:100%}.browserlist__row .browserlist__row_content{flex:1 1 auto}.browserlist__row .action-button{opacity:0;width:60px}.g-select-list__option:hover .browserlist__row .action-button{opacity:1}.browserlist__popup .g-select-list__option{flex-direction:row-reverse;gap:8px}.browser-name{display:inline-flex;gap:4px}.browserlist{width:250px}.main-menu{background-color:#fafaf9;padding-bottom:20px;padding-top:20px}.main-menu .control-container{align-items:center;display:inline-flex;margin-bottom:15px;width:100%}.main-menu .control-container:last-child{margin-bottom:0}.control-container{display:flex;flex-wrap:wrap;row-gap:15px}.control-container>*{margin-right:15px}.control-container>:last-child{margin-right:0}.control-buttons .basehost__text{margin-right:auto}.control-buttons .menu-bar{margin-left:15px}.control-buttons .control-label{border-radius:var(--button-border-radius);height:25px}.control-group .button{margin-right:0}.control-group{display:inline-block;white-space:nowrap}.browserlist .browserlist__select{height:25px;max-width:400px;min-width:220px;width:auto}.button.control-group__item{border-radius:0;margin:0;position:relative}.button.control-group__item:first-child{border-radius:var(--button-border-radius) 0 0 var(--button-border-radius)}.button.control-group__item:last-child{border-radius:0 var(--button-border-radius) var(--button-border-radius) 0}.button.control-group__item:not(:last-child){border-right:0}.button.control-group__item:not(:last-child):after{border-right:1px solid transparent;bottom:-1px;content:"";position:absolute;right:-1px;top:-1px;transition:border-color .2s;z-index:1}.button.control-group__item:first-child:after{border-radius:var(--button-border-radius) 0 0 var(--button-border-radius)}.button.control-group__item:last-child:after{border-radius:0 var(--button-border-radius) var(--button-border-radius) 0}.button.control-group__item:hover:after{border-color:#555}.expand-dropdown{width:150px}.base-host-input{margin-right:auto;width:210px}.test-name-filter{width:500px}.select__dropdown-s{width:100px}.select__dropdown-m{width:150px}.select__dropdown-l{width:200px}@property --gradient-angle{syntax:"<angle>";inherits:false;initial-value:0turn}@property --from-color{syntax:"<color>";inherits:false;initial-value:#00ffff00}@property --to-color{syntax:"<color>";inherits:false;initial-value:#eee}.report-info .new-ui-button{margin-right:1em;position:relative;transition:color 1s linear}@keyframes glow{0%{background-position:0}to{background-position:400%}}.report-info .new-ui-button .new-ui-button__glow{animation:glow 20s linear infinite;background-image:linear-gradient(90deg,#03a9f4,#f441a5,#ffeb3b,#03a9f4);background-size:400%;border-radius:5px;filter:blur(10px);height:100%;left:0;opacity:0;position:absolute;transition:opacity 1s ease;width:100%;z-index:-5}.report-info .new-ui-button:hover .new-ui-button__glow{opacity:1}@keyframes color-fade{0%{color:#000}to{color:#fff}}.report-info .new-ui-button:hover{animation:color-fade 1s ease forwards;animation-delay:.6s}@keyframes pulse{0%{--gradient-angle:0deg;--to-color:#6c47ff}90%{--to-color:#6c47ff;--from-color:#00ffff00}to{--gradient-angle:180deg;--from-color:#6c47ff;--to-color:#6c47ff}}.report-info .new-ui-button:before{background-image:conic-gradient(from var(--gradient-angle) at -10% 100%,var(--from-color) 0,var(--to-color) 100%);transition:none}.report-info .new-ui-button:hover:before{animation:pulse 1s ease forwards}@keyframes bg-fade{0%{background-color:#eee}to{background-color:#6c47ff}}.report-info .new-ui-button:after{background-color:#eee;border-radius:4px;margin:2px}.report-info .new-ui-button:hover:after{animation:bg-fade 1s ease forwards;animation-delay:.7s}.report-info .label{margin:0 15px 0 0}.report-info .detail{display:inline-block;margin-left:1em;opacity:.8}.modal-open{overflow-y:hidden}.history{word-wrap:break-word;white-space:pre-wrap}.history .history-item{display:inline-flex;gap:4px;padding-bottom:1px;padding-right:8px;padding-top:1px}.history .history-item .history-item__name{user-select:text}.history .history-item .history-item__time{opacity:.5;user-select:text}@keyframes blink{0%{opacity:1}to{opacity:.3}}.custom-icon_retry:before{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cpath d='M13.509 0h-1.28a.324.324 0 0 0-.324.34l.107 2.234a6.68 6.68 0 0 0-5.1-2.358C3.222.216.213 3.227.216 6.917a6.696 6.696 0 0 0 11.183 4.965.325.325 0 0 0 .013-.47l-.917-.917a.323.323 0 0 0-.443-.015 4.734 4.734 0 0 1-3.14 1.184A4.75 4.75 0 0 1 2.16 6.912 4.75 4.75 0 0 1 6.912 2.16c1.644 0 3.092.833 3.945 2.1l-2.742-.13a.324.324 0 0 0-.339.323v1.28c0 .179.145.324.324.324h5.409a.324.324 0 0 0 .324-.324V.324A.324.324 0 0 0 13.509 0z'/%3E%3C/svg%3E")}.section_status_success>.section__title .bullet_type-simple:before,.state-title_success:before{color:var(--report-color-success)}.section_status_error>.section__title .bullet_type-simple:before,.section_status_fail>.section__title .bullet_type-simple:before,.state-title_error:before,.state-title_fail:before{color:var(--report-color-fail)}.section_status_skipped>.section__title .bullet_type-simple:before,.state-title_skipped:before{color:#ccc}.section_status_idle>.section__title .ui.checkbox label:after,.section_status_idle>.section__title .ui.checkbox label:before,.tests-group>.tests-group__title .ui.checkbox label:after,.tests-group>.tests-group__title .ui.checkbox label:before{border-color:#000!important;color:#000!important}.section_status_queued>.section__title .bullet_type-simple:before
|
|
2
2
|
.section_status_queued>.section__title .ui.checkbox label:before,.section_status_queued>.section__title .ui.checkbox label:after{border-color:#e7d700!important;color:#e7d700!important}.section_status_running>.section__title .bullet_type-simple:before,.section_status_running>.section__title .ui.checkbox label:after,.section_status_running>.section__title .ui.checkbox label:before{-webkit-animation:blink .5s linear 0s infinite alternate;animation:blink .5s linear 0s infinite alternate;border-color:#e7d700!important;color:#e7d700!important}.section_status_updated>.section__title,.section_status_updated>.section__title .bullet_type-simple:before,.section_status_updated>.section__title .ui.checkbox label:after,.section_status_updated>.section__title .ui.checkbox label:before{border-color:var(--report-color-success)!important;color:var(--report-color-success)!important}.report_show-only-errors .section_status_updated{display:none}.controls>.controls__item:not(:only-child){margin-bottom:5px}.controls>.controls__item:only-child{margin-bottom:10px}.controls__item{display:inline-block;margin-right:10px;vertical-align:top}.state-controls{display:flex;margin-top:10px;position:sticky;top:0;z-index:10}.button_type_suite-controls{margin-right:10px}.controls__item>.button_type_suite-controls{margin-right:0}.button_blink{-webkit-animation:blink .5s linear 0s infinite alternate;animation:blink .5s linear 0s infinite alternate}.ui.modal>.content{width:auto!important}.ui.button,.ui.buttons,.ui.buttons .button{background:hsla(210,3%,88%,.36);font-size:11px;font-weight:700}.ui.buttons .button{height:11px;line-height:10px}.ui.buttons{border-radius:var(--button-border-radius)}.ui.buttons:after{font-size:0}.ui.button:active,.ui.button:hover{background:hsla(220,3%,80%,.6)}.ui.active.button{background:#ffde5a;font-weight:400}.ui.active.button:active,.ui.active.button:hover{background:rgba(255,222,90,.6)}.custom-gui{display:flex;flex-direction:row;flex-wrap:wrap;margin-bottom:15px}.custom-gui_section-controls{margin-right:10px}.tab-switcher{margin-bottom:0}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{"use strict";var e,t,n,r,o={45925:(e,t,n)=>{var r=n(2784),o=n(17029),i=n(85684),u=n(82979),a=n(9249),s=n(87371),c=n(45754),l=n(11987),f=n(95058),d=n(56666),p=n(13980),m=n.n(p),v=n(78505),h=n(18717),b=n(97680),g=n(64141),E=n(67985),S=n(50243),I=n(93941),T=n(76635),y=n(50479);function R(e){var t=C();return function(){var n,r=(0,f.Z)(e);if(t){var o=(0,f.Z)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(0,l.Z)(this,n)}}function C(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(C=function(){return!!e})()}var w=function(e){(0,c.Z)(n,e);var t=R(n);function n(){return(0,a.Z)(this,n),t.apply(this,arguments)}return(0,s.Z)(n,[{key:"_renderButtons",value:function(e){var t=e.sectionName,n=e.groupIndex,o=e.controls,i=this.props.actions,u=function(e,r){var u=r.value,a=o.findIndex((function(e){return e.value===u}));i.thunkRunCustomGuiAction({sectionName:t,groupIndex:n,controlIndex:a})};return(0,T.map)(o,(function(e,t){var n=e.label,o=e.value,i=e.active;return r.createElement(y.Z,{onClick:u,key:"".concat(t),value:o,content:n,active:Boolean(i)})}))}},{key:"_renderControls",value:function(e,t){switch(e){case"button":return this._renderButtons(t);case"radiobutton":return r.createElement(y.Z.Group,{key:t.sectionName},this._renderButtons(t));default:return null}}},{key:"_renderSection",value:function(e){var t=this;return this.props.customGui[e].map((function(n,r){var o=n.type,i=n.controls;return t._renderControls(o,{sectionName:e,groupIndex:r,controls:i})})).filter(Boolean).map((function(t){return r.createElement("div",{className:"custom-gui_section-controls",key:e},t)}))}},{key:"render",value:function(){var e=this,t=this.props.customGui,n=Object.keys(t).map((function(t){return e._renderSection(t)})).filter((function(e){return!(0,T.isEmpty)(e)}));return(0,T.isEmpty)(n)?null:r.createElement("div",{className:"custom-gui"},n)}}]),n}(r.PureComponent);(0,d.Z)(w,"propTypes",{actions:m().object.isRequired,customGui:m().objectOf(m().arrayOf(m().shape({type:m().string,controls:m().arrayOf(m().shape({label:m().string,value:m().string,active:m().bool}))}))).isRequired});const O=(0,i.connect)((function(e){return{customGui:e.config.customGui}}),(function(e){return{actions:(0,h.bindActionCreators)(g,e)}}))(w);var Z=n(18553),A=n(96234),B=n(69875),N=n(57159),k=n(63690),L=Object.freeze({ALL:"All",FAILED:"Failed",CHECKED:"Checked"}),_=function(e){var t=e.actions,n=e.autoRun,o=e.isDisabled,i=e.isRunning,u=e.failedTests,a=e.checkedTests,s=(0,N.Z)("RunMode",L.FAILED),c=(0,A.Z)(s,2),l=c[0],f=c[1],p=(0,N.Z)("showCheckboxes",!1),m=(0,A.Z)(p,1)[0],v=(0,T.isEmpty)(u),h=!m||(0,T.isEmpty)(a),b=function(){return f(L.ALL)},g=function(){return!v&&f(L.FAILED)},E=function(){return!h&&f(L.CHECKED)},S=function(){return t.thunkRunAllTests()},I=function(){return t.thunkRunFailedTests({tests:u})},y=function(){return t.thunkRunSuite({tests:a})};return(0,r.useEffect)((function(){n&&S()}),[]),(0,r.useEffect)((function(){E()}),[h]),(0,r.useEffect)((function(){var e=l===L.FAILED&&v,t=l===L.CHECKED&&h;(e||t)&&f(L.ALL)}),[v,h]),r.createElement("div",{className:"run-button"},r.createElement(k.Button,{pin:"round-clear",disabled:o,onClick:function(){var e;(0,(e={},(0,d.Z)(e,L.ALL,S),(0,d.Z)(e,L.FAILED,I),(0,d.Z)(e,L.CHECKED,y),e)[l])()},view:"action",className:"run-button__button"},i?"Running":"Run"),r.createElement(k.Select,{pin:"clear-round",disabled:o,className:"run-button__dropdown",value:[l],onUpdate:function(e){var t;e.length&&(0,(t={},(0,d.Z)(t,L.ALL,b),(0,d.Z)(t,L.FAILED,g),(0,d.Z)(t,L.CHECKED,E),t)[e[0]])()}},r.createElement(k.Select.Option,{value:L.ALL},"".concat(L.ALL," Tests")),r.createElement(k.Select.Option,{value:L.FAILED,disabled:v},"".concat(L.FAILED," Tests")),r.createElement(k.Select.Option,{value:L.CHECKED,disabled:h},"".concat(L.CHECKED," Tests"))))};_.propTypes={autoRun:m().bool.isRequired,isDisabled:m().bool,isRunning:m().bool,failedTests:m().arrayOf(m().shape({testName:m().string,browserName:m().string})).isRequired,checkedTests:m().arrayOf(m().shape({testName:m().string,browserName:m().string})).isRequired,actions:m().object.isRequired};const D=(0,i.connect)((function(e){var t=e.autoRun,n=e.tree.suites.allRootIds,r=e.processing;return{autoRun:t,isDisabled:!n.length||r,isRunning:e.running,failedTests:(0,B.getFailedTests)(e),checkedTests:(0,B.getCheckedTests)(e)}}),(function(e){return{actions:(0,h.bindActionCreators)(g,e)}}))(_);var P=n(33992),x=n(91695);function F(e){var t=M();return function(){var n,r=(0,f.Z)(e);if(t){var o=(0,f.Z)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(0,l.Z)(this,n)}}function M(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(M=function(){return!!e})()}var j=function(e){(0,c.Z)(n,e);var t=F(n);function n(){return(0,a.Z)(this,n),t.apply(this,arguments)}return(0,s.Z)(n,[{key:"render",value:function(){var e=this.props,t=e.actions,n=e.running,o=e.stopping;return r.createElement("div",{className:"main-menu container"},r.createElement(O,null),r.createElement("div",{className:"control-container control-buttons"},r.createElement(D,null),r.createElement(Z.Z,{label:"Stop tests",isDisabled:!n||o,handler:t.thunkStopTests}),r.createElement(P.Z,null),r.createElement(I.Z,null)),r.createElement(x.Z,null))}}]),n}(r.Component);(0,d.Z)(j,"propTypes",{running:m().bool.isRequired,stopping:m().bool.isRequired,actions:m().object.isRequired});const U=(0,i.connect)((function(e){return{running:e.running,stopping:e.stopping}}),(function(e){return{actions:(0,h.bindActionCreators)(g,e)}}))(j);const G=function(){return r.createElement(S.Z,null,r.createElement(U,null))};var q=n(28165),V=n(89297),H=n(52505),J=n(77803),K=n(76763),Q=n(4986),X=n(36498),z={BEGIN_SUITE:"beginSuite",BEGIN_STATE:"beginState",TEST_RESULT:"testResult",RETRY:"retry",ERROR:"err",END:"end",REPEAT_LEFT:"repeatsLeft",CONNECTED:"connected",DOM_SNAPSHOTS:"DOM_SNAPSHOTS"};function W(e){var t=Y();return function(){var n,r=(0,f.Z)(e);if(t){var o=(0,f.Z)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(0,l.Z)(this,n)}}function Y(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Y=function(){return!!e})()}var $=function(e){(0,c.Z)(n,e);var t=W(n);function n(){return(0,a.Z)(this,n),t.apply(this,arguments)}return(0,s.Z)(n,[{key:"componentDidMount",value:function(){this.props.actions.thunkInitGuiReport(),this._subscribeToEvents()}},{key:"componentWillUnmount",value:function(){this.props.actions.finGuiReport()}},{key:"_subscribeToEvents",value:function(){var e=this.props.actions,t=new EventSource("/events");t.addEventListener(z.BEGIN_SUITE,(function(t){var n=JSON.parse(t.data);e.suiteBegin(n)})),t.addEventListener(z.BEGIN_STATE,(function(t){var n=JSON.parse(t.data);e.testBegin(n)})),[z.TEST_RESULT,z.ERROR].forEach((function(n){t.addEventListener(n,(function(t){var n=JSON.parse(t.data);e.testResult(n)}))})),t.addEventListener(z.END,(function(){e.thunkTestsEnd()}))}},{key:"render",value:function(){var e=this.props,t=e.allRootSuiteIds,n=e.loading,o=e.customScripts,i=e.notifications,u=e.actions,a=r.createElement(v.ZP,{theme:v.U9,notifications:i,dismissNotification:u.dismissNotification});return t.length?r.createElement(r.Fragment,null,r.createElement(K.Z,{name:b.Dx},r.createElement(H.h,{scripts:o}),r.createElement(X.s,null),a,r.createElement(J.Z,null),r.createElement(G,null),r.createElement("main",{className:"container"},r.createElement(V.Z,null)),r.createElement(E.Z,{active:n.active,content:n.content}),r.createElement(q.Z,null),r.createElement(Q.Z,null))):r.createElement(r.Fragment,null,a,r.createElement(E.Z,{active:!0}))}}]),n}(r.Component);(0,d.Z)($,"propTypes",{loading:m().shape({active:m().bool,content:m().string}).isRequired,customScripts:m().array,notifications:m().array,actions:m().object.isRequired,allRootSuiteIds:m().array.isRequired});const ee=(0,i.connect)((function(e){var t=e.tree,n=e.loading,r=e.config.customScripts,o=e.notifications;return{allRootSuiteIds:t.suites.allRootIds,loading:n,customScripts:r,notifications:o}}),(function(e){return{actions:(0,h.bindActionCreators)(g,e)}}))($);n(43810),n(636);var te=n(41493),ne=document.getElementById("app");(0,o.s)(ne).render(r.createElement(k.ThemeProvider,{theme:"light"},r.createElement(i.Provider,{store:u.Z},r.createElement(te.n,null,r.createElement(ee,null)))))},47039:(e,t,n)=>{n.r(t),n.d(t,{getStatsFilteredByBrowsers:()=>u});var r=n(97698),o=n(76635),i=n(51869),u=(0,r.createSelector)((function(e){return e.stats}),i.getFilteredBrowsers,(function(e,t){if((0,o.isEmpty)(t)||(0,o.isEmpty)(e.perBrowser))return e.all;var n={},r=t.map((function(t){var n=t.id,r=t.versions;return(0,o.isEmpty)(r)?(0,o.keys)(e.perBrowser[n]).map((function(t){return e.perBrowser[n][t]})):r.map((function(t){return e.perBrowser[n][t]}))}));return(0,o.flatten)(r).forEach((function(e){(0,o.forEach)(e,(function(e,t){n[t]=void 0===n[t]?e:n[t]+e}))})),n}))},69875:(e,t,n)=>{n.r(t),n.d(t,{areAllRootSuitesIdle:()=>j,getAcceptableImagesByStateName:()=>E,getAcceptableOpenedImageIds:()=>R,getCheckedTests:()=>g,getFailedOpenedImageIds:()=>C,getFailedSuiteResults:()=>P,getFailedTests:()=>b,getSelectedBrowserIds:()=>O,getSelectedImages:()=>B,getSuiteResults:()=>k,getVisibleBrowserIds:()=>w,getVisibleImages:()=>A,getVisibleRootSuiteIds:()=>N,mkGetLastImageByStateName:()=>h,mkGetTestsBySuiteId:()=>v});var r=n(76635),o=n(97698),i=n(37487),u=n(9560),a=n(14054),s=n(40645),c=n(8776),l=function(e){return e.tree.suites.stateById},f=function(e){return e.tree.browsers.allIds},d=function(e){return e.tree.browsers.stateById},p=function(e,t){var n=t.suiteId;return e.tree.suites.byId[n]},m=function(e,t){var n=t.imageId;return e.tree.images.byId[n]},v=function(){return(0,o.createSelector)(p,s.Bl,s.TZ,(function(e,t,n){return _(e,{suites:t,browsers:n}).map((function(e){return{testName:e.parentId,browserName:e.name}}))}))},h=function(){return(0,o.createSelector)(m,s.TZ,s.O7,s.Jx,F)},b=(0,o.createSelector)(s.Bl,s.TZ,s.O7,(function(e){return e.tree.suites.failedRootIds}),(function(e,t,n,o){return(0,r.flatMap)(o,(function(o){return k(e[o],{suites:e,browsers:t,results:n},r.last)})).filter((function(e){return(0,a.D8)(e)})).map((function(e){var n=e.parentId,r=t[n];return{testName:r.parentId,browserName:r.name,metaInfo:e.metaInfo}}))})),g=(0,o.createSelector)(f,s.TZ,d,(function(e,t,n){return e.filter((function(e){return n[e].checkStatus})).map((function(e){return{testName:t[e].parentId,browserName:t[e].name}}))})),E=(0,o.createSelector)(d,s.TZ,s.O7,s.Jx,(function(e,t,n,o){var i=function(e){var r=M(e,t,n);return{suiteId:r.parentId,browserName:r.name}},u=Object.keys(e).filter((function(t){return e[t].shouldBeShown})).map((function(e){return t[e]}));return(0,r.flatMap)(u,(function(e){return D(e,{results:n,images:o})})).filter(a.h3).sort((function(e,t){var n=i(e),r=n.suiteId,o=n.browserName,u=i(t),a=u.suiteId,s=u.browserName,c=r.localeCompare(a);return 0===c?o.localeCompare(s):c})).reduce((function(e,r){var i=F(r,t,n,o);if((0,a.F7)(i))return e;var u=n[r.parentId],s="".concat(u.parentId," ").concat(r.stateName);return e[s]?e[s].push(r):e[s]=[r],e}),{})})),S=(0,o.createSelector)(s.EZ,s.Bl,l,(function(e,t,n){var o=function(e){var t=n[e.id],r=t.shouldBeShown,o=t.shouldBeOpened;return r&&o},i=e.map((function(e){return t[e]})).filter(o);return(0,r.flatMap)(i,(function(e){return L(e,{suites:t},o)}))})),I=(0,o.createSelector)(S,s.TZ,d,S,(function(e,t,n){return(0,r.flatMap)(e,(function(e){return e.browserIds})).filter((function(e){var t=n[e],r=t.shouldBeShown,o=t.shouldBeOpened;return r&&o})).map((function(e){return t[e]}))})),T=(0,o.createSelector)(I,d,s.O7,(function(e,t,n){return e.map((function(e){var r=t[e.id].retryIndex,o=e.resultIds[r];return n[o]}))})),y=(0,o.createSelector)(T,s.Jx,(function(e){return e.tree.images.stateById}),(function(e,t,n){return(0,r.flatMap)(e,(function(e){return e.imageIds.filter((function(e){return n[e].shouldBeOpened})).map((function(e){return t[e]}))}))})),R=(0,o.createSelector)(y,(function(e){return e.filter(a.h3).map((function(e){return e.id}))})),C=(0,o.createSelector)(y,(function(e){return e.filter(a.D8).map((function(e){return e.id}))})),w=(0,o.createSelector)(f,d,(function(e,t){return e.filter((function(e){return t[e].shouldBeShown}))})),O=(0,o.createSelector)(f,s.TZ,d,(function(e,t,n){return e.filter((function(e){return n[e].checkStatus===c.ri}))})),Z=function(e,t,n,o,i,u,s){return e.map((function(e){return(0,r.last)(t[e].resultIds)})).flatMap((function(e){var t=n[e].suitePath.join("/");return s&&!s[t]?[]:n[e].imageIds.map((function(e){return o[e]})).filter((function(e){return(0,a.h3)(e)||(0,a.KD)({image:e,isLastResult:!0,isStaticImageAccepterEnabled:i,gui:u})}))}))},A=(0,o.createSelector)(w,s.TZ,s.O7,s.Jx,s.Qy,s.Fn,(function(e){return e.ui.suitesPage.expandedTreeNodesById}),Z),B=(0,o.createSelector)(O,s.TZ,s.O7,s.Jx,s.Qy,s.Fn,Z),N=(0,o.createSelector)((function(e){return e.app.viewMode===i.w.FAILED?e.tree.suites.failedRootIds:e.tree.suites.allRootIds}),l,(function(e,t){return e.filter((function(e){return t[e].shouldBeShown}))}));function k(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:r.identity,o=t.suites,i=t.browsers,u=t.results;return(0,a.Et)(e,{suiteCb:function(e){return k(o[e],t,n)},browserCb:function(e){return[].concat(n(i[e].resultIds)).map((function(e){return u[e]}))}})}function L(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:r.identity;return n(e)?(0,a.Et)(e,{suiteCb:function(e){return L(t.suites[e],t,n)},browserIdsCb:function(e,t){return[t]}}):[]}function _(e,t){var n=t.suites,o=t.browsers;return e.browserIds?e.browserIds.map((function(e){return o[e]})):(0,r.flatMap)(e.suiteIds,(function(e){return _(n[e],t)}))}function D(e,t){var n=t.results,o=t.images;return e.imageIds?[].concat(e.imageIds).map((function(e){return o[e]})):(0,r.flatMap)(e.resultIds,(function(e){return D(n[e],t)}))}function P(e){var t=e.suites.failedRootIds.map((function(t){return e.suites.byId[t]})),n=(0,r.compact)((0,r.flatMap)(t,(function(t){return x(t,e.suites.byId)})));return(0,r.flatMap)(n,(function(t){return(0,a.Et)(t,{browserCb:function(t){return e.browsers.byId[t].resultIds.map((function(t){return e.results.byId[t]}))}})}))}function x(e,t){return(0,a.D8)(e)?(0,a.Et)(e,{suiteCb:function(e){return x(t[e],t)},browserIdsCb:function(e,t){return[t]}}):[]}function F(e,t,n,o){var i=M(e,t,n),u=(0,r.flatMap)(i.resultIds,(function(e){return n[e].imageIds.map((function(e){return o[e]}))}));return(0,r.findLast)(u,{stateName:e.stateName})}function M(e,t,n){return t[n[e.parentId].parentId]}var j=(0,o.createSelector)(s.EZ,s.Bl,(function(e,t){return!e.some((function(e){return!(0,u.nc)(t[e].status)}))}))},58672:()=>{},63690:(e,t,n)=>{n.r(t),n.d(t,{AVATAR_SIZES:()=>o.DV,ActionTooltip:()=>o.M8,ActionsPanel:()=>o.sZ,Alert:()=>o.bZ,ArrowToggle:()=>o.F2,Avatar:()=>o.qE,AvatarStack:()=>o.Jh,Box:()=>o.xu,Breadcrumbs:()=>o.Oo,BreadcrumbsItem:()=>o.B7,Button:()=>o.zx,ButtonIcon:()=>o.Ei,Card:()=>o.Zb,Checkbox:()=>o.XZ,ClipboardButton:()=>o.mU,ClipboardIcon:()=>o.Km,Col:()=>o.JX,Container:()=>o.W2,CopyToClipboard:()=>o.h9,DEFAULT_AVATAR_SIZE:()=>o.eQ,DEFAULT_RENDER_POPUP:()=>o.Gv,DEFAULT_USER_LABEL_SIZE:()=>o.Vt,DEFAULT_USER_SIZE:()=>o.U0,DefinitionList:()=>o.wq,DefinitionListItem:()=>o.ij,Dialog:()=>o.Vq,DialogBody:()=>o.a7,DialogDivider:()=>o.EA,DialogFooter:()=>o.cN,DialogHeader:()=>o.fK,Disclosure:()=>o.pJ,DisclosureQa:()=>o.p6,Divider:()=>o.iz,DropdownMenu:()=>o.h_,EventBroker:()=>o.g5,FilePreview:()=>o.sB,Flex:()=>o.kC,HelpMark:()=>o.In,Hotkey:()=>o.qm,Icon:()=>o.JO,Label:()=>o.__,Lang:()=>r.Uo,Link:()=>o.rU,List:()=>o.aV,ListItem:()=>o.HC,ListQa:()=>o.j5,Loader:()=>o.aN,Menu:()=>o.v2,MenuGroup:()=>o.kS,MenuItem:()=>o.sN,MobileContext:()=>o.zw,MobileProvider:()=>o.eP,Modal:()=>o.u_,NumberInput:()=>o.Y2,Overlay:()=>o.C6,Pagination:()=>o.tl,Palette:()=>o.YI,PasswordInput:()=>o.WU,PinInput:()=>o.ET,PlaceholderContainer:()=>o.A_,Platform:()=>o.t4,Popover:()=>o.J2,Popup:()=>o.GI,Portal:()=>o.Uv,PortalProvider:()=>i.Xp,Progress:()=>o.Ex,Radio:()=>o.Y8,RadioGroup:()=>o.Ee,Row:()=>o.X2,SegmentedRadioGroup:()=>o.eW,SegmentedRadioGroupOption:()=>o.bb,Select:()=>o.Ph,SelectItem:()=>o.Ql,SelectItemGroup:()=>o.y,SelectQa:()=>o.Gd,Sheet:()=>o.yo,Skeleton:()=>o.Od,Slider:()=>o.iR,Spin:()=>o.yC,Stepper:()=>o.vF,Switch:()=>o.rs,TEXT_COLORS:()=>o.bo,TEXT_VARIANTS:()=>o.Sv,Tab:()=>o.OK,TabList:()=>o.td,TabPanel:()=>o.x4,TabProvider:()=>o.sM,Table:()=>o.iA,TableColumnSetup:()=>o.N6,TableSortIndicator:()=>o.RP,Text:()=>o.xv,TextArea:()=>o.Kx,TextInput:()=>o.oi,ThemeContext:()=>o.Ni,ThemeProvider:()=>o.f6,ThemeSettingsContext:()=>o.e_,Toast:()=>o.FN,Toaster:()=>o.x7,ToasterComponent:()=>o.B1,ToasterProvider:()=>o.Nj,Toc:()=>o.of,Tooltip:()=>o.u,User:()=>o.n5,UserLabel:()=>o.hx,UserQa:()=>o.GR,colorText:()=>o.V$,configure:()=>r.jQ,defaultRenderItem:()=>o._C,eventBroker:()=>o.Po,formatClass:()=>o.Up,getAvatarDisplayText:()=>o._W,getComponentName:()=>o.iY,getConfig:()=>r.iE,getElementRef:()=>o.eY,getFileType:()=>o.JB,getLayersCount:()=>o.lr,getSelectFilteredOptions:()=>o.VY,getThemeType:()=>o.MI,getUniqId:()=>o.xA,getXpath:()=>o._K,isSelectGroupTitle:()=>o.VP,isTouchDevice:()=>u.b,layerManager:()=>o.qR,listDefaultProps:()=>o.AW,mergeRefs:()=>i.lq,parseClass:()=>o.HG,parseHotkeys:()=>o.JZ,prepareSliderInnerState:()=>o.M6,rootMobileClassName:()=>o.P0,setRef:()=>i.k$,sp:()=>o.sp,spacing:()=>o.W0,text:()=>o.fL,useActionHandlers:()=>i.bV,useAsyncActionHandler:()=>i.dW,useControlledState:()=>i.zk,useDirection:()=>o.gm,useEventBroker:()=>o.br,useFileInput:()=>i.ei,useFocusWithin:()=>i.L_,useForkRef:()=>i.cR,useIntersection:()=>i.sx,useLayer:()=>o.sJ,useLayoutContext:()=>o.l5,useListNavigation:()=>i.c0,useMobile:()=>o.XA,useOutsideClick:()=>i.O3,usePlatform:()=>o.Fe,usePortalContainer:()=>i.Xw,useResizeObserver:()=>i.yU,useSelect:()=>i.L7,useSelectOptions:()=>o.nw,useTheme:()=>o.Fg,useThemeSettings:()=>o.XG,useThemeType:()=>o.Os,useThemeValue:()=>o.C8,useTimeout:()=>i.KS,useToaster:()=>o.Ps,useUniqId:()=>i.uR,useViewportSize:()=>i.nP,useVirtualElement:()=>i._F,useVirtualElementRef:()=>i.JQ,withDirection:()=>o.vA,withEventBrokerDomHandlers:()=>o.v1,withMobile:()=>o.ze,withTableActions:()=>o.QT,withTableCopy:()=>o.YX,withTableSelection:()=>o.ub,withTableSettings:()=>o.fC,withTableSorting:()=>o.Br,withTheme:()=>o.Zz,withThemeValue:()=>o.fx,withToaster:()=>o.YT,withoutClassMods:()=>o.Sr});var r=n(53660),o=n(27421),i=n(94822),u=n(88290)}},i={};function u(e){var t=i[e];if(void 0!==t)return t.exports;var n=i[e]={id:e,loaded:!1,exports:{}};return o[e].call(n.exports,n,n.exports,u),n.loaded=!0,n.exports}u.m=o,e=[],u.O=(t,n,r,o)=>{if(!n){var i=1/0;for(l=0;l<e.length;l++){for(var[n,r,o]=e[l],a=!0,s=0;s<n.length;s++)(!1&o||i>=o)&&Object.keys(u.O).every((e=>u.O[e](n[s])))?n.splice(s--,1):(a=!1,o<i&&(i=o));if(a){e.splice(l--,1);var c=r();void 0!==c&&(t=c)}}return t}o=o||0;for(var l=e.length;l>0&&e[l-1][2]>o;l--)e[l]=e[l-1];e[l]=[n,r,o]},u.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return u.d(t,{a:t}),t},n=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,u.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if("object"==typeof e&&e){if(4&r&&e.__esModule)return e;if(16&r&&"function"==typeof e.then)return e}var o=Object.create(null);u.r(o);var i={};t=t||[null,n({}),n([]),n(n)];for(var a=2&r&&e;"object"==typeof a&&!~t.indexOf(a);a=n(a))Object.getOwnPropertyNames(a).forEach((t=>i[t]=()=>e[t]));return i.default=()=>e,u.d(o,i),o},u.d=(e,t)=>{for(var n in t)u.o(t,n)&&!u.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},u.f={},u.e=e=>Promise.all(Object.keys(u.f).reduce(((t,n)=>(u.f[n](e,t),t)),[])),u.u=e=>(938===e?"search-worker":e)+".min.js",u.miniCssF=e=>{},u.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),u.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r={},u.l=(e,t,n,o)=>{if(r[e])r[e].push(t);else{var i,a;if(void 0!==n)for(var s=document.getElementsByTagName("script"),c=0;c<s.length;c++){var l=s[c];if(l.getAttribute("src")==e){i=l;break}}i||(a=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,u.nc&&i.setAttribute("nonce",u.nc),i.src=e),r[e]=[t];var f=(t,n)=>{i.onerror=i.onload=null,clearTimeout(d);var o=r[e];if(delete r[e],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach((e=>e(n))),t)return t(n)},d=setTimeout(f.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=f.bind(null,i.onerror),i.onload=f.bind(null,i.onload),a&&document.head.appendChild(i)}},u.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},u.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;u.g.importScripts&&(e=u.g.location+"");var t=u.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");if(n.length)for(var r=n.length-1;r>-1&&!e;)e=n[r--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),u.p=e})(),(()=>{u.b=document.baseURI||self.location.href;var e={929:0};u.f.j=(t,n)=>{var r=u.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var o=new Promise(((n,o)=>r=e[t]=[n,o]));n.push(r[2]=o);var i=u.p+u.u(t),a=new Error;u.l(i,(n=>{if(u.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var o=n&&("load"===n.type?"missing":n.type),i=n&&n.target&&n.target.src;a.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",a.name="ChunkLoadError",a.type=o,a.request=i,r[1](a)}}),"chunk-"+t,t)}},u.O.j=t=>0===e[t];var t=(t,n)=>{var r,o,[i,a,s]=n,c=0;if(i.some((t=>0!==e[t]))){for(r in a)u.o(a,r)&&(u.m[r]=a[r]);if(s)var l=s(u)}for(t&&t(n);c<i.length;c++)o=i[c],u.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return u.O(l)},n=self.webpackChunk=self.webpackChunk||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})(),u.O(void 0,[164,741,796,999,343,134,516],(()=>u(45925))),u.O(void 0,[164,741,796,999,343,134,516],(()=>u(87240))),u.O(void 0,[164,741,796,999,343,134,516],(()=>u(57605)));var a=u.O(void 0,[164,741,796,999,343,134,516],(()=>u(58672)));a=u.O(a)})();
|
|
1
|
+
(()=>{"use strict";var e,t,n,r,o={45925:(e,t,n)=>{var r=n(2784),o=n(17029),i=n(85684),u=n(82979),a=n(9249),s=n(87371),c=n(45754),l=n(11987),f=n(95058),d=n(56666),p=n(13980),m=n.n(p),v=n(78505),h=n(18717),E=n(97680),b=n(64141),g=n(67985),S=n(50243),T=n(93941),I=n(76635),y=n(50479);function R(e){var t=C();return function(){var n,r=(0,f.Z)(e);if(t){var o=(0,f.Z)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(0,l.Z)(this,n)}}function C(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(C=function(){return!!e})()}var w=function(e){(0,c.Z)(n,e);var t=R(n);function n(){return(0,a.Z)(this,n),t.apply(this,arguments)}return(0,s.Z)(n,[{key:"_renderButtons",value:function(e){var t=e.sectionName,n=e.groupIndex,o=e.controls,i=this.props.actions,u=function(e,r){var u=r.value,a=o.findIndex((function(e){return e.value===u}));i.thunkRunCustomGuiAction({sectionName:t,groupIndex:n,controlIndex:a})};return(0,I.map)(o,(function(e,t){var n=e.label,o=e.value,i=e.active;return r.createElement(y.Z,{onClick:u,key:"".concat(t),value:o,content:n,active:Boolean(i)})}))}},{key:"_renderControls",value:function(e,t){switch(e){case"button":return this._renderButtons(t);case"radiobutton":return r.createElement(y.Z.Group,{key:t.sectionName},this._renderButtons(t));default:return null}}},{key:"_renderSection",value:function(e){var t=this;return this.props.customGui[e].map((function(n,r){var o=n.type,i=n.controls;return t._renderControls(o,{sectionName:e,groupIndex:r,controls:i})})).filter(Boolean).map((function(t){return r.createElement("div",{className:"custom-gui_section-controls",key:e},t)}))}},{key:"render",value:function(){var e=this,t=this.props.customGui,n=Object.keys(t).map((function(t){return e._renderSection(t)})).filter((function(e){return!(0,I.isEmpty)(e)}));return(0,I.isEmpty)(n)?null:r.createElement("div",{className:"custom-gui"},n)}}]),n}(r.PureComponent);(0,d.Z)(w,"propTypes",{actions:m().object.isRequired,customGui:m().objectOf(m().arrayOf(m().shape({type:m().string,controls:m().arrayOf(m().shape({label:m().string,value:m().string,active:m().bool}))}))).isRequired});const O=(0,i.connect)((function(e){return{customGui:e.config.customGui}}),(function(e){return{actions:(0,h.bindActionCreators)(b,e)}}))(w);var A=n(18553),Z=n(96234),B=n(69875),N=n(57159),k=n(63690),L=Object.freeze({ALL:"All",FAILED:"Failed",CHECKED:"Checked"}),_=function(e){var t=e.actions,n=e.autoRun,o=e.isDisabled,i=e.isRunning,u=e.failedTests,a=e.checkedTests,s=(0,N.Z)("RunMode",L.FAILED),c=(0,Z.Z)(s,2),l=c[0],f=c[1],p=(0,N.Z)("showCheckboxes",!1),m=(0,Z.Z)(p,1)[0],v=(0,I.isEmpty)(u),h=!m||(0,I.isEmpty)(a),E=function(){return f(L.ALL)},b=function(){return!v&&f(L.FAILED)},g=function(){return!h&&f(L.CHECKED)},S=function(){return t.thunkRunAllTests()},T=function(){return t.thunkRunFailedTests({tests:u})},y=function(){return t.thunkRunSuite({tests:a})};return(0,r.useEffect)((function(){n&&S()}),[]),(0,r.useEffect)((function(){g()}),[h]),(0,r.useEffect)((function(){var e=l===L.FAILED&&v,t=l===L.CHECKED&&h;(e||t)&&f(L.ALL)}),[v,h]),r.createElement("div",{className:"run-button"},r.createElement(k.Button,{pin:"round-clear",disabled:o,onClick:function(){var e;(0,(e={},(0,d.Z)(e,L.ALL,S),(0,d.Z)(e,L.FAILED,T),(0,d.Z)(e,L.CHECKED,y),e)[l])()},view:"action",className:"run-button__button"},i?"Running":"Run"),r.createElement(k.Select,{pin:"clear-round",disabled:o,className:"run-button__dropdown",value:[l],onUpdate:function(e){var t;e.length&&(0,(t={},(0,d.Z)(t,L.ALL,E),(0,d.Z)(t,L.FAILED,b),(0,d.Z)(t,L.CHECKED,g),t)[e[0]])()}},r.createElement(k.Select.Option,{value:L.ALL},"".concat(L.ALL," Tests")),r.createElement(k.Select.Option,{value:L.FAILED,disabled:v},"".concat(L.FAILED," Tests")),r.createElement(k.Select.Option,{value:L.CHECKED,disabled:h},"".concat(L.CHECKED," Tests"))))};_.propTypes={autoRun:m().bool.isRequired,isDisabled:m().bool,isRunning:m().bool,failedTests:m().arrayOf(m().shape({testName:m().string,browserName:m().string})).isRequired,checkedTests:m().arrayOf(m().shape({testName:m().string,browserName:m().string})).isRequired,actions:m().object.isRequired};const D=(0,i.connect)((function(e){var t=e.autoRun,n=e.tree.suites.allRootIds,r=e.processing;return{autoRun:t,isDisabled:!n.length||r,isRunning:e.running,failedTests:(0,B.getFailedTests)(e),checkedTests:(0,B.getCheckedTests)(e)}}),(function(e){return{actions:(0,h.bindActionCreators)(b,e)}}))(_);var P=n(33992),F=n(91695);function x(e){var t=M();return function(){var n,r=(0,f.Z)(e);if(t){var o=(0,f.Z)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(0,l.Z)(this,n)}}function M(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(M=function(){return!!e})()}var j=function(e){(0,c.Z)(n,e);var t=x(n);function n(){return(0,a.Z)(this,n),t.apply(this,arguments)}return(0,s.Z)(n,[{key:"render",value:function(){var e=this.props,t=e.actions,n=e.running,o=e.stopping;return r.createElement("div",{className:"main-menu container"},r.createElement(O,null),r.createElement("div",{className:"control-container control-buttons"},r.createElement(D,null),r.createElement(A.Z,{label:"Stop tests",isDisabled:!n||o,handler:t.thunkStopTests}),r.createElement(P.Z,null),r.createElement(T.Z,null)),r.createElement(F.Z,null))}}]),n}(r.Component);(0,d.Z)(j,"propTypes",{running:m().bool.isRequired,stopping:m().bool.isRequired,actions:m().object.isRequired});const U=(0,i.connect)((function(e){return{running:e.running,stopping:e.stopping}}),(function(e){return{actions:(0,h.bindActionCreators)(b,e)}}))(j);const G=function(){return r.createElement(S.Z,null,r.createElement(U,null))};var q=n(28165),H=n(89297),V=n(52505),J=n(77803),K=n(76763),Q=n(4986),X=n(36498),z={BEGIN_SUITE:"beginSuite",BEGIN_STATE:"beginState",TEST_RESULT:"testResult",RETRY:"retry",ERROR:"err",END:"end",REPEAT_LEFT:"repeatsLeft",CONNECTED:"connected",DOM_SNAPSHOTS:"DOM_SNAPSHOTS",TESTS_REFRESH_STARTED:"testsRefreshStarted",TESTS_REFRESHED:"testsRefreshed",TESTS_REFRESH_FAILED:"testsRefreshFailed"};function W(e){var t=Y();return function(){var n,r=(0,f.Z)(e);if(t){var o=(0,f.Z)(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return(0,l.Z)(this,n)}}function Y(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(Y=function(){return!!e})()}var $=function(e){(0,c.Z)(n,e);var t=W(n);function n(){return(0,a.Z)(this,n),t.apply(this,arguments)}return(0,s.Z)(n,[{key:"componentDidMount",value:function(){this.props.actions.thunkInitGuiReport(),this._subscribeToEvents()}},{key:"componentWillUnmount",value:function(){this.props.actions.finGuiReport()}},{key:"_subscribeToEvents",value:function(){var e=this.props.actions,t=new EventSource("/events");t.addEventListener(z.BEGIN_SUITE,(function(t){var n=JSON.parse(t.data);e.suiteBegin(n)})),t.addEventListener(z.BEGIN_STATE,(function(t){var n=JSON.parse(t.data);e.testBegin(n)})),[z.TEST_RESULT,z.ERROR].forEach((function(n){t.addEventListener(n,(function(t){var n=JSON.parse(t.data);e.testResult(n)}))})),t.addEventListener(z.END,(function(){e.thunkTestsEnd()}))}},{key:"render",value:function(){var e=this.props,t=e.allRootSuiteIds,n=e.loading,o=e.customScripts,i=e.notifications,u=e.actions,a=r.createElement(v.ZP,{theme:v.U9,notifications:i,dismissNotification:u.dismissNotification});return t.length?r.createElement(r.Fragment,null,r.createElement(K.Z,{name:E.Dx},r.createElement(V.h,{scripts:o}),r.createElement(X.s,null),a,r.createElement(J.Z,null),r.createElement(G,null),r.createElement("main",{className:"container"},r.createElement(H.Z,null)),r.createElement(g.Z,{active:n.active,content:n.content}),r.createElement(q.Z,null),r.createElement(Q.Z,null))):r.createElement(r.Fragment,null,a,r.createElement(g.Z,{active:!0}))}}]),n}(r.Component);(0,d.Z)($,"propTypes",{loading:m().shape({active:m().bool,content:m().string}).isRequired,customScripts:m().array,notifications:m().array,actions:m().object.isRequired,allRootSuiteIds:m().array.isRequired});const ee=(0,i.connect)((function(e){var t=e.tree,n=e.loading,r=e.config.customScripts,o=e.notifications;return{allRootSuiteIds:t.suites.allRootIds,loading:n,customScripts:r,notifications:o}}),(function(e){return{actions:(0,h.bindActionCreators)(b,e)}}))($);n(43810),n(636);var te=n(41493),ne=document.getElementById("app");(0,o.s)(ne).render(r.createElement(k.ThemeProvider,{theme:"light"},r.createElement(i.Provider,{store:u.Z},r.createElement(te.n,null,r.createElement(ee,null)))))},47039:(e,t,n)=>{n.r(t),n.d(t,{getStatsFilteredByBrowsers:()=>u});var r=n(97698),o=n(76635),i=n(51869),u=(0,r.createSelector)((function(e){return e.stats}),i.getFilteredBrowsers,(function(e,t){if((0,o.isEmpty)(t)||(0,o.isEmpty)(e.perBrowser))return e.all;var n={},r=t.map((function(t){var n=t.id,r=t.versions;return(0,o.isEmpty)(r)?(0,o.keys)(e.perBrowser[n]).map((function(t){return e.perBrowser[n][t]})):r.map((function(t){return e.perBrowser[n][t]}))}));return(0,o.flatten)(r).forEach((function(e){(0,o.forEach)(e,(function(e,t){n[t]=void 0===n[t]?e:n[t]+e}))})),n}))},69875:(e,t,n)=>{n.r(t),n.d(t,{areAllRootSuitesIdle:()=>j,getAcceptableImagesByStateName:()=>g,getAcceptableOpenedImageIds:()=>R,getCheckedTests:()=>b,getFailedOpenedImageIds:()=>C,getFailedSuiteResults:()=>P,getFailedTests:()=>E,getSelectedBrowserIds:()=>O,getSelectedImages:()=>B,getSuiteResults:()=>k,getVisibleBrowserIds:()=>w,getVisibleImages:()=>Z,getVisibleRootSuiteIds:()=>N,mkGetLastImageByStateName:()=>h,mkGetTestsBySuiteId:()=>v});var r=n(76635),o=n(97698),i=n(37487),u=n(9560),a=n(14054),s=n(40645),c=n(8776),l=function(e){return e.tree.suites.stateById},f=function(e){return e.tree.browsers.allIds},d=function(e){return e.tree.browsers.stateById},p=function(e,t){var n=t.suiteId;return e.tree.suites.byId[n]},m=function(e,t){var n=t.imageId;return e.tree.images.byId[n]},v=function(){return(0,o.createSelector)(p,s.Bl,s.TZ,(function(e,t,n){return _(e,{suites:t,browsers:n}).map((function(e){return{testName:e.parentId,browserName:e.name}}))}))},h=function(){return(0,o.createSelector)(m,s.TZ,s.O7,s.Jx,x)},E=(0,o.createSelector)(s.Bl,s.TZ,s.O7,(function(e){return e.tree.suites.failedRootIds}),(function(e,t,n,o){return(0,r.flatMap)(o,(function(o){return k(e[o],{suites:e,browsers:t,results:n},r.last)})).filter((function(e){return(0,a.D8)(e)})).map((function(e){var n=e.parentId,r=t[n];return{testName:r.parentId,browserName:r.name,metaInfo:e.metaInfo}}))})),b=(0,o.createSelector)(f,s.TZ,d,(function(e,t,n){return e.filter((function(e){return n[e].checkStatus})).map((function(e){return{testName:t[e].parentId,browserName:t[e].name}}))})),g=(0,o.createSelector)(d,s.TZ,s.O7,s.Jx,(function(e,t,n,o){var i=function(e){var r=M(e,t,n);return{suiteId:r.parentId,browserName:r.name}},u=Object.keys(e).filter((function(t){return e[t].shouldBeShown})).map((function(e){return t[e]}));return(0,r.flatMap)(u,(function(e){return D(e,{results:n,images:o})})).filter(a.h3).sort((function(e,t){var n=i(e),r=n.suiteId,o=n.browserName,u=i(t),a=u.suiteId,s=u.browserName,c=r.localeCompare(a);return 0===c?o.localeCompare(s):c})).reduce((function(e,r){var i=x(r,t,n,o);if((0,a.F7)(i))return e;var u=n[r.parentId],s="".concat(u.parentId," ").concat(r.stateName);return e[s]?e[s].push(r):e[s]=[r],e}),{})})),S=(0,o.createSelector)(s.EZ,s.Bl,l,(function(e,t,n){var o=function(e){var t=n[e.id],r=t.shouldBeShown,o=t.shouldBeOpened;return r&&o},i=e.map((function(e){return t[e]})).filter(o);return(0,r.flatMap)(i,(function(e){return L(e,{suites:t},o)}))})),T=(0,o.createSelector)(S,s.TZ,d,S,(function(e,t,n){return(0,r.flatMap)(e,(function(e){return e.browserIds})).filter((function(e){var t=n[e],r=t.shouldBeShown,o=t.shouldBeOpened;return r&&o})).map((function(e){return t[e]}))})),I=(0,o.createSelector)(T,d,s.O7,(function(e,t,n){return e.map((function(e){var r=t[e.id].retryIndex,o=e.resultIds[r];return n[o]}))})),y=(0,o.createSelector)(I,s.Jx,(function(e){return e.tree.images.stateById}),(function(e,t,n){return(0,r.flatMap)(e,(function(e){return e.imageIds.filter((function(e){return n[e].shouldBeOpened})).map((function(e){return t[e]}))}))})),R=(0,o.createSelector)(y,(function(e){return e.filter(a.h3).map((function(e){return e.id}))})),C=(0,o.createSelector)(y,(function(e){return e.filter(a.D8).map((function(e){return e.id}))})),w=(0,o.createSelector)(f,d,(function(e,t){return e.filter((function(e){return t[e].shouldBeShown}))})),O=(0,o.createSelector)(f,s.TZ,d,(function(e,t,n){return e.filter((function(e){return n[e].checkStatus===c.ri}))})),A=function(e,t,n,o,i,u,s){return e.map((function(e){return(0,r.last)(t[e].resultIds)})).flatMap((function(e){var t=n[e].suitePath.join("/");return s&&!s[t]?[]:n[e].imageIds.map((function(e){return o[e]})).filter((function(e){return(0,a.h3)(e)||(0,a.KD)({image:e,isLastResult:!0,isStaticImageAccepterEnabled:i,gui:u})}))}))},Z=(0,o.createSelector)(w,s.TZ,s.O7,s.Jx,s.Qy,s.Fn,(function(e){return e.ui.suitesPage.expandedTreeNodesById}),A),B=(0,o.createSelector)(O,s.TZ,s.O7,s.Jx,s.Qy,s.Fn,A),N=(0,o.createSelector)((function(e){return e.app.viewMode===i.w.FAILED?e.tree.suites.failedRootIds:e.tree.suites.allRootIds}),l,(function(e,t){return e.filter((function(e){return t[e].shouldBeShown}))}));function k(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:r.identity,o=t.suites,i=t.browsers,u=t.results;return(0,a.Et)(e,{suiteCb:function(e){return k(o[e],t,n)},browserCb:function(e){return[].concat(n(i[e].resultIds)).map((function(e){return u[e]}))}})}function L(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:r.identity;return n(e)?(0,a.Et)(e,{suiteCb:function(e){return L(t.suites[e],t,n)},browserIdsCb:function(e,t){return[t]}}):[]}function _(e,t){var n=t.suites,o=t.browsers;return e.browserIds?e.browserIds.map((function(e){return o[e]})):(0,r.flatMap)(e.suiteIds,(function(e){return _(n[e],t)}))}function D(e,t){var n=t.results,o=t.images;return e.imageIds?[].concat(e.imageIds).map((function(e){return o[e]})):(0,r.flatMap)(e.resultIds,(function(e){return D(n[e],t)}))}function P(e){var t=e.suites.failedRootIds.map((function(t){return e.suites.byId[t]})),n=(0,r.compact)((0,r.flatMap)(t,(function(t){return F(t,e.suites.byId)})));return(0,r.flatMap)(n,(function(t){return(0,a.Et)(t,{browserCb:function(t){return e.browsers.byId[t].resultIds.map((function(t){return e.results.byId[t]}))}})}))}function F(e,t){return(0,a.D8)(e)?(0,a.Et)(e,{suiteCb:function(e){return F(t[e],t)},browserIdsCb:function(e,t){return[t]}}):[]}function x(e,t,n,o){var i=M(e,t,n),u=(0,r.flatMap)(i.resultIds,(function(e){return n[e].imageIds.map((function(e){return o[e]}))}));return(0,r.findLast)(u,{stateName:e.stateName})}function M(e,t,n){return t[n[e.parentId].parentId]}var j=(0,o.createSelector)(s.EZ,s.Bl,(function(e,t){return!e.some((function(e){return!(0,u.nc)(t[e].status)}))}))},58672:()=>{},63690:(e,t,n)=>{n.r(t),n.d(t,{AVATAR_SIZES:()=>o.DV,ActionTooltip:()=>o.M8,ActionsPanel:()=>o.sZ,Alert:()=>o.bZ,ArrowToggle:()=>o.F2,Avatar:()=>o.qE,AvatarStack:()=>o.Jh,Box:()=>o.xu,Breadcrumbs:()=>o.Oo,BreadcrumbsItem:()=>o.B7,Button:()=>o.zx,ButtonIcon:()=>o.Ei,Card:()=>o.Zb,Checkbox:()=>o.XZ,ClipboardButton:()=>o.mU,ClipboardIcon:()=>o.Km,Col:()=>o.JX,Container:()=>o.W2,CopyToClipboard:()=>o.h9,DEFAULT_AVATAR_SIZE:()=>o.eQ,DEFAULT_RENDER_POPUP:()=>o.Gv,DEFAULT_USER_LABEL_SIZE:()=>o.Vt,DEFAULT_USER_SIZE:()=>o.U0,DefinitionList:()=>o.wq,DefinitionListItem:()=>o.ij,Dialog:()=>o.Vq,DialogBody:()=>o.a7,DialogDivider:()=>o.EA,DialogFooter:()=>o.cN,DialogHeader:()=>o.fK,Disclosure:()=>o.pJ,DisclosureQa:()=>o.p6,Divider:()=>o.iz,DropdownMenu:()=>o.h_,EventBroker:()=>o.g5,FilePreview:()=>o.sB,Flex:()=>o.kC,HelpMark:()=>o.In,Hotkey:()=>o.qm,Icon:()=>o.JO,Label:()=>o.__,Lang:()=>r.Uo,Link:()=>o.rU,List:()=>o.aV,ListItem:()=>o.HC,ListQa:()=>o.j5,Loader:()=>o.aN,Menu:()=>o.v2,MenuGroup:()=>o.kS,MenuItem:()=>o.sN,MobileContext:()=>o.zw,MobileProvider:()=>o.eP,Modal:()=>o.u_,NumberInput:()=>o.Y2,Overlay:()=>o.C6,Pagination:()=>o.tl,Palette:()=>o.YI,PasswordInput:()=>o.WU,PinInput:()=>o.ET,PlaceholderContainer:()=>o.A_,Platform:()=>o.t4,Popover:()=>o.J2,Popup:()=>o.GI,Portal:()=>o.Uv,PortalProvider:()=>i.Xp,Progress:()=>o.Ex,Radio:()=>o.Y8,RadioGroup:()=>o.Ee,Row:()=>o.X2,SegmentedRadioGroup:()=>o.eW,SegmentedRadioGroupOption:()=>o.bb,Select:()=>o.Ph,SelectItem:()=>o.Ql,SelectItemGroup:()=>o.y,SelectQa:()=>o.Gd,Sheet:()=>o.yo,Skeleton:()=>o.Od,Slider:()=>o.iR,Spin:()=>o.yC,Stepper:()=>o.vF,Switch:()=>o.rs,TEXT_COLORS:()=>o.bo,TEXT_VARIANTS:()=>o.Sv,Tab:()=>o.OK,TabList:()=>o.td,TabPanel:()=>o.x4,TabProvider:()=>o.sM,Table:()=>o.iA,TableColumnSetup:()=>o.N6,TableSortIndicator:()=>o.RP,Text:()=>o.xv,TextArea:()=>o.Kx,TextInput:()=>o.oi,ThemeContext:()=>o.Ni,ThemeProvider:()=>o.f6,ThemeSettingsContext:()=>o.e_,Toast:()=>o.FN,Toaster:()=>o.x7,ToasterComponent:()=>o.B1,ToasterProvider:()=>o.Nj,Toc:()=>o.of,Tooltip:()=>o.u,User:()=>o.n5,UserLabel:()=>o.hx,UserQa:()=>o.GR,colorText:()=>o.V$,configure:()=>r.jQ,defaultRenderItem:()=>o._C,eventBroker:()=>o.Po,formatClass:()=>o.Up,getAvatarDisplayText:()=>o._W,getComponentName:()=>o.iY,getConfig:()=>r.iE,getElementRef:()=>o.eY,getFileType:()=>o.JB,getLayersCount:()=>o.lr,getSelectFilteredOptions:()=>o.VY,getThemeType:()=>o.MI,getUniqId:()=>o.xA,getXpath:()=>o._K,isSelectGroupTitle:()=>o.VP,isTouchDevice:()=>u.b,layerManager:()=>o.qR,listDefaultProps:()=>o.AW,mergeRefs:()=>i.lq,parseClass:()=>o.HG,parseHotkeys:()=>o.JZ,prepareSliderInnerState:()=>o.M6,rootMobileClassName:()=>o.P0,setRef:()=>i.k$,sp:()=>o.sp,spacing:()=>o.W0,text:()=>o.fL,useActionHandlers:()=>i.bV,useAsyncActionHandler:()=>i.dW,useControlledState:()=>i.zk,useDirection:()=>o.gm,useEventBroker:()=>o.br,useFileInput:()=>i.ei,useFocusWithin:()=>i.L_,useForkRef:()=>i.cR,useIntersection:()=>i.sx,useLayer:()=>o.sJ,useLayoutContext:()=>o.l5,useListNavigation:()=>i.c0,useMobile:()=>o.XA,useOutsideClick:()=>i.O3,usePlatform:()=>o.Fe,usePortalContainer:()=>i.Xw,useResizeObserver:()=>i.yU,useSelect:()=>i.L7,useSelectOptions:()=>o.nw,useTheme:()=>o.Fg,useThemeSettings:()=>o.XG,useThemeType:()=>o.Os,useThemeValue:()=>o.C8,useTimeout:()=>i.KS,useToaster:()=>o.Ps,useUniqId:()=>i.uR,useViewportSize:()=>i.nP,useVirtualElement:()=>i._F,useVirtualElementRef:()=>i.JQ,withDirection:()=>o.vA,withEventBrokerDomHandlers:()=>o.v1,withMobile:()=>o.ze,withTableActions:()=>o.QT,withTableCopy:()=>o.YX,withTableSelection:()=>o.ub,withTableSettings:()=>o.fC,withTableSorting:()=>o.Br,withTheme:()=>o.Zz,withThemeValue:()=>o.fx,withToaster:()=>o.YT,withoutClassMods:()=>o.Sr});var r=n(53660),o=n(27421),i=n(94822),u=n(88290)}},i={};function u(e){var t=i[e];if(void 0!==t)return t.exports;var n=i[e]={id:e,loaded:!1,exports:{}};return o[e].call(n.exports,n,n.exports,u),n.loaded=!0,n.exports}u.m=o,e=[],u.O=(t,n,r,o)=>{if(!n){var i=1/0;for(l=0;l<e.length;l++){for(var[n,r,o]=e[l],a=!0,s=0;s<n.length;s++)(!1&o||i>=o)&&Object.keys(u.O).every((e=>u.O[e](n[s])))?n.splice(s--,1):(a=!1,o<i&&(i=o));if(a){e.splice(l--,1);var c=r();void 0!==c&&(t=c)}}return t}o=o||0;for(var l=e.length;l>0&&e[l-1][2]>o;l--)e[l]=e[l-1];e[l]=[n,r,o]},u.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return u.d(t,{a:t}),t},n=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,u.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if("object"==typeof e&&e){if(4&r&&e.__esModule)return e;if(16&r&&"function"==typeof e.then)return e}var o=Object.create(null);u.r(o);var i={};t=t||[null,n({}),n([]),n(n)];for(var a=2&r&&e;"object"==typeof a&&!~t.indexOf(a);a=n(a))Object.getOwnPropertyNames(a).forEach((t=>i[t]=()=>e[t]));return i.default=()=>e,u.d(o,i),o},u.d=(e,t)=>{for(var n in t)u.o(t,n)&&!u.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},u.f={},u.e=e=>Promise.all(Object.keys(u.f).reduce(((t,n)=>(u.f[n](e,t),t)),[])),u.u=e=>(938===e?"search-worker":e)+".min.js",u.miniCssF=e=>{},u.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),u.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r={},u.l=(e,t,n,o)=>{if(r[e])r[e].push(t);else{var i,a;if(void 0!==n)for(var s=document.getElementsByTagName("script"),c=0;c<s.length;c++){var l=s[c];if(l.getAttribute("src")==e){i=l;break}}i||(a=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,u.nc&&i.setAttribute("nonce",u.nc),i.src=e),r[e]=[t];var f=(t,n)=>{i.onerror=i.onload=null,clearTimeout(d);var o=r[e];if(delete r[e],i.parentNode&&i.parentNode.removeChild(i),o&&o.forEach((e=>e(n))),t)return t(n)},d=setTimeout(f.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=f.bind(null,i.onerror),i.onload=f.bind(null,i.onload),a&&document.head.appendChild(i)}},u.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},u.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;u.g.importScripts&&(e=u.g.location+"");var t=u.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");if(n.length)for(var r=n.length-1;r>-1&&!e;)e=n[r--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),u.p=e})(),(()=>{u.b=document.baseURI||self.location.href;var e={929:0};u.f.j=(t,n)=>{var r=u.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else{var o=new Promise(((n,o)=>r=e[t]=[n,o]));n.push(r[2]=o);var i=u.p+u.u(t),a=new Error;u.l(i,(n=>{if(u.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var o=n&&("load"===n.type?"missing":n.type),i=n&&n.target&&n.target.src;a.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",a.name="ChunkLoadError",a.type=o,a.request=i,r[1](a)}}),"chunk-"+t,t)}},u.O.j=t=>0===e[t];var t=(t,n)=>{var r,o,[i,a,s]=n,c=0;if(i.some((t=>0!==e[t]))){for(r in a)u.o(a,r)&&(u.m[r]=a[r]);if(s)var l=s(u)}for(t&&t(n);c<i.length;c++)o=i[c],u.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return u.O(l)},n=self.webpackChunk=self.webpackChunk||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})(),u.O(void 0,[533,741,212,73,389,134,516],(()=>u(45925))),u.O(void 0,[533,741,212,73,389,134,516],(()=>u(87240))),u.O(void 0,[533,741,212,73,389,134,516],(()=>u(57605)));var a=u.O(void 0,[533,741,212,73,389,134,516],(()=>u(58672)));a=u.O(a)})();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!doctype html><html><head><title>HTML report</title><meta charset="utf-8"><link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"/><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.4.1/semantic.min.css"/><link id="dynamic-favicon" rel="icon" type="image/png" href="icons/favicon.png"/><link rel="preload" href="databaseUrls.json" as="fetch" crossorigin="anonymous"/><link rel="preload" href="sql-wasm.wasm" as="fetch" crossorigin="anonymous"/><link href="https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap" rel="stylesheet"><script defer="defer" src="data.js"></script><script defer="defer" src="sql-wasm.js"></script><script defer="defer" src="
|
|
1
|
+
<!doctype html><html><head><title>HTML report</title><meta charset="utf-8"><link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"/><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/semantic-ui/2.4.1/semantic.min.css"/><link id="dynamic-favicon" rel="icon" type="image/png" href="icons/favicon.png"/><link rel="preload" href="databaseUrls.json" as="fetch" crossorigin="anonymous"/><link rel="preload" href="sql-wasm.wasm" as="fetch" crossorigin="anonymous"/><link href="https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap" rel="stylesheet"><script defer="defer" src="data.js"></script><script defer="defer" src="sql-wasm.js"></script><script defer="defer" src="533.min.js"></script><script defer="defer" src="741.min.js"></script><script defer="defer" src="212.min.js"></script><script defer="defer" src="73.min.js"></script><script defer="defer" src="389.min.js"></script><script defer="defer" src="134.min.js"></script><script defer="defer" src="516.min.js"></script><script defer="defer" src="report.min.js"></script><link href="212.min.css" rel="stylesheet"><link href="389.min.css" rel="stylesheet"><link href="report.min.css" rel="stylesheet"></head><script type="module">let uiMode;
|
|
2
2
|
try {
|
|
3
3
|
uiMode = JSON.parse(localStorage.getItem('html-reporter:ui-mode'));
|
|
4
4
|
} catch { /* */ }
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!doctype html><html><head><title>GUI report (New UI)</title><meta charset="utf-8"><link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"/><link id="dynamic-favicon" rel="icon" type="image/png" href="icons/favicon.png"/><link rel="preload" href="databaseUrls.json" as="fetch" crossorigin="anonymous"/><link rel="preload" href="sql-wasm.wasm" as="fetch" crossorigin="anonymous"/><link href="https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap" rel="stylesheet"><script defer="defer" src="sql-wasm.js"></script><script defer="defer" src="
|
|
1
|
+
<!doctype html><html><head><title>GUI report (New UI)</title><meta charset="utf-8"><link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"/><link id="dynamic-favicon" rel="icon" type="image/png" href="icons/favicon.png"/><link rel="preload" href="databaseUrls.json" as="fetch" crossorigin="anonymous"/><link rel="preload" href="sql-wasm.wasm" as="fetch" crossorigin="anonymous"/><link href="https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap" rel="stylesheet"><script defer="defer" src="sql-wasm.js"></script><script defer="defer" src="533.min.js"></script><script defer="defer" src="741.min.js"></script><script defer="defer" src="212.min.js"></script><script defer="defer" src="635.min.js"></script><script defer="defer" src="406.min.js"></script><script defer="defer" src="389.min.js"></script><script defer="defer" src="285.min.js"></script><script defer="defer" src="newGui.min.js"></script><link href="212.min.css" rel="stylesheet"><link href="389.min.css" rel="stylesheet"><link href="285.min.css" rel="stylesheet"><link href="newGui.min.css" rel="stylesheet"></head><script type="module">let uiMode;
|
|
2
2
|
try {
|
|
3
3
|
uiMode = JSON.parse(localStorage.getItem('html-reporter:ui-mode'));
|
|
4
4
|
} catch { /* */ }
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<!doctype html><html><head><title>HTML report (New UI)</title><meta charset="utf-8"><link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"/><link id="dynamic-favicon" rel="icon" type="image/png" href="icons/favicon.png"/><link rel="preload" href="databaseUrls.json" as="fetch" crossorigin="anonymous"/><link rel="preload" href="sql-wasm.wasm" as="fetch" crossorigin="anonymous"/><link href="https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap" rel="stylesheet"><script defer="defer" src="data.js"></script><script defer="defer" src="sql-wasm.js"></script><script defer="defer" src="
|
|
1
|
+
<!doctype html><html><head><title>HTML report (New UI)</title><meta charset="utf-8"><link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"/><link id="dynamic-favicon" rel="icon" type="image/png" href="icons/favicon.png"/><link rel="preload" href="databaseUrls.json" as="fetch" crossorigin="anonymous"/><link rel="preload" href="sql-wasm.wasm" as="fetch" crossorigin="anonymous"/><link href="https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap" rel="stylesheet"><script defer="defer" src="data.js"></script><script defer="defer" src="sql-wasm.js"></script><script defer="defer" src="533.min.js"></script><script defer="defer" src="741.min.js"></script><script defer="defer" src="212.min.js"></script><script defer="defer" src="635.min.js"></script><script defer="defer" src="406.min.js"></script><script defer="defer" src="389.min.js"></script><script defer="defer" src="134.min.js"></script><script defer="defer" src="285.min.js"></script><script defer="defer" src="newReport.min.js"></script><link href="212.min.css" rel="stylesheet"><link href="389.min.css" rel="stylesheet"><link href="285.min.css" rel="stylesheet"></head><script type="module">let uiMode;
|
|
2
2
|
try {
|
|
3
3
|
uiMode = JSON.parse(localStorage.getItem('html-reporter:ui-mode'));
|
|
4
4
|
} catch { /* */ }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{"use strict";var t,e,r,s,n={9560:(t,e,r)=>{r.d(e,{CB:()=>C,CR:()=>M,Cr:()=>T,Cx:()=>k,EX:()=>O,Fm:()=>K,G6:()=>J,KM:()=>w,Lg:()=>F,MO:()=>A,MT:()=>v,Mg:()=>_,Ne:()=>N,Ph:()=>G,R6:()=>b,S5:()=>B,SS:()=>D,by:()=>Z,ci:()=>j,dc:()=>L,e1:()=>U,hO:()=>S,iR:()=>P,jj:()=>H,kg:()=>m,nc:()=>g,qC:()=>E,sx:()=>I,wX:()=>x,zV:()=>R});var s=r(34795),n=r(96234),i=r(82841),a=r.n(i),o=r(5634),u=r(76635),c=r(883),l=r(27202),d=r(8776),p=r(40161);function f(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return h(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?h(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var s=0,n=function(){};return{s:n,n:function(){return s>=t.length?{done:!0}:{done:!1,value:t[s++]}},e:function(t){throw t},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){o=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}function h(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,s=Array(e);r<e;r++)s[r]=t[r];return s}var v=function(t){return o.createHash("md5").update(t,"ascii").digest("hex").substr(0,7)},y=[l.sS,l.em,l.pn,l.ES,l.Ez,l.t6,l.SH,l.MR,l.JW,l.kb],m=(0,u.pick)(console,["log","warn","error"]),_=function(t){return t===l.MR},b=function(t){return t===l.ES},g=function(t){return t===l.JW},w=function(t){return t===l.pn},I=function(t){return t===l.kb},T=function(t){return t===l.SH},k=function(t){return t===l.Ez},S=function(t){return t===l.t6},O=function(t){if(!t.length)return l.MR;for(var e=new Set(t),r=0,s=y;r<s.length;r++){var n=s[r];if(e.has(n))return n}return console.error("Unknown statuses: "+JSON.stringify(t)),null},R=function(t,e){if((0,u.isEmpty)(e))return null!=t?t:"";try{var r=new URL(null!=t?t:"",e),s=new URL(e);r.host=s.host,r.protocol=s.protocol,r.port=s.port,r.username=s.username,r.password=s.password;var i,a=f(s.searchParams);try{for(a.s();!(i=a.n()).done;){var o=(0,n.Z)(i.value,2),c=o[0],l=o[1];r.searchParams.append(c,l)}}catch(t){a.e(t)}finally{a.f()}return r.href}catch(r){return t||e||""}},E=function(t){try{var e=new URL(t);return e.pathname+e.search}catch(e){return t}},P=function(t){return(null==t?void 0:t.name)===p.G.ASSERT_VIEW},j=function(t){return(null==t?void 0:t.name)===p.G.IMAGE_DIFF},B=function(t){return(null==t?void 0:t.name)===p.G.NO_REF_IMAGE},N=function(t){return(null==t?void 0:t.name)===p.G.INVALID_REF_IMAGE},x=function(t){return P(t)||j(t)||B(t)},A=function(t){return!B(t)&&!j(t)&&!P(t)},Z=function(t){if(t)return(0,u.pick)(t,["name","message","stack","stateName","snippet"])},D=function(t){var e;if(!(function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).some((function(t){return t.stateName&&(w(t.status)||b(t.status)||B(t)||j(t))}))}(t.imagesInfo)||I(t.status)||t.error&&A(t.error)))return l.MR;var r,s=(null!==(e=t.imagesInfo)&&void 0!==e?e:[]).map((function(t){var e;return null!==(e=t.error)&&void 0!==e?e:{}}));return s.some((function(t){return j(t)}))||(void 0===(r={assertViewResults:s}.assertViewResults)?[]:r).some((function(t){return B(t)}))?l.ES:(0,u.isEmpty)(t.error)?t.status:l.pn},C=function(t){if("string"!=typeof t)return!1;var e=c.parse(t);return!!e.host&&!!e.protocol},L=function(){var t=(0,s.Z)(a().mark((function t(e,s){var n,i,o,u,c,l;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Promise.all([r.e(741),r.e(613)]).then(r.bind(r,74856));case 2:return n=t.sent,i=n.default,t.prev=4,t.next=7,i.get(e,s);case 7:return o=t.sent,u=o.data,c=o.status,t.abrupt("return",{data:u,status:c});case 13:return t.prev=13,t.t0=t.catch(4),m.warn("Error while fetching ".concat(e),t.t0),l=t.t0.response?t.t0.response.status:"unknown",t.abrupt("return",{data:null,status:l,error:t.t0});case 18:case"end":return t.stop()}}),t,null,[[4,13]])})));return function(e,r){return t.apply(this,arguments)}}(),U=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1?arguments[1]:void 0,r=new URL(e).search;return t.map((function(t){try{var s=new URL(t,e);return function(t){try{return new URL(t),!1}catch(t){return!0}}(t)&&!s.search&&(s.search=r),s.href}catch(r){return m.warn("Can not normalize url '".concat(t," for base url '").concat(e,"'"),r),t}}))},M=function(t){return Number(t)===d.ri},G=function(t){return Number(t)===d.Km},H=function(t){return M(t)?d.wT:d.ri};var F=function(t){return t.testPath.concat(t.browserId,t.attempt.toString()).join(" ")},J=function(t){for(var e=0,r=t.length;e<t.length&&!t[e];)e++;for(;r>0&&!t[r-1];)r--;return t.slice(e,r)},V=function(t){var e=t.name;if(!e&&t.stack){var r=t.stack.indexOf(":");e=-1!==r?t.stack.slice(0,r):t.stack.slice(0,t.stack.indexOf("\n"))}return e||(e="Error"),t.message?"".concat(e,": ").concat(t.message):e},X=function(t){var e=V(t)+"\n",r=t.stack.indexOf(e);if(-1!==r)return t.stack.slice(r+e.length);var s=t.toString?t.toString()+"\n":"",n=t.stack.indexOf(s);if(s&&-1!==n)return t.stack.slice(n+s.length);var i=t.stack.indexOf(t.message),a=t.stack.indexOf("\n",i+t.message.length);return t.stack.slice(a+1)},K=function(t){if(!t||!t.snippet)return t;var e=function(t){var e=["name","message","stack"],r=new Error(t.message);e.forEach((function(t){delete r[t]}));var s=Object.getOwnPropertyNames(t);return e.concat(s).forEach((function(e){r[e]=t[e]})),r}(t);if(delete e.snippet,!t.stack)return e.stack=[V(t),t.snippet].join("\n"),e;return e.stack=[V(t),t.snippet,"[90m"+X(t)+"[39m"].join("\n"),e}},8047:(t,e,r)=>{r.d(e,{By:()=>v,fB:()=>h,pU:()=>b,vO:()=>m,xH:()=>g,xe:()=>w});var s=r(68079),n=r(56666),i=r(34795),a=r(82841),o=r.n(a),u=r(76635),c=r(69e3),l=r(9560),d=r(46126);function p(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);e&&(s=s.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,s)}return r}function f(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?p(Object(r),!0).forEach((function(e){(0,n.Z)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function h(t,e){var r=function(){var t=(0,i.Z)(o().mark((function t(r){var s,n,i,a;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return s={responseType:"arraybuffer"},"function"==typeof e&&(s.onDownloadProgress=function(t){e(r,t.loaded/t.total)}),t.next=4,(0,l.dc)(r,s);case 4:return n=t.sent,i=n.data,a=n.status,t.abrupt("return",{url:r,status:a,data:i});case 8:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();return(0,c.jI)(t,{loadDbJsonUrl:function(t){return(0,l.dc)(t)},prepareUrls:function(t,e){return(0,l.e1)(t,e)},formatData:function(t){return{url:t,status:arguments.length>1&&void 0!==arguments[1]?arguments[1]:"unknown",data:null}},loadDbUrl:r})}function v(t){return y.apply(this,arguments)}function y(){return(y=(0,i.Z)(o().mark((function t(e){var r,n,i,a,u,l;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,window.initSqlJs();case 2:if(r=t.sent,n=e.map((function(t){return new Uint8Array(t)})),0!==(i=n.map((function(t){return new r.Database(t)}))).length){t.next=9;break}return t.abrupt("return",null);case 9:if(1!==i.length){t.next=11;break}return t.abrupt("return",i[0]);case 11:return a=n.reduce((function(t,e){return t+e.length}),0),u=new r.Database(void 0,a),l=i.map((function(t){return t.filename})),(0,c.c2)({db:u,dbPaths:l,getExistingTables:function(t){for(var e=[];t.step();)e.push.apply(e,(0,s.Z)(t.get()));return e}}),i.forEach((function(t){return t.close()})),t.abrupt("return",u);case 17:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function m(t){return _.apply(this,arguments)}function _(){return(_=(0,i.Z)(o().mark((function t(e){var r,s,n,i;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=new URL(e),t.next=3,(0,l.dc)(r.href,{responseType:"arraybuffer"});case 3:return s=t.sent,n=s.data,t.next=7,window.initSqlJs();case 7:return i=t.sent,t.abrupt("return",new i.Database(new Uint8Array(n)));case 9:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function b(){return new URL(d.rW,window.location.href)}function g(t){var e=function(t,e){var r=t.exec((0,c.Vt)(e))[0];if(!r)return console.warn('Table "'.concat(e,'" is empty')),[];return r}(t,d.JL);if(!(0,u.isEmpty)(e))return e.values.sort(c.fd)}function w(t){t.close()}f(f({},c.default),{},{fetchDataFromDatabases:h,mergeDatabases:v,connectToDatabase:m,getMainDatabaseUrl:b,getSuitesTableRows:g,closeDatabase:w})},64141:(t,e,r)=>{r.r(e),r.d(e,{changeTestRetry:()=>F.iB,changeViewMode:()=>n.R4,closeModal:()=>l.M,closeSections:()=>F.DI,collapseAll:()=>F.kF,commitAcceptedImagesToTree:()=>L.GC,commitRevertedImagesToTree:()=>L.sP,createNotification:()=>d.sc,createNotificationError:()=>d.uX,deselectAll:()=>F.kR,dismissNotification:()=>d.N5,expandAll:()=>F.V1,expandErrors:()=>F.vf,expandRetries:()=>F.tp,finGuiReport:()=>u.Sc,finStaticReport:()=>u.$i,formatStaticAccepterProgress:()=>G.lT,groupTestsByKey:()=>a.I,openModal:()=>l.h,processBegin:()=>p.$,processEnd:()=>p.E,revealTreeNode:()=>H.o9,runAllTests:()=>k,runCustomGui:()=>s.u,runFailedTests:()=>O,runSuite:()=>E,runTest:()=>b,selectAll:()=>F.td,selectBrowsers:()=>n.QJ,set2UpFitMode:()=>J.Bt,setAllTreeNodesState:()=>H.Nu,setBackupSectionSizes:()=>H.Qh,setBrowserFeatures:()=>V.a,setCurrentGroupByExpression:()=>a.i,setCurrentHighlightStep:()=>H.Gm,setCurrentSortByExpression:()=>M.Q,setCurrentStep:()=>H.Bq,setCurrentTreeNode:()=>H._r,setDiffMode:()=>U.H,setGuiServerConnectionStatus:()=>o.o,setMatchCaseFilter:()=>n.cQ,setRefreshLoading:()=>n.lT,setRepeatCount:()=>g,setRepeatLeft:()=>w,setRunOptions:()=>I,setSearchLoading:()=>n.if,setSectionExpandedState:()=>H.$X,setSectionSizes:()=>H.gM,setSortByDirection:()=>M.u,setStepsExpandedState:()=>H.zE,setStrictMatchFilter:()=>H.tF,setTreeNodeExpandedState:()=>H.cI,setTreeViewMode:()=>H.KW,setUseRegexFilter:()=>n.Lf,setVisualChecksDiffMode:()=>J.MT,staticAccepterCloseConfirm:()=>G.dd,staticAccepterCommitScreenshot:()=>G.sv,staticAccepterDelayScreenshot:()=>G.A2,staticAccepterOpenConfirm:()=>G.x_,staticAccepterStageScreenshot:()=>G.FD,staticAccepterUndoDelayScreenshot:()=>G.cO,staticAccepterUnstageScreenshot:()=>G.vx,staticAccepterUpdateCommitMessage:()=>G.Lt,staticAccepterUpdateToolbarOffset:()=>G.mm,stopTests:()=>B,suiteBegin:()=>Z,testBegin:()=>D,testResult:()=>C,testsEnd:()=>x,thunkAcceptImages:()=>L.Ro,thunkFindSameDiffs:()=>i.C,thunkInitGuiReport:()=>u.dP,thunkInitStaticReport:()=>u.Kt,thunkRefreshGuiReport:()=>u.tc,thunkRevertImages:()=>L.Ku,thunkRunAllTests:()=>S,thunkRunCustomGuiAction:()=>s.M,thunkRunFailedTests:()=>R,thunkRunSuite:()=>P,thunkRunTest:()=>j,thunkRunTests:()=>T,thunkStopTests:()=>N,thunkTestsEnd:()=>A,toggle2UpDiffVisibility:()=>J.ZD,toggleBrowserCheckbox:()=>F.Z$,toggleBrowserSection:()=>F.nS,toggleGroupCheckbox:()=>F.IP,toggleLoading:()=>c.o,toggleStateResult:()=>F.qz,toggleSuiteCheckbox:()=>F.T9,toggleSuiteSection:()=>F.cd,toggleTestsGroup:()=>F.Cd,updateBaseHost:()=>U.B,updateBottomProgressBar:()=>F.LL,updateNameFilter:()=>n.QC,visualChecksPageSetCurrentNamedImage:()=>J.Ll});var s=r(70839),n=r(19272),i=r(60540),a=r(32481),o=r(48907),u=r(82931),c=r(33981),l=r(95834),d=r(48394),p=r(84787),f=r(34795),h=r(82841),v=r.n(h),y=r(87741),m=r(97566),_=r(8047),b=function(){return{type:m.Z.RETRY_TEST}},g=function(t){return{type:m.Z.SET_REPEAT_COUNT,payload:{repeatCount:t}}},w=function(t){return{type:m.Z.SET_REPEAT_LEFT,payload:{repeatLeft:t}}},I=function(t){return{type:m.Z.SET_RUN_OPTIONS,payload:{runOptions:t}}},T=function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).tests,e=void 0===t?[]:t;return function(){var t=(0,f.Z)(v().mark((function t(r,s){var n,i;return v().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=s(),i=n.repeatCount,r(b()),t.prev=2,t.next=5,y.default.post("/run",{tests:e,repeatCount:i});case 5:t.next=10;break;case 7:t.prev=7,t.t0=t.catch(2),console.error("Error while running tests:",t.t0);case 10:case"end":return t.stop()}}),t,null,[[2,7]])})));return function(e,r){return t.apply(this,arguments)}}()},k=function(){return{type:m.Z.RUN_ALL_TESTS}},S=function(){return function(){var t=(0,f.Z)(v().mark((function t(e){return v().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e(k()),t.next=3,e(T());case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()},O=function(){return{type:m.Z.RUN_FAILED_TESTS}},R=function(t){var e=t.tests;return function(){var t=(0,f.Z)(v().mark((function t(r){return v().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r(O()),t.next=3,r(T({tests:e}));case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()},E=function(){return{type:m.Z.RETRY_SUITE}},P=function(t){var e=t.tests;return function(){var t=(0,f.Z)(v().mark((function t(r){return v().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r(E()),t.next=3,r(T({tests:e}));case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()},j=function(t){var e=t.test;return function(){var t=(0,f.Z)(v().mark((function t(r){return v().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r(b()),t.next=3,r(T({tests:[e]}));case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()},B=function(){return{type:m.Z.STOP_TESTS}},N=function(){return function(){var t=(0,f.Z)(v().mark((function t(e){return v().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,y.default.post("/stop");case 3:e(B()),t.next=9;break;case 6:t.prev=6,t.t0=t.catch(0),console.error("Error while stopping tests:",t.t0);case 9:case"end":return t.stop()}}),t,null,[[0,6]])})));return function(e){return t.apply(this,arguments)}}()},x=function(t){return{type:m.Z.TESTS_END,payload:t}},A=function(){return function(){var t=(0,f.Z)(v().mark((function t(e){var r,s;return v().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,r=(0,_.pU)(),t.next=4,(0,_.vO)(r.href);case 4:s=t.sent,e(x({db:s})),t.next=11;break;case 8:t.prev=8,t.t0=t.catch(0),e((0,d.uX)("testsEnd",t.t0));case 11:case"end":return t.stop()}}),t,null,[[0,8]])})));return function(e){return t.apply(this,arguments)}}()},Z=function(t){return{type:m.Z.SUITE_BEGIN,payload:t}},D=function(t){return{type:m.Z.TEST_BEGIN,payload:t}},C=function(t){return{type:m.Z.TEST_RESULT,payload:t}},L=r(54432),U=r(22253),M=r(58311),G=r(49012),H=r(40554),F=r(70807),J=r(84006),V=r(29909)},18601:(t,e,r)=>{var s=r(2784),n=r(17029),i=r(30266),a=r(94397),o=r(82979),u=r(64141),c=r(48907),l=r(97566),d=r(1540),p=document.getElementById("app");function f(){var t=(0,d.T)();return(0,s.useEffect)((function(){if(t)return o.Z.dispatch((0,u.thunkInitGuiReport)({isNewUi:!0})),t&&(t.addEventListener(i.JX.CONNECTED,(function(){o.Z.dispatch({type:l.Z.UPDATE_LOADING_VISIBILITY,payload:!1}),o.Z.dispatch((0,c.o)({isConnected:!0}))})),t.onerror=function(){o.Z.dispatch({type:l.Z.UPDATE_LOADING_IS_IN_PROGRESS,payload:!0}),o.Z.dispatch({type:l.Z.UPDATE_LOADING_TITLE,payload:"Lost connection to Testplane UI server. Trying to reconnect"}),o.Z.dispatch({type:l.Z.UPDATE_LOADING_VISIBILITY,payload:!0}),o.Z.dispatch((0,c.o)({isConnected:!1}))},t.addEventListener(i.JX.BEGIN_SUITE,(function(t){var e=JSON.parse(t.data);o.Z.dispatch((0,u.suiteBegin)(e))})),t.addEventListener(i.JX.BEGIN_STATE,(function(t){var e=JSON.parse(t.data);o.Z.dispatch((0,u.testBegin)(e))})),[i.JX.TEST_RESULT,i.JX.ERROR].forEach((function(e){t.addEventListener(e,(function(t){var e=JSON.parse(t.data);o.Z.dispatch((0,u.testResult)(e))}))})),t.addEventListener(i.JX.END,(function(){o.Z.dispatch((0,u.thunkTestsEnd)())})),t.addEventListener(i.JX.REPEAT_LEFT,(function(t){var e=JSON.parse(t.data);o.Z.dispatch((0,u.setRepeatLeft)(e.repeatLeft))}))),function(){o.Z.dispatch((0,u.finGuiReport)())}}),[t]),s.createElement(a.g,null)}(0,n.s)(p).render(s.createElement(d.L,null,s.createElement(f,null)))},1540:(t,e,r)=>{r.d(e,{L:()=>a,T:()=>o});var s=r(96234),n=r(2784),i=(0,n.createContext)(null),a=function(t){var e=t.children,r=(0,n.useState)(null),a=(0,s.Z)(r,2),o=a[0],u=a[1];return(0,n.useEffect)((function(){var t=new EventSource("/events");return u(t),function(){t.close()}}),[]),n.createElement(i.Provider,{value:o},e)},o=function(){return(0,n.useContext)(i)}},32444:(t,e,r)=>{r.d(e,{R:()=>a,r:()=>o});var s=r(34795),n=r(82841),i=r.n(n),a=function(t){return"error"in t},o=function(){var t=(0,s.Z)(i().mark((function t(e){return i().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",fetch("/update-time-travel-settings",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)}).then((function(t){return t.json()})));case 1:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()},43134:(t,e,r)=>{r.d(e,{N:()=>j});var s=r(56666),n=r(9249),i=r(87371),a=r(45754),o=r(11987),u=r(95058),c=r(76635),l=r.n(c),d=r(9560),p=r(27202),f=function(){function t(e){(0,n.Z)(this,t),this._options=e}return(0,i.Z)(t,[{key:"transform",value:function(t){var e,r,s,n,i,a=(0,d.zV)(t.url,this._options.baseHost),o=l().merge(l().cloneDeep(t.meta),{url:null!==(e=null!==(r=null===(s=t.meta)||void 0===s?void 0:s.url)&&void 0!==r?r:a)&&void 0!==e?e:"",file:t.file,sessionId:t.sessionId}),u=l().omitBy(o,l().isEmpty);return{suitePath:t.testPath,suiteName:l().last(t.testPath),name:t.browserId,suiteUrl:a,metaInfo:u,history:t.history,description:t.description,error:(0,d.by)(t.error),skipReason:t.skipReason,imagesInfo:null!==(n=t.imagesInfo)&&void 0!==n?n:[],screenshot:Boolean(t.screenshot),multipleTabs:t.multipleTabs,status:t.status,timestamp:null!==(i=t.timestamp)&&void 0!==i?i:Date.now(),duration:t.duration,attachments:t.attachments}}}]),t}();function h(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);e&&(s=s.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,s)}return r}function v(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?h(Object(r),!0).forEach((function(e){(0,s.Z)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var y=function(){function t(e){(0,n.Z)(this,t),this._transformer=new f(e)}return(0,i.Z)(t,[{key:"transform",value:function(t){var e=this._transformer.transform(t);return v(v({},l().omit(e,"imagesInfo")),{},{attempt:t.attempt,errorDetails:t.errorDetails})}}]),t}();function m(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return _(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var s=0,n=function(){};return{s:n,n:function(){return s>=t.length?{done:!0}:{done:!1,value:t[s++]}},e:function(t){throw t},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){o=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}function _(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,s=Array(e);r<e;r++)s[r]=t[r];return s}function b(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);e&&(s=s.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,s)}return r}function g(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?b(Object(r),!0).forEach((function(e){(0,s.Z)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var w=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,n.Z)(this,t),this._transformer=new y(e),this._tree={suites:{byId:{},byHash:{},allIds:[],allRootIds:[]},browsers:{byId:{},allIds:[]},results:{byId:{},allIds:[]},images:{byId:{},allIds:[]}}}return(0,i.Z)(t,[{key:"tree",get:function(){return this._tree}},{key:"sortTree",value:function(){var t=this;this._tree.suites.allRootIds.sort().forEach((function e(r){var s=t._tree.suites.byId[r];s.suiteIds&&s.suiteIds.sort().forEach(e),s.browserIds&&s.browserIds.sort()}))}},{key:"addTestResult",value:function(t){var e=this,r=t.testPath,s=t.browserId,n=t.attempt,i=t.imagesInfo,a=void 0===i?[]:i,o=t.meta.browserVersion,u=void 0===o?p.eb.UNKNOWN:o,c=this._buildId(r),l=this._buildId(c,s),d=this._buildId(l,n.toString()),f=a.map((function(t,r){return e._buildId(d,t.stateName||"".concat(t.status,"_").concat(r))}));this._addSuites(r,l),this._addBrowser({id:l,parentId:c,name:s,version:u},d,n),this._addResult({id:d,parentId:l,result:t},f),this._addImages(f,{imagesInfo:a,parentId:d}),this._setStatusForBranch(r)}},{key:"_buildId",value:function(){return[].concat(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]).join(p.Nv)}},{key:"_addSuites",value:function(t,e){var r=this;t.reduce((function(t,s,n,i){var a=0===n,o=a?[s]:i.slice(0,n+1),u=r._buildId(o);if(!t.byId[u]){var c=a?null:r._buildId(o.slice(0,-1)),l={id:u,hash:(0,d.MT)(u),parentId:c,name:s,suitePath:o,root:a};r._addSuite(l)}var p=r._tree.suites.byId[u];if(n!==i.length-1){var f=r._buildId(u,i[n+1]);p.suiteIds?r._tree.suites.byId[f]&&p.suiteIds.includes(f)||p.suiteIds.push(f):p.suiteIds=[f]}else p.browserIds?r._tree.browsers.byId[e]&&p.browserIds.includes(e)||p.browserIds.push(e):p.browserIds=[e];return t}),this._tree.suites)}},{key:"_addSuite",value:function(t){var e=this._tree.suites;e.byId[t.id]=t,e.byHash[t.hash]=t,e.allIds.push(t.id),t.root&&e.allRootIds.push(t.id)}},{key:"_addBrowser",value:function(t,e,r){var s=t.id,n=t.parentId,i=t.name,a=t.version,o=this._tree.browsers;o.byId[s]||(o.byId[s]={id:s,parentId:n,name:i,resultIds:[],version:a},o.allIds.push(s)),this._addResultIdToBrowser(s,e,r)}},{key:"_addResultIdToBrowser",value:function(t,e,r){this._tree.browsers.byId[t].resultIds[r]=e}},{key:"_addResult",value:function(t,e){var r=t.id,s=t.parentId,n=t.result,i=this._transformer.transform(n);this._tree.results.byId[r]||this._tree.results.allIds.push(r),this._tree.results.byId[r]=g(g({attempt:0,id:r,parentId:s},i),{},{imageIds:e})}},{key:"_addImages",value:function(t,e){var r=this,s=e.imagesInfo,n=e.parentId;t.forEach((function(t,e){r._tree.images.byId[t]=g(g({},s[e]),{},{id:t,parentId:n}),r._tree.images.allIds.push(t)}))}},{key:"_setStatusForBranch",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=this._buildId(t);if(e){var r,s=this._tree.suites.byId[e],n=[],i=m(s.browserIds||[]);try{for(i.s();!(r=i.n()).done;){var a=r.value;if(a){var o=this._tree.browsers.byId[a].resultIds,u=o[o.length-1],c=this._tree.results.byId[u].status;c&&!n.includes(c)&&n.push(c)}}}catch(t){i.e(t)}finally{i.f()}var l,p=m(s.suiteIds||[]);try{for(p.s();!(l=p.n()).done;){var f=l.value;if(f){var h=this._tree.suites.byId[f].status;h&&!n.includes(h)&&n.push(h)}}}catch(t){p.e(t)}finally{p.f()}if(s.status=(0,d.EX)(n)||void 0,s.status)for(var v=1;v<t.length;v++){var y=t.slice(0,-v),_=this._buildId(y),b=this._tree.suites.byId[_];if(b.status===s.status)return;if(b.status){this._setStatusForBranch(y);break}b.status=s.status}}}}],[{key:"create",value:function(){return new this(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})}}]),t}(),I=function(t){try{return JSON.parse(t)}catch(t){return}},T=function(){function t(e,r){(0,n.Z)(this,t),this._testResult=e,this._parsedTestResult={attempt:r}}return(0,i.Z)(t,[{key:"assertViewResults",get:function(){return[]}},{key:"attempt",get:function(){return this._parsedTestResult.attempt}},{key:"browserId",get:function(){return this._testResult[p.He.name]}},{key:"description",get:function(){var t;return null!==(t=this._testResult[p.He.description])&&void 0!==t?t:void 0}},{key:"error",get:function(){return l().has(this._parsedTestResult,"error")||(this._parsedTestResult.error=I(this._testResult[p.He.error])),this._parsedTestResult.error}},{key:"errorDetails",get:function(){return null}},{key:"file",get:function(){var t;return l().has(this._parsedTestResult,"meta")||(this._parsedTestResult.meta=I(this._testResult[p.He.metaInfo])),null===(t=this._parsedTestResult.meta)||void 0===t?void 0:t.file}},{key:"fullName",get:function(){return l().has(this._parsedTestResult,"fullName")||(this._parsedTestResult.fullName=this.testPath.join(p.Nv)),this._parsedTestResult.fullName}},{key:"history",get:function(){return l().has(this._parsedTestResult,"history")||(this._parsedTestResult.history=I(this._testResult[p.He.history])),this._parsedTestResult.history}},{key:"id",get:function(){return this.testPath.concat(this.browserId,this.attempt.toString()).join(" ")}},{key:"imageDir",get:function(){return(0,d.Lg)(this)}},{key:"imagesInfo",get:function(){return l().has(this._parsedTestResult,"imagesInfo")||(this._parsedTestResult.imagesInfo=I(this._testResult[p.He.imagesInfo])),this._parsedTestResult.imagesInfo}},{key:"meta",get:function(){var t;l().has(this._parsedTestResult,"meta")||(this._parsedTestResult.meta=null!==(t=I(this._testResult[p.He.metaInfo]))&&void 0!==t?t:{});return this._parsedTestResult.meta}},{key:"multipleTabs",get:function(){return Boolean(this._testResult[p.He.multipleTabs])}},{key:"screenshot",get:function(){var t;return null===(t=this.error)||void 0===t?void 0:t.screenshot}},{key:"sessionId",get:function(){var t;return l().has(this._parsedTestResult,"meta")||(this._parsedTestResult.meta=I(this._testResult[p.He.metaInfo])),null===(t=this._parsedTestResult.meta)||void 0===t?void 0:t.sessionId}},{key:"skipReason",get:function(){return this._testResult[p.He.skipReason]}},{key:"state",get:function(){return{name:this.testPath.at(-1)}}},{key:"status",get:function(){return this._testResult[p.He.status]}},{key:"testPath",get:function(){return l().has(this._parsedTestResult,"testPath")||(this._parsedTestResult.testPath=I(this._testResult[p.He.suitePath])),this._parsedTestResult.testPath}},{key:"timestamp",get:function(){return Number(this._testResult[p.He.timestamp])}},{key:"url",get:function(){return this._testResult[p.He.suiteUrl]}},{key:"duration",get:function(){return this._testResult[p.He.duration]}},{key:"attachments",get:function(){return l().has(this._parsedTestResult,"attachments")||(this._parsedTestResult.attachments=I(this._testResult[p.He.attachments])),this._parsedTestResult.attachments}}]),t}();function k(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return S(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?S(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var s=0,n=function(){};return{s:n,n:function(){return s>=t.length?{done:!0}:{done:!1,value:t[s++]}},e:function(t){throw t},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){o=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}function S(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,s=Array(e);r<e;r++)s[r]=t[r];return s}function O(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);e&&(s=s.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,s)}return r}function R(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?O(Object(r),!0).forEach((function(e){(0,s.Z)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):O(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function E(t){var e=P();return function(){var r,s=(0,u.Z)(t);if(e){var n=(0,u.Z)(this).constructor;r=Reflect.construct(s,arguments,n)}else r=s.apply(this,arguments);return(0,o.Z)(this,r)}}function P(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(P=function(){return!!t})()}var j=function(t){(0,a.Z)(r,t);var e=E(r);function r(t){var s;return(0,n.Z)(this,r),(s=e.call(this,t))._stats=R(R({},{total:0,passed:0,failed:0,skipped:0,retries:0}),{},{perBrowser:{}}),s._skips=[],s._failedTestIds={},s._passedTestIds={},s._skippedTestIds={},s}return(0,i.Z)(r,[{key:"build",value:function(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=new Map,s={},n=k(e);try{for(n.s();!(t=n.n()).done;){var i=t.value,a=JSON.parse(i[p.He.suitePath]),o=i[p.He.name],u=this._buildId(a),c=this._buildId(u,o);r.set(c,r.has(c)?r.get(c)+1:0);var d=r.get(c),f=new T(i,d);B(s,f),this.addTestResult(f),this._calcStats(f,{testId:u,browserName:o})}}catch(t){n.e(t)}finally{n.f()}return this.sortTree(),{tree:this.tree,stats:this._stats,skips:this._skips,browsers:l().map(s,(function(t,e){return{id:e,versions:Array.from(t)}}))}}},{key:"_addResultIdToBrowser",value:function(t,e){this._tree.browsers.byId[t].resultIds.push(e)}},{key:"_calcStats",value:function(t,e){var r=e.testId,s=e.browserName,n=this._buildId(r,s),i=t.status,a=t.meta.browserVersion||p.eb.UNKNOWN;switch(this._stats.perBrowser[s]||(this._stats.perBrowser[s]={}),this._stats.perBrowser[s][a]||(this._stats.perBrowser[s][a]={total:0,passed:0,failed:0,skipped:0,retries:0}),i){case p.ih.FAIL:case p.ih.ERROR:return this._passedTestIds[n]?(delete this._passedTestIds[n],this._failedTestIds[n]=!0,this._stats.passed--,this._stats.failed++,this._stats.retries++,this._stats.perBrowser[s][a].passed--,this._stats.perBrowser[s][a].failed++,void this._stats.perBrowser[s][a].retries++):this._failedTestIds[n]?(this._stats.retries++,void this._stats.perBrowser[s][a].retries++):this._skippedTestIds[n]?(delete this._skippedTestIds[n],this._failedTestIds[n]=!0,this._stats.skipped--,this._stats.failed++,this._stats.retries++,this._stats.perBrowser[s][a].skipped--,this._stats.perBrowser[s][a].failed++,void this._stats.perBrowser[s][a].retries++):(this._failedTestIds[n]=!0,this._stats.failed++,this._stats.total++,this._stats.perBrowser[s][a].failed++,void this._stats.perBrowser[s][a].total++);case p.ih.SUCCESS:return this._passedTestIds[n]?(this._stats.retries++,void this._stats.perBrowser[s][a].retries++):this._failedTestIds[n]?(delete this._failedTestIds[n],this._passedTestIds[n]=!0,this._stats.failed--,this._stats.passed++,this._stats.retries++,this._stats.perBrowser[s][a].failed--,this._stats.perBrowser[s][a].passed++,void this._stats.perBrowser[s][a].retries++):this._skippedTestIds[n]?(delete this._skippedTestIds[n],this._passedTestIds[n]=!0,this._stats.skipped--,this._stats.passed++,this._stats.retries++,this._stats.perBrowser[s][a].skipped--,this._stats.perBrowser[s][a].passed++,void this._stats.perBrowser[s][a].retries++):(this._passedTestIds[n]=!0,this._stats.passed++,this._stats.total++,this._stats.perBrowser[s][a].passed++,void this._stats.perBrowser[s][a].total++);case p.ih.SKIPPED:if(this._failedTestIds[n])return delete this._failedTestIds[n],this._skippedTestIds[n]=!0,this._stats.failed--,this._stats.skipped++,this._stats.retries++,this._stats.perBrowser[s][a].failed--,this._stats.perBrowser[s][a].skipped++,this._stats.perBrowser[s][a].retries++,void this._skips.push({browser:s,suite:r,comment:t.skipReason});if(this._passedTestIds[n])return delete this._passedTestIds[n],this._skippedTestIds[n]=!0,this._stats.passed--,this._stats.skipped++,this._stats.retries++,this._stats.perBrowser[s][a].passed--,this._stats.perBrowser[s][a].skipped++,this._stats.perBrowser[s][a].retries++,void this._skips.push({browser:s,suite:r,comment:t.skipReason});if(this._skippedTestIds[n])return this._stats.retries++,void this._stats.perBrowser[s][a].retries++;this._skippedTestIds[n]=!0,this._skips.push({browser:s,suite:r,comment:t.skipReason}),this._stats.skipped++,this._stats.perBrowser[s][a].skipped++,this._stats.total++,this._stats.perBrowser[s][a].total++}}}]),r}(w);function B(t,e){var r=e.browserId;t[r]||(t[r]=new Set);var s=e.meta.browserVersion,n=void 0===s?p.eb.UNKNOWN:s;t[r].add(n)}},58672:()=>{}},i={};function a(t){var e=i[t];if(void 0!==e)return e.exports;var r=i[t]={id:t,loaded:!1,exports:{}};return n[t].call(r.exports,r,r.exports,a),r.loaded=!0,r.exports}a.m=n,t=[],a.O=(e,r,s,n)=>{if(!r){var i=1/0;for(l=0;l<t.length;l++){for(var[r,s,n]=t[l],o=!0,u=0;u<r.length;u++)(!1&n||i>=n)&&Object.keys(a.O).every((t=>a.O[t](r[u])))?r.splice(u--,1):(o=!1,n<i&&(i=n));if(o){t.splice(l--,1);var c=s();void 0!==c&&(e=c)}}return e}n=n||0;for(var l=t.length;l>0&&t[l-1][2]>n;l--)t[l]=t[l-1];t[l]=[r,s,n]},a.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return a.d(e,{a:e}),e},r=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__,a.t=function(t,s){if(1&s&&(t=this(t)),8&s)return t;if("object"==typeof t&&t){if(4&s&&t.__esModule)return t;if(16&s&&"function"==typeof t.then)return t}var n=Object.create(null);a.r(n);var i={};e=e||[null,r({}),r([]),r(r)];for(var o=2&s&&t;"object"==typeof o&&!~e.indexOf(o);o=r(o))Object.getOwnPropertyNames(o).forEach((e=>i[e]=()=>t[e]));return i.default=()=>t,a.d(n,i),n},a.d=(t,e)=>{for(var r in e)a.o(e,r)&&!a.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},a.f={},a.e=t=>Promise.all(Object.keys(a.f).reduce(((e,r)=>(a.f[r](t,e),e)),[])),a.u=t=>(938===t?"search-worker":t)+".min.js",a.miniCssF=t=>{},a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),a.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),s={},a.l=(t,e,r,n)=>{if(s[t])s[t].push(e);else{var i,o;if(void 0!==r)for(var u=document.getElementsByTagName("script"),c=0;c<u.length;c++){var l=u[c];if(l.getAttribute("src")==t){i=l;break}}i||(o=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,a.nc&&i.setAttribute("nonce",a.nc),i.src=t),s[t]=[e];var d=(e,r)=>{i.onerror=i.onload=null,clearTimeout(p);var n=s[t];if(delete s[t],i.parentNode&&i.parentNode.removeChild(i),n&&n.forEach((t=>t(r))),e)return e(r)},p=setTimeout(d.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=d.bind(null,i.onerror),i.onload=d.bind(null,i.onload),o&&document.head.appendChild(i)}},a.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},a.nmd=t=>(t.paths=[],t.children||(t.children=[]),t),(()=>{var t;a.g.importScripts&&(t=a.g.location+"");var e=a.g.document;if(!t&&e&&(e.currentScript&&(t=e.currentScript.src),!t)){var r=e.getElementsByTagName("script");if(r.length)for(var s=r.length-1;s>-1&&!t;)t=r[s--].src}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),a.p=t})(),(()=>{a.b=document.baseURI||self.location.href;var t={779:0,134:0};a.f.j=(e,r)=>{var s=a.o(t,e)?t[e]:void 0;if(0!==s)if(s)r.push(s[2]);else{var n=new Promise(((r,n)=>s=t[e]=[r,n]));r.push(s[2]=n);var i=a.p+a.u(e),o=new Error;a.l(i,(r=>{if(a.o(t,e)&&(0!==(s=t[e])&&(t[e]=void 0),s)){var n=r&&("load"===r.type?"missing":r.type),i=r&&r.target&&r.target.src;o.message="Loading chunk "+e+" failed.\n("+n+": "+i+")",o.name="ChunkLoadError",o.type=n,o.request=i,s[1](o)}}),"chunk-"+e,e)}},a.O.j=e=>0===t[e];var e=(e,r)=>{var s,n,[i,o,u]=r,c=0;if(i.some((e=>0!==t[e]))){for(s in o)a.o(o,s)&&(a.m[s]=o[s]);if(u)var l=u(a)}for(e&&e(r);c<i.length;c++)n=i[c],a.o(t,n)&&t[n]&&t[n][0](),t[n]=0;return a.O(l)},r=self.webpackChunk=self.webpackChunk||[];r.forEach(e.bind(null,0)),r.push=e.bind(null,r.push.bind(r))})(),a.O(void 0,[164,741,796,899,406,343,830],(()=>a(18601))),a.O(void 0,[164,741,796,899,406,343,830],(()=>a(87240))),a.O(void 0,[164,741,796,899,406,343,830],(()=>a(57605)));var o=a.O(void 0,[164,741,796,899,406,343,830],(()=>a(58672)));o=a.O(o)})();
|
|
1
|
+
(()=>{"use strict";var t,e,r,n,s={9560:(t,e,r)=>{r.d(e,{CB:()=>F,CR:()=>J,Cr:()=>S,Cx:()=>R,EX:()=>j,Fm:()=>z,G6:()=>W,KM:()=>T,Lg:()=>q,MO:()=>C,MT:()=>b,Mg:()=>w,Ne:()=>D,Ph:()=>V,R6:()=>I,S5:()=>N,SS:()=>M,by:()=>U,ci:()=>B,dc:()=>G,e1:()=>H,hO:()=>E,iR:()=>Z,jj:()=>X,kg:()=>_,nc:()=>O,qC:()=>x,sx:()=>k,wX:()=>A,zV:()=>P});var n=r(34795),s=r(56666),i=r(96234),a=r(82841),o=r.n(a),u=r(5634),c=r(76635),l=r(883),d=r(27202),p=r(8776),f=r(40161);function h(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function v(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?h(Object(r),!0).forEach((function(e){(0,s.Z)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function y(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return m(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?m(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,s=function(){};return{s,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:s}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){o=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}function m(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}var b=function(t){return u.createHash("md5").update(t,"ascii").digest("hex").substr(0,7)},g=[d.sS,d.em,d.pn,d.ES,d.Ez,d.t6,d.SH,d.MR,d.JW,d.kb],_=(0,c.pick)(console,["log","warn","error"]),w=function(t){return t===d.MR},I=function(t){return t===d.ES},O=function(t){return t===d.JW},T=function(t){return t===d.pn},k=function(t){return t===d.kb},S=function(t){return t===d.SH},R=function(t){return t===d.Ez},E=function(t){return t===d.t6},j=function(t){if(!t.length)return d.MR;for(var e=new Set(t),r=0,n=g;r<n.length;r++){var s=n[r];if(e.has(s))return s}return console.error("Unknown statuses: "+JSON.stringify(t)),null},P=function(t,e){if((0,c.isEmpty)(e))return null!=t?t:"";try{var r=new URL(null!=t?t:"",e),n=new URL(e);r.host=n.host,r.protocol=n.protocol,r.port=n.port,r.username=n.username,r.password=n.password;var s,a=y(n.searchParams);try{for(a.s();!(s=a.n()).done;){var o=(0,i.Z)(s.value,2),u=o[0],l=o[1];r.searchParams.append(u,l)}}catch(t){a.e(t)}finally{a.f()}return r.href}catch(r){return t||e||""}},x=function(t){try{var e=new URL(t);return e.pathname+e.search}catch(e){return t}},Z=function(t){return(null==t?void 0:t.name)===f.G.ASSERT_VIEW},B=function(t){return(null==t?void 0:t.name)===f.G.IMAGE_DIFF},N=function(t){return(null==t?void 0:t.name)===f.G.NO_REF_IMAGE},D=function(t){return(null==t?void 0:t.name)===f.G.INVALID_REF_IMAGE},A=function(t){return Z(t)||B(t)||N(t)},C=function(t){return!N(t)&&!B(t)&&!Z(t)},L=["Tests were stopped by the user","NoRefImageError","Too many requests for session creation"],U=function(t){var e;if(t)return v(v({},(0,c.pick)(t,["name","message","stack","stateName","snippet"])),{},{stack:(e=t.stack,e&&L.some((function(t){return e.includes(t)}))?e.split("\n")[0]:e)})},M=function(t){var e;if(!(function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).some((function(t){return t.stateName&&(T(t.status)||I(t.status)||N(t)||B(t))}))}(t.imagesInfo)||k(t.status)||t.error&&C(t.error)))return d.MR;var r,n=(null!==(e=t.imagesInfo)&&void 0!==e?e:[]).map((function(t){var e;return null!==(e=t.error)&&void 0!==e?e:{}}));return n.some((function(t){return B(t)}))||(void 0===(r={assertViewResults:n}.assertViewResults)?[]:r).some((function(t){return N(t)}))?d.ES:(0,c.isEmpty)(t.error)?t.status:d.pn},F=function(t){if("string"!=typeof t)return!1;var e=l.parse(t);return!!e.host&&!!e.protocol},G=function(){var t=(0,n.Z)(o().mark((function t(e,n){var s,i,a,u,c,l;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Promise.all([r.e(741),r.e(613)]).then(r.bind(r,74856));case 2:return s=t.sent,i=s.default,t.prev=4,t.next=7,i.get(e,n);case 7:return a=t.sent,u=a.data,c=a.status,t.abrupt("return",{data:u,status:c});case 13:return t.prev=13,t.t0=t.catch(4),_.warn("Error while fetching ".concat(e),t.t0),l=t.t0.response?t.t0.response.status:"unknown",t.abrupt("return",{data:null,status:l,error:t.t0});case 18:case"end":return t.stop()}}),t,null,[[4,13]])})));return function(e,r){return t.apply(this,arguments)}}(),H=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1?arguments[1]:void 0,r=new URL(e).search;return t.map((function(t){try{var n=new URL(t,e);return function(t){try{return new URL(t),!1}catch(t){return!0}}(t)&&!n.search&&(n.search=r),n.href}catch(r){return _.warn("Can not normalize url '".concat(t," for base url '").concat(e,"'"),r),t}}))},J=function(t){return Number(t)===p.ri},V=function(t){return Number(t)===p.Km},X=function(t){return J(t)?p.wT:p.ri};var q=function(t){return t.testPath.concat(t.browserId,t.attempt.toString()).join(" ")},W=function(t){for(var e=0,r=t.length;e<t.length&&!t[e];)e++;for(;r>0&&!t[r-1];)r--;return t.slice(e,r)},K=function(t){var e=t.name;if(!e&&t.stack){var r=t.stack.indexOf(":");e=-1!==r?t.stack.slice(0,r):t.stack.slice(0,t.stack.indexOf("\n"))}return e||(e="Error"),t.message?"".concat(e,": ").concat(t.message):e},$=function(t){var e=K(t)+"\n",r=t.stack.indexOf(e);if(-1!==r)return t.stack.slice(r+e.length);var n=t.toString?t.toString()+"\n":"",s=t.stack.indexOf(n);if(n&&-1!==s)return t.stack.slice(s+n.length);var i=t.stack.indexOf(t.message),a=t.stack.indexOf("\n",i+t.message.length);return t.stack.slice(a+1)},z=function(t){if(!t||!t.snippet)return t;var e=function(t){var e=["name","message","stack"],r=new Error(t.message);e.forEach((function(t){delete r[t]}));var n=Object.getOwnPropertyNames(t);return e.concat(n).forEach((function(e){r[e]=t[e]})),r}(t);if(delete e.snippet,!t.stack)return e.stack=[K(t),t.snippet].join("\n"),e;return e.stack=[K(t),t.snippet,"[90m"+$(t)+"[39m"].join("\n"),e}},28909:(t,e,r)=>{r.r(e),r.d(e,{EditScreensFeature:()=>s,RunTestsFeature:()=>n,TimeTravelFeature:()=>i});var n={name:"run-tests"},s={name:"edit-screens"},i={name:"time-travel"}},8047:(t,e,r)=>{r.d(e,{By:()=>v,fB:()=>h,pU:()=>g,vO:()=>m,xH:()=>_,xe:()=>w});var n=r(68079),s=r(56666),i=r(34795),a=r(82841),o=r.n(a),u=r(76635),c=r(69e3),l=r(9560),d=r(46126);function p(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function f(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?p(Object(r),!0).forEach((function(e){(0,s.Z)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function h(t,e){var r=function(){var t=(0,i.Z)(o().mark((function t(r){var n,s,i,a;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n={responseType:"arraybuffer"},"function"==typeof e&&(n.onDownloadProgress=function(t){e(r,t.loaded/t.total)}),t.next=4,(0,l.dc)(r,n);case 4:return s=t.sent,i=s.data,a=s.status,t.abrupt("return",{url:r,status:a,data:i});case 8:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}();return(0,c.jI)(t,{loadDbJsonUrl:function(t){return(0,l.dc)(t)},prepareUrls:function(t,e){return(0,l.e1)(t,e)},formatData:function(t){return{url:t,status:arguments.length>1&&void 0!==arguments[1]?arguments[1]:"unknown",data:null}},loadDbUrl:r})}function v(t){return y.apply(this,arguments)}function y(){return(y=(0,i.Z)(o().mark((function t(e){var r,s,i,a,u,l;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,window.initSqlJs();case 2:if(r=t.sent,s=e.map((function(t){return new Uint8Array(t)})),0!==(i=s.map((function(t){return new r.Database(t)}))).length){t.next=9;break}return t.abrupt("return",null);case 9:if(1!==i.length){t.next=11;break}return t.abrupt("return",i[0]);case 11:return a=s.reduce((function(t,e){return t+e.length}),0),u=new r.Database(void 0,a),l=i.map((function(t){return t.filename})),(0,c.c2)({db:u,dbPaths:l,getExistingTables:function(t){for(var e=[];t.step();)e.push.apply(e,(0,n.Z)(t.get()));return e}}),i.forEach((function(t){return t.close()})),t.abrupt("return",u);case 17:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function m(t){return b.apply(this,arguments)}function b(){return(b=(0,i.Z)(o().mark((function t(e){var r,n,s,i;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=new URL(e),t.next=3,(0,l.dc)(r.href,{responseType:"arraybuffer"});case 3:return n=t.sent,s=n.data,t.next=7,window.initSqlJs();case 7:return i=t.sent,t.abrupt("return",new i.Database(new Uint8Array(s)));case 9:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function g(){return new URL(d.rW,window.location.href)}function _(t){var e=function(t,e){var r=t.exec((0,c.Vt)(e))[0];if(!r)return console.warn('Table "'.concat(e,'" is empty')),[];return r}(t,d.JL);if(!(0,u.isEmpty)(e))return e.values.sort(c.fd)}function w(t){t.close()}f(f({},c.default),{},{fetchDataFromDatabases:h,mergeDatabases:v,connectToDatabase:m,getMainDatabaseUrl:g,getSuitesTableRows:_,closeDatabase:w})},64141:(t,e,r)=>{r.r(e),r.d(e,{changeTestRetry:()=>H.iB,changeViewMode:()=>s.R4,closeModal:()=>l.M,closeSections:()=>H.DI,collapseAll:()=>H.kF,commitAcceptedImagesToTree:()=>L.GC,commitRevertedImagesToTree:()=>L.sP,createNotification:()=>d.sc,createNotificationError:()=>d.uX,deselectAll:()=>H.kR,dismissNotification:()=>d.N5,expandAll:()=>H.V1,expandErrors:()=>H.vf,expandRetries:()=>H.tp,finGuiReport:()=>u.Sc,finStaticReport:()=>u.$i,formatStaticAccepterProgress:()=>F.lT,groupTestsByKey:()=>a.I,initGuiReport:()=>u.pQ,openModal:()=>l.h,patchTestsTree:()=>u.M8,processBegin:()=>p.$,processEnd:()=>p.E,revealTreeNode:()=>G.o9,runAllTests:()=>T,runCustomGui:()=>n.u,runFailedTests:()=>S,runSuite:()=>E,runTest:()=>g,selectAll:()=>H.td,selectBrowsers:()=>s.QJ,set2UpFitMode:()=>J.Bt,setAllTreeNodesState:()=>G.Nu,setBackupSectionSizes:()=>G.Qh,setBrowserFeatures:()=>V.a,setCurrentGroupByExpression:()=>a.i,setCurrentHighlightStep:()=>G.Gm,setCurrentSortByExpression:()=>M.Q,setCurrentStep:()=>G.Bq,setCurrentTreeNode:()=>G._r,setDiffMode:()=>U.H,setGuiServerConnectionStatus:()=>o.o,setMatchCaseFilter:()=>s.cQ,setRefreshLoading:()=>s.lT,setRepeatCount:()=>_,setRepeatLeft:()=>w,setRunOptions:()=>I,setSearchLoading:()=>s.if,setSectionExpandedState:()=>G.$X,setSectionSizes:()=>G.gM,setSortByDirection:()=>M.u,setStepsExpandedState:()=>G.zE,setStrictMatchFilter:()=>G.tF,setTreeNodeExpandedState:()=>G.cI,setTreeViewMode:()=>G.KW,setUseRegexFilter:()=>s.Lf,setVisualChecksDiffMode:()=>J.MT,staticAccepterCloseConfirm:()=>F.dd,staticAccepterCommitScreenshot:()=>F.sv,staticAccepterDelayScreenshot:()=>F.A2,staticAccepterOpenConfirm:()=>F.x_,staticAccepterStageScreenshot:()=>F.FD,staticAccepterUndoDelayScreenshot:()=>F.cO,staticAccepterUnstageScreenshot:()=>F.vx,staticAccepterUpdateCommitMessage:()=>F.Lt,staticAccepterUpdateToolbarOffset:()=>F.mm,stopTests:()=>x,suiteBegin:()=>D,testBegin:()=>A,testResult:()=>C,testsEnd:()=>B,thunkAcceptImages:()=>L.Ro,thunkFindSameDiffs:()=>i.C,thunkInitGuiReport:()=>u.dP,thunkInitStaticReport:()=>u.Kt,thunkRefreshGuiReport:()=>u.tc,thunkRevertImages:()=>L.Ku,thunkRunAllTests:()=>k,thunkRunCustomGuiAction:()=>n.M,thunkRunFailedTests:()=>R,thunkRunSuite:()=>j,thunkRunTest:()=>P,thunkRunTests:()=>O,thunkStopTests:()=>Z,thunkTestsEnd:()=>N,toggle2UpDiffVisibility:()=>J.ZD,toggleBrowserCheckbox:()=>H.Z$,toggleBrowserSection:()=>H.nS,toggleGroupCheckbox:()=>H.IP,toggleLoading:()=>c.o,toggleStateResult:()=>H.qz,toggleSuiteCheckbox:()=>H.T9,toggleSuiteSection:()=>H.cd,toggleTestsGroup:()=>H.Cd,updateBaseHost:()=>U.B,updateBottomProgressBar:()=>H.LL,updateNameFilter:()=>s.QC,visualChecksPageSetCurrentNamedImage:()=>J.Ll});var n=r(70839),s=r(19272),i=r(60540),a=r(32481),o=r(48907),u=r(82931),c=r(33981),l=r(95834),d=r(48394),p=r(84787),f=r(34795),h=r(82841),v=r.n(h),y=r(87741),m=r(97566),b=r(8047),g=function(){return{type:m.Z.RETRY_TEST}},_=function(t){return{type:m.Z.SET_REPEAT_COUNT,payload:{repeatCount:t}}},w=function(t){return{type:m.Z.SET_REPEAT_LEFT,payload:{repeatLeft:t}}},I=function(t){return{type:m.Z.SET_RUN_OPTIONS,payload:{runOptions:t}}},O=function(){var t=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).tests,e=void 0===t?[]:t;return function(){var t=(0,f.Z)(v().mark((function t(r,n){var s,i;return v().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return s=n(),i=s.repeatCount,r(g()),t.prev=2,t.next=5,y.default.post("/run",{tests:e,repeatCount:i});case 5:t.next=10;break;case 7:t.prev=7,t.t0=t.catch(2),console.error("Error while running tests:",t.t0);case 10:case"end":return t.stop()}}),t,null,[[2,7]])})));return function(e,r){return t.apply(this,arguments)}}()},T=function(){return{type:m.Z.RUN_ALL_TESTS}},k=function(){return function(){var t=(0,f.Z)(v().mark((function t(e){return v().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e(T()),t.next=3,e(O());case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()},S=function(){return{type:m.Z.RUN_FAILED_TESTS}},R=function(t){var e=t.tests;return function(){var t=(0,f.Z)(v().mark((function t(r){return v().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r(S()),t.next=3,r(O({tests:e}));case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()},E=function(){return{type:m.Z.RETRY_SUITE}},j=function(t){var e=t.tests;return function(){var t=(0,f.Z)(v().mark((function t(r){return v().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r(E()),t.next=3,r(O({tests:e}));case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()},P=function(t){var e=t.test;return function(){var t=(0,f.Z)(v().mark((function t(r){return v().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r(g()),t.next=3,r(O({tests:[e]}));case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()},x=function(){return{type:m.Z.STOP_TESTS}},Z=function(){return function(){var t=(0,f.Z)(v().mark((function t(e){return v().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,y.default.post("/stop");case 3:e(x()),t.next=9;break;case 6:t.prev=6,t.t0=t.catch(0),console.error("Error while stopping tests:",t.t0);case 9:case"end":return t.stop()}}),t,null,[[0,6]])})));return function(e){return t.apply(this,arguments)}}()},B=function(t){return{type:m.Z.TESTS_END,payload:t}},N=function(){return function(){var t=(0,f.Z)(v().mark((function t(e){var r,n;return v().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,r=(0,b.pU)(),t.next=4,(0,b.vO)(r.href);case 4:n=t.sent,e(B({db:n})),t.next=11;break;case 8:t.prev=8,t.t0=t.catch(0),e((0,d.uX)("testsEnd",t.t0));case 11:case"end":return t.stop()}}),t,null,[[0,8]])})));return function(e){return t.apply(this,arguments)}}()},D=function(t){return{type:m.Z.SUITE_BEGIN,payload:t}},A=function(t){return{type:m.Z.TEST_BEGIN,payload:t}},C=function(t){return{type:m.Z.TEST_RESULT,payload:t}},L=r(54432),U=r(22253),M=r(58311),F=r(49012),G=r(40554),H=r(70807),J=r(84006),V=r(29909)},98645:(t,e,r)=>{r.d(e,{Xm:()=>k,ZL:()=>I,wB:()=>O,xU:()=>_,yC:()=>T});var n,s=r(34795),i=r(68079),a=r(82841),o=r.n(a),u=r(64141),c=r(61394),l=new Set([]),d=new Map([]),p=0,f=new Map,h=new Map,v=function(t){var e;return null===(e=n)||void 0===e?void 0:e.postMessage(t)},y=function(t){var e,r,n=t.data.requestId;"search-result"===t.data.type?(null===(e=f.get(n))||void 0===e||e(t.data.data),f.delete(n)):(null===(r=h.get(n))||void 0===r||r(),h.delete(n))},m=function(){n=void 0,f.forEach((function(t){return t([])})),f.clear(),h.forEach((function(t){return t()})),h.clear()},b=function(t){return new Promise((function(e){h.set(t.requestId,e),v(t)}))},g=function(t){var e,r=null===(e=t.attachments)||void 0===e?void 0:e.find((function(t){return t.type===c.s.Tags}));return r?r.list.map((function(t){return t.title})):[]},_=function(t){var e=t.results.allIds,s={};if(e.forEach((function(e){var r=t.results.byId[e];s[r.parentId]=g(r)})),"undefined"!=typeof Worker){var i=n;i&&(m(),i.terminate()),(n=new Worker(new URL(r.p+r.u(938),r.b))).onmessage=y,n.onerror=m;var a=++p;return b({type:"init",requestId:a,data:s})}return Promise.resolve()},w=function(t,e){if("undefined"==typeof Worker)return Promise.resolve();if(!n)return _(t);var r=new Set([].concat((0,i.Z)(Object.keys(e.browsers.byId)),(0,i.Z)(Object.values(e.results.byId).map((function(t){return t.parentId}))))),s={};r.forEach((function(e){var r=t.browsers.byId[e],n=null==r?void 0:r.resultIds.at(-1),i=n?t.results.byId[n]:void 0;i&&(s[e]=g(i))}));var a=++p;return b({type:"patch",requestId:a,data:{removeIds:[].concat((0,i.Z)(e.browsers.removedIds),(0,i.Z)(r)),idTagMap:s}})},I=function(t){return l.has(t)},O=function(t){return d.get(t)||-1},T=function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],s=arguments.length>3?arguments[3]:void 0,i=arguments.length>4?arguments[4]:void 0;return i((0,u.setSearchLoading)(!0)),new Promise((function(s){if(r)s([]);else if(n){var i=++p;f.set(i,s),v({type:"search",requestId:i,data:{text:t,matchCase:e}})}else s([])})).then((function(r){l=new Set(r),d=new Map,r.forEach((function(t,e){d.set(t,r.length-e)})),i(s?(0,u.setMatchCaseFilter)({data:e}):(0,u.updateNameFilter)({data:t})),i((0,u.setSearchLoading)(!1))}))},k=function(){var t=(0,s.Z)(o().mark((function t(e,r,n,s){var i,a,u,c;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,w(e,r);case 2:return i=n(),a=i.text,u=i.matchCase,c=i.useRegexFilter,t.next=5,T(a,u,c,!1,s);case 5:case"end":return t.stop()}}),t)})));return function(e,r,n,s){return t.apply(this,arguments)}}()},18601:(t,e,r)=>{var n=r(56666),s=r(34795),i=r(82841),a=r.n(i),o=r(2784),u=r(17029),c=r(28316),l=r(30266),d=r(9215),p=r(82979),f=r(64141),h=r(48907),v=r(97566),y=r(1540),m=r(82931),b=r(98645);function g(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function _(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?g(Object(r),!0).forEach((function(e){(0,n.Z)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var w=document.getElementById("app");function I(){var t=(0,y.T)();return(0,o.useEffect)((function(){if(t)return p.Z.dispatch((0,f.thunkInitGuiReport)({isNewUi:!0})),t&&(t.addEventListener(l.JX.CONNECTED,(function(){p.Z.dispatch({type:v.Z.UPDATE_LOADING_VISIBILITY,payload:!1}),p.Z.dispatch((0,h.o)({isConnected:!0}))})),t.onerror=function(){p.Z.dispatch({type:v.Z.UPDATE_LOADING_IS_IN_PROGRESS,payload:!0}),p.Z.dispatch({type:v.Z.UPDATE_LOADING_TITLE,payload:"Lost connection to Testplane UI server. Trying to reconnect"}),p.Z.dispatch({type:v.Z.UPDATE_LOADING_VISIBILITY,payload:!0}),p.Z.dispatch((0,h.o)({isConnected:!1}))},t.addEventListener(l.JX.BEGIN_SUITE,(function(t){var e=JSON.parse(t.data);p.Z.dispatch((0,f.suiteBegin)(e))})),t.addEventListener(l.JX.BEGIN_STATE,(function(t){var e=JSON.parse(t.data);p.Z.dispatch((0,f.testBegin)(e))})),[l.JX.TEST_RESULT,l.JX.ERROR].forEach((function(e){t.addEventListener(e,(function(t){var e=JSON.parse(t.data);p.Z.dispatch((0,f.testResult)(e))}))})),t.addEventListener(l.JX.END,(function(){p.Z.dispatch((0,f.thunkTestsEnd)())})),t.addEventListener(l.JX.REPEAT_LEFT,(function(t){var e=JSON.parse(t.data);p.Z.dispatch((0,f.setRepeatLeft)(e.repeatLeft))})),t.addEventListener(l.JX.TESTS_REFRESH_STARTED,(function(){(0,c.flushSync)((function(){p.Z.dispatch((0,f.setRefreshLoading)(!0))}))})),t.addEventListener(l.JX.TESTS_REFRESHED,function(){var t=(0,s.Z)(a().mark((function t(e){var r,n,s,i,o,u,c,l;return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(t.prev=0,!(r=JSON.parse(e.data))){t.next=13;break}if(r.replacement?(n=p.Z.getState(),s=n.db,p.Z.dispatch((0,f.initGuiReport)(_(_({},r.replacement),{},{db:s,isNewUi:!0})))):p.Z.dispatch((0,m.M8)(r)),i=function(){var t=p.Z.getState().app;return{text:t.nameFilter||"",matchCase:Boolean(t.useMatchCaseFilter),useRegexFilter:Boolean(t.useRegexFilter)}},!r.replacement){t.next=11;break}return o=i(),u=o.text,c=o.matchCase,l=o.useRegexFilter,t.next=9,(0,b.yC)(u,c,l,!1,p.Z.dispatch);case 9:t.next=13;break;case 11:return t.next=13,(0,b.Xm)(p.Z.getState().tree,r,i,p.Z.dispatch);case 13:return t.prev=13,p.Z.dispatch((0,f.setRefreshLoading)(!1)),t.finish(13);case 16:case"end":return t.stop()}}),t,null,[[0,,13,16]])})));return function(e){return t.apply(this,arguments)}}()),t.addEventListener(l.JX.TESTS_REFRESH_FAILED,(function(){p.Z.dispatch((0,f.setRefreshLoading)(!1))}))),function(){p.Z.dispatch((0,f.finGuiReport)())}}),[t]),o.createElement(d.g,null)}(0,u.s)(w).render(o.createElement(y.L,null,o.createElement(I,null)))},1540:(t,e,r)=>{r.d(e,{L:()=>a,T:()=>o});var n=r(96234),s=r(2784),i=(0,s.createContext)(null),a=function(t){var e=t.children,r=(0,s.useState)(null),a=(0,n.Z)(r,2),o=a[0],u=a[1];return(0,s.useEffect)((function(){var t=new EventSource("/events");return u(t),function(){t.close()}}),[]),s.createElement(i.Provider,{value:o},e)},o=function(){return(0,s.useContext)(i)}},32444:(t,e,r)=>{r.d(e,{R:()=>a,r:()=>o});var n=r(34795),s=r(82841),i=r.n(s),a=function(t){return"error"in t},o=function(){var t=(0,n.Z)(i().mark((function t(e){return i().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",fetch("/update-time-travel-settings",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)}).then((function(t){return t.json()})));case 1:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()},43134:(t,e,r)=>{r.d(e,{N:()=>Z});var n=r(56666),s=r(9249),i=r(87371),a=r(45754),o=r(11987),u=r(95058),c=r(76635),l=r.n(c),d=r(9560),p=r(27202);function f(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function h(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?f(Object(r),!0).forEach((function(e){(0,n.Z)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var v=function(){function t(e){(0,s.Z)(this,t),this._options=e}return(0,i.Z)(t,[{key:"transform",value:function(t){var e,r,n,s,i,a=(0,d.zV)(t.url,this._options.baseHost),o=(null!==(e=t.imagesInfo)&&void 0!==e?e:[]).map((function(t){return l().isObject(t)&&"error"in t&&t.error?h(h({},t),{},{error:(0,d.by)(t.error)}):t})),u=l().merge(l().cloneDeep(t.meta),{url:null!==(r=null!==(n=null===(s=t.meta)||void 0===s?void 0:s.url)&&void 0!==n?n:a)&&void 0!==r?r:"",file:t.file,sessionId:t.sessionId}),c=l().omitBy(u,l().isEmpty);return{suitePath:t.testPath,suiteName:l().last(t.testPath),name:t.browserId,suiteUrl:a,metaInfo:c,history:t.history,description:t.description,error:(0,d.by)(t.error),skipReason:t.skipReason,imagesInfo:o,screenshot:Boolean(t.screenshot),multipleTabs:t.multipleTabs,status:t.status,timestamp:null!==(i=t.timestamp)&&void 0!==i?i:Date.now(),duration:t.duration,attachments:t.attachments}}}]),t}();function y(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function m(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?y(Object(r),!0).forEach((function(e){(0,n.Z)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):y(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var b=function(){function t(e){(0,s.Z)(this,t),this._transformer=new v(e)}return(0,i.Z)(t,[{key:"transform",value:function(t){var e=this._transformer.transform(t);return m(m({},l().omit(e,"imagesInfo")),{},{attempt:t.attempt,errorDetails:t.errorDetails})}}]),t}();function g(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return _(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,s=function(){};return{s,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:s}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){o=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}function _(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function w(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function I(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?w(Object(r),!0).forEach((function(e){(0,n.Z)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):w(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var O=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};(0,s.Z)(this,t),this._transformer=new b(e),this._tree={suites:{byId:{},byHash:{},allIds:[],allRootIds:[]},browsers:{byId:{},allIds:[]},results:{byId:{},allIds:[]},images:{byId:{},allIds:[]}}}return(0,i.Z)(t,[{key:"tree",get:function(){return this._tree}},{key:"sortTree",value:function(){var t=this;this._tree.suites.allRootIds.sort().forEach((function e(r){var n=t._tree.suites.byId[r];n.suiteIds&&n.suiteIds.sort().forEach(e),n.browserIds&&n.browserIds.sort()}))}},{key:"addTestResult",value:function(t){var e=this,r=t.testPath,n=t.browserId,s=t.attempt,i=t.imagesInfo,a=void 0===i?[]:i,o=t.meta.browserVersion,u=void 0===o?p.eb.UNKNOWN:o,c=this._buildId(r),l=this._buildId(c,n),d=this._buildId(l,s.toString()),f=a.map((function(t,r){return e._buildId(d,t.stateName||"".concat(t.status,"_").concat(r))}));this._addSuites(r,l),this._addBrowser({id:l,parentId:c,name:n,version:u},d,s),this._addResult({id:d,parentId:l,result:t},f),this._addImages(f,{imagesInfo:a,parentId:d}),this._setStatusForBranch(r)}},{key:"_buildId",value:function(){return[].concat(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]).join(p.Nv)}},{key:"_addSuites",value:function(t,e){var r=this;t.reduce((function(t,n,s,i){var a=0===s,o=a?[n]:i.slice(0,s+1),u=r._buildId(o);if(!t.byId[u]){var c=a?null:r._buildId(o.slice(0,-1)),l={id:u,hash:(0,d.MT)(u),parentId:c,name:n,suitePath:o,root:a};r._addSuite(l)}var p=r._tree.suites.byId[u];if(s!==i.length-1){var f=r._buildId(u,i[s+1]);p.suiteIds?r._tree.suites.byId[f]&&p.suiteIds.includes(f)||p.suiteIds.push(f):p.suiteIds=[f]}else p.browserIds?r._tree.browsers.byId[e]&&p.browserIds.includes(e)||p.browserIds.push(e):p.browserIds=[e];return t}),this._tree.suites)}},{key:"_addSuite",value:function(t){var e=this._tree.suites;e.byId[t.id]=t,e.byHash[t.hash]=t,e.allIds.push(t.id),t.root&&e.allRootIds.push(t.id)}},{key:"_addBrowser",value:function(t,e,r){var n=t.id,s=t.parentId,i=t.name,a=t.version,o=this._tree.browsers;o.byId[n]||(o.byId[n]={id:n,parentId:s,name:i,resultIds:[],version:a},o.allIds.push(n)),this._addResultIdToBrowser(n,e,r)}},{key:"_addResultIdToBrowser",value:function(t,e,r){this._tree.browsers.byId[t].resultIds[r]=e}},{key:"_addResult",value:function(t,e){var r=t.id,n=t.parentId,s=t.result,i=this._transformer.transform(s);this._tree.results.byId[r]||this._tree.results.allIds.push(r),this._tree.results.byId[r]=I(I({attempt:0,id:r,parentId:n},i),{},{imageIds:e})}},{key:"_addImages",value:function(t,e){var r=this,n=e.imagesInfo,s=e.parentId;t.forEach((function(t,e){r._tree.images.byId[t]=I(I({},n[e]),{},{id:t,parentId:s}),r._tree.images.allIds.push(t)}))}},{key:"_setStatusForBranch",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=this._buildId(t);if(e){var r,n=this._tree.suites.byId[e],s=[],i=g(n.browserIds||[]);try{for(i.s();!(r=i.n()).done;){var a=r.value;if(a){var o=this._tree.browsers.byId[a].resultIds,u=o[o.length-1],c=this._tree.results.byId[u].status;c&&!s.includes(c)&&s.push(c)}}}catch(t){i.e(t)}finally{i.f()}var l,p=g(n.suiteIds||[]);try{for(p.s();!(l=p.n()).done;){var f=l.value;if(f){var h=this._tree.suites.byId[f].status;h&&!s.includes(h)&&s.push(h)}}}catch(t){p.e(t)}finally{p.f()}if(n.status=(0,d.EX)(s)||void 0,n.status)for(var v=1;v<t.length;v++){var y=t.slice(0,-v),m=this._buildId(y),b=this._tree.suites.byId[m];if(b.status===n.status)return;if(b.status){this._setStatusForBranch(y);break}b.status=n.status}}}}],[{key:"create",value:function(){return new this(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{})}}]),t}(),T=function(t){try{return JSON.parse(t)}catch(t){return}},k=function(){function t(e,r){(0,s.Z)(this,t),this._testResult=e,this._parsedTestResult={attempt:r}}return(0,i.Z)(t,[{key:"assertViewResults",get:function(){return[]}},{key:"attempt",get:function(){return this._parsedTestResult.attempt}},{key:"browserId",get:function(){return this._testResult[p.He.name]}},{key:"description",get:function(){var t;return null!==(t=this._testResult[p.He.description])&&void 0!==t?t:void 0}},{key:"error",get:function(){return l().has(this._parsedTestResult,"error")||(this._parsedTestResult.error=T(this._testResult[p.He.error])),this._parsedTestResult.error}},{key:"errorDetails",get:function(){return null}},{key:"file",get:function(){var t;return l().has(this._parsedTestResult,"meta")||(this._parsedTestResult.meta=T(this._testResult[p.He.metaInfo])),null===(t=this._parsedTestResult.meta)||void 0===t?void 0:t.file}},{key:"fullName",get:function(){return l().has(this._parsedTestResult,"fullName")||(this._parsedTestResult.fullName=this.testPath.join(p.Nv)),this._parsedTestResult.fullName}},{key:"history",get:function(){return l().has(this._parsedTestResult,"history")||(this._parsedTestResult.history=T(this._testResult[p.He.history])),this._parsedTestResult.history}},{key:"id",get:function(){return this.testPath.concat(this.browserId,this.attempt.toString()).join(" ")}},{key:"imageDir",get:function(){return(0,d.Lg)(this)}},{key:"imagesInfo",get:function(){return l().has(this._parsedTestResult,"imagesInfo")||(this._parsedTestResult.imagesInfo=T(this._testResult[p.He.imagesInfo])),this._parsedTestResult.imagesInfo}},{key:"meta",get:function(){var t;l().has(this._parsedTestResult,"meta")||(this._parsedTestResult.meta=null!==(t=T(this._testResult[p.He.metaInfo]))&&void 0!==t?t:{});return this._parsedTestResult.meta}},{key:"multipleTabs",get:function(){return Boolean(this._testResult[p.He.multipleTabs])}},{key:"screenshot",get:function(){var t;return null===(t=this.error)||void 0===t?void 0:t.screenshot}},{key:"sessionId",get:function(){var t;return l().has(this._parsedTestResult,"meta")||(this._parsedTestResult.meta=T(this._testResult[p.He.metaInfo])),null===(t=this._parsedTestResult.meta)||void 0===t?void 0:t.sessionId}},{key:"skipReason",get:function(){return this._testResult[p.He.skipReason]}},{key:"state",get:function(){return{name:this.testPath.at(-1)}}},{key:"status",get:function(){return this._testResult[p.He.status]}},{key:"testPath",get:function(){return l().has(this._parsedTestResult,"testPath")||(this._parsedTestResult.testPath=T(this._testResult[p.He.suitePath])),this._parsedTestResult.testPath}},{key:"timestamp",get:function(){return Number(this._testResult[p.He.timestamp])}},{key:"url",get:function(){return this._testResult[p.He.suiteUrl]}},{key:"duration",get:function(){return this._testResult[p.He.duration]}},{key:"attachments",get:function(){return l().has(this._parsedTestResult,"attachments")||(this._parsedTestResult.attachments=T(this._testResult[p.He.attachments])),this._parsedTestResult.attachments}}]),t}();function S(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(t){if("string"==typeof t)return R(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?R(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,s=function(){};return{s,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:s}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,o=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){o=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(o)throw i}}}}function R(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=Array(e);r<e;r++)n[r]=t[r];return n}function E(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function j(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?E(Object(r),!0).forEach((function(e){(0,n.Z)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):E(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function P(t){var e=x();return function(){var r,n=(0,u.Z)(t);if(e){var s=(0,u.Z)(this).constructor;r=Reflect.construct(n,arguments,s)}else r=n.apply(this,arguments);return(0,o.Z)(this,r)}}function x(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(x=function(){return!!t})()}var Z=function(t){(0,a.Z)(r,t);var e=P(r);function r(t){var n;return(0,s.Z)(this,r),(n=e.call(this,t))._stats=j(j({},{total:0,passed:0,failed:0,skipped:0,retries:0}),{},{perBrowser:{}}),n._skips=[],n._failedTestIds={},n._passedTestIds={},n._skippedTestIds={},n}return(0,i.Z)(r,[{key:"build",value:function(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=new Map,n={},s=S(e);try{for(s.s();!(t=s.n()).done;){var i=t.value,a=JSON.parse(i[p.He.suitePath]),o=i[p.He.name],u=this._buildId(a),c=this._buildId(u,o);r.set(c,r.has(c)?r.get(c)+1:0);var d=r.get(c),f=new k(i,d);B(n,f),this.addTestResult(f),this._calcStats(f,{testId:u,browserName:o})}}catch(t){s.e(t)}finally{s.f()}return this.sortTree(),{tree:this.tree,stats:this._stats,skips:this._skips,browsers:l().map(n,(function(t,e){return{id:e,versions:Array.from(t)}}))}}},{key:"_addResultIdToBrowser",value:function(t,e){this._tree.browsers.byId[t].resultIds.push(e)}},{key:"_calcStats",value:function(t,e){var r=e.testId,n=e.browserName,s=this._buildId(r,n),i=t.status,a=t.meta.browserVersion||p.eb.UNKNOWN;switch(this._stats.perBrowser[n]||(this._stats.perBrowser[n]={}),this._stats.perBrowser[n][a]||(this._stats.perBrowser[n][a]={total:0,passed:0,failed:0,skipped:0,retries:0}),i){case p.ih.FAIL:case p.ih.ERROR:return this._passedTestIds[s]?(delete this._passedTestIds[s],this._failedTestIds[s]=!0,this._stats.passed--,this._stats.failed++,this._stats.retries++,this._stats.perBrowser[n][a].passed--,this._stats.perBrowser[n][a].failed++,void this._stats.perBrowser[n][a].retries++):this._failedTestIds[s]?(this._stats.retries++,void this._stats.perBrowser[n][a].retries++):this._skippedTestIds[s]?(delete this._skippedTestIds[s],this._failedTestIds[s]=!0,this._stats.skipped--,this._stats.failed++,this._stats.retries++,this._stats.perBrowser[n][a].skipped--,this._stats.perBrowser[n][a].failed++,void this._stats.perBrowser[n][a].retries++):(this._failedTestIds[s]=!0,this._stats.failed++,this._stats.total++,this._stats.perBrowser[n][a].failed++,void this._stats.perBrowser[n][a].total++);case p.ih.SUCCESS:return this._passedTestIds[s]?(this._stats.retries++,void this._stats.perBrowser[n][a].retries++):this._failedTestIds[s]?(delete this._failedTestIds[s],this._passedTestIds[s]=!0,this._stats.failed--,this._stats.passed++,this._stats.retries++,this._stats.perBrowser[n][a].failed--,this._stats.perBrowser[n][a].passed++,void this._stats.perBrowser[n][a].retries++):this._skippedTestIds[s]?(delete this._skippedTestIds[s],this._passedTestIds[s]=!0,this._stats.skipped--,this._stats.passed++,this._stats.retries++,this._stats.perBrowser[n][a].skipped--,this._stats.perBrowser[n][a].passed++,void this._stats.perBrowser[n][a].retries++):(this._passedTestIds[s]=!0,this._stats.passed++,this._stats.total++,this._stats.perBrowser[n][a].passed++,void this._stats.perBrowser[n][a].total++);case p.ih.SKIPPED:if(this._failedTestIds[s])return delete this._failedTestIds[s],this._skippedTestIds[s]=!0,this._stats.failed--,this._stats.skipped++,this._stats.retries++,this._stats.perBrowser[n][a].failed--,this._stats.perBrowser[n][a].skipped++,this._stats.perBrowser[n][a].retries++,void this._skips.push({browser:n,suite:r,comment:t.skipReason});if(this._passedTestIds[s])return delete this._passedTestIds[s],this._skippedTestIds[s]=!0,this._stats.passed--,this._stats.skipped++,this._stats.retries++,this._stats.perBrowser[n][a].passed--,this._stats.perBrowser[n][a].skipped++,this._stats.perBrowser[n][a].retries++,void this._skips.push({browser:n,suite:r,comment:t.skipReason});if(this._skippedTestIds[s])return this._stats.retries++,void this._stats.perBrowser[n][a].retries++;this._skippedTestIds[s]=!0,this._skips.push({browser:n,suite:r,comment:t.skipReason}),this._stats.skipped++,this._stats.perBrowser[n][a].skipped++,this._stats.total++,this._stats.perBrowser[n][a].total++}}}]),r}(O);function B(t,e){var r=e.browserId;t[r]||(t[r]=new Set);var n=e.meta.browserVersion,s=void 0===n?p.eb.UNKNOWN:n;t[r].add(s)}},58672:()=>{}},i={};function a(t){var e=i[t];if(void 0!==e)return e.exports;var r=i[t]={id:t,loaded:!1,exports:{}};return s[t].call(r.exports,r,r.exports,a),r.loaded=!0,r.exports}a.m=s,t=[],a.O=(e,r,n,s)=>{if(!r){var i=1/0;for(l=0;l<t.length;l++){for(var[r,n,s]=t[l],o=!0,u=0;u<r.length;u++)(!1&s||i>=s)&&Object.keys(a.O).every((t=>a.O[t](r[u])))?r.splice(u--,1):(o=!1,s<i&&(i=s));if(o){t.splice(l--,1);var c=n();void 0!==c&&(e=c)}}return e}s=s||0;for(var l=t.length;l>0&&t[l-1][2]>s;l--)t[l]=t[l-1];t[l]=[r,n,s]},a.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return a.d(e,{a:e}),e},r=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__,a.t=function(t,n){if(1&n&&(t=this(t)),8&n)return t;if("object"==typeof t&&t){if(4&n&&t.__esModule)return t;if(16&n&&"function"==typeof t.then)return t}var s=Object.create(null);a.r(s);var i={};e=e||[null,r({}),r([]),r(r)];for(var o=2&n&&t;"object"==typeof o&&!~e.indexOf(o);o=r(o))Object.getOwnPropertyNames(o).forEach((e=>i[e]=()=>t[e]));return i.default=()=>t,a.d(s,i),s},a.d=(t,e)=>{for(var r in e)a.o(e,r)&&!a.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},a.f={},a.e=t=>Promise.all(Object.keys(a.f).reduce(((e,r)=>(a.f[r](t,e),e)),[])),a.u=t=>(938===t?"search-worker":t)+".min.js",a.miniCssF=t=>{},a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),a.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n={},a.l=(t,e,r,s)=>{if(n[t])n[t].push(e);else{var i,o;if(void 0!==r)for(var u=document.getElementsByTagName("script"),c=0;c<u.length;c++){var l=u[c];if(l.getAttribute("src")==t){i=l;break}}i||(o=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,a.nc&&i.setAttribute("nonce",a.nc),i.src=t),n[t]=[e];var d=(e,r)=>{i.onerror=i.onload=null,clearTimeout(p);var s=n[t];if(delete n[t],i.parentNode&&i.parentNode.removeChild(i),s&&s.forEach((t=>t(r))),e)return e(r)},p=setTimeout(d.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=d.bind(null,i.onerror),i.onload=d.bind(null,i.onload),o&&document.head.appendChild(i)}},a.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},a.nmd=t=>(t.paths=[],t.children||(t.children=[]),t),(()=>{var t;a.g.importScripts&&(t=a.g.location+"");var e=a.g.document;if(!t&&e&&(e.currentScript&&(t=e.currentScript.src),!t)){var r=e.getElementsByTagName("script");if(r.length)for(var n=r.length-1;n>-1&&!t;)t=r[n--].src}if(!t)throw new Error("Automatic publicPath is not supported in this browser");t=t.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),a.p=t})(),(()=>{a.b=document.baseURI||self.location.href;var t={779:0,134:0};a.f.j=(e,r)=>{var n=a.o(t,e)?t[e]:void 0;if(0!==n)if(n)r.push(n[2]);else{var s=new Promise(((r,s)=>n=t[e]=[r,s]));r.push(n[2]=s);var i=a.p+a.u(e),o=new Error;a.l(i,(r=>{if(a.o(t,e)&&(0!==(n=t[e])&&(t[e]=void 0),n)){var s=r&&("load"===r.type?"missing":r.type),i=r&&r.target&&r.target.src;o.message="Loading chunk "+e+" failed.\n("+s+": "+i+")",o.name="ChunkLoadError",o.type=s,o.request=i,n[1](o)}}),"chunk-"+e,e)}},a.O.j=e=>0===t[e];var e=(e,r)=>{var n,s,[i,o,u]=r,c=0;if(i.some((e=>0!==t[e]))){for(n in o)a.o(o,n)&&(a.m[n]=o[n]);if(u)var l=u(a)}for(e&&e(r);c<i.length;c++)s=i[c],a.o(t,s)&&t[s]&&t[s][0](),t[s]=0;return a.O(l)},r=self.webpackChunk=self.webpackChunk||[];r.forEach(e.bind(null,0)),r.push=e.bind(null,r.push.bind(r))})(),a.O(void 0,[533,741,212,635,406,389,285],(()=>a(18601))),a.O(void 0,[533,741,212,635,406,389,285],(()=>a(87240))),a.O(void 0,[533,741,212,635,406,389,285],(()=>a(57605)));var o=a.O(void 0,[533,741,212,635,406,389,285],(()=>a(58672)));o=a.O(o)})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{"use strict";var e,t,r,n,o={8047:(e,t,r)=>{r.d(t,{By:()=>v,fB:()=>h,pU:()=>b,vO:()=>y,xH:()=>S,xe:()=>T});var n=r(68079),o=r(56666),a=r(34795),u=r(82841),s=r.n(u),i=r(76635),c=r(69e3),p=r(9560),f=r(46126);function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach((function(t){(0,o.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function h(e,t){var r=function(){var e=(0,a.Z)(s().mark((function e(r){var n,o,a,u;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n={responseType:"arraybuffer"},"function"==typeof t&&(n.onDownloadProgress=function(e){t(r,e.loaded/e.total)}),e.next=4,(0,p.dc)(r,n);case 4:return o=e.sent,a=o.data,u=o.status,e.abrupt("return",{url:r,status:u,data:a});case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return(0,c.jI)(e,{loadDbJsonUrl:function(e){return(0,p.dc)(e)},prepareUrls:function(e,t){return(0,p.e1)(e,t)},formatData:function(e){return{url:e,status:arguments.length>1&&void 0!==arguments[1]?arguments[1]:"unknown",data:null}},loadDbUrl:r})}function v(e){return g.apply(this,arguments)}function g(){return(g=(0,a.Z)(s().mark((function e(t){var r,o,a,u,i,p;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,window.initSqlJs();case 2:if(r=e.sent,o=t.map((function(e){return new Uint8Array(e)})),0!==(a=o.map((function(e){return new r.Database(e)}))).length){e.next=9;break}return e.abrupt("return",null);case 9:if(1!==a.length){e.next=11;break}return e.abrupt("return",a[0]);case 11:return u=o.reduce((function(e,t){return e+t.length}),0),i=new r.Database(void 0,u),p=a.map((function(e){return e.filename})),(0,c.c2)({db:i,dbPaths:p,getExistingTables:function(e){for(var t=[];e.step();)t.push.apply(t,(0,n.Z)(e.get()));return t}}),a.forEach((function(e){return e.close()})),e.abrupt("return",i);case 17:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function y(e){return m.apply(this,arguments)}function m(){return(m=(0,a.Z)(s().mark((function e(t){var r,n,o,a;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=new URL(t),e.next=3,(0,p.dc)(r.href,{responseType:"arraybuffer"});case 3:return n=e.sent,o=n.data,e.next=7,window.initSqlJs();case 7:return a=e.sent,e.abrupt("return",new a.Database(new Uint8Array(o)));case 9:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function b(){return new URL(f.rW,window.location.href)}function S(e){var t=function(e,t){var r=e.exec((0,c.Vt)(t))[0];if(!r)return console.warn('Table "'.concat(t,'" is empty')),[];return r}(e,f.JL);if(!(0,i.isEmpty)(t))return t.values.sort(c.fd)}function T(e){e.close()}d(d({},c.default),{},{fetchDataFromDatabases:h,mergeDatabases:v,connectToDatabase:y,getMainDatabaseUrl:b,getSuitesTableRows:S,closeDatabase:T})},64141:(e,t,r)=>{r.r(t),r.d(t,{changeTestRetry:()=>$.iB,changeViewMode:()=>o.R4,closeModal:()=>p.M,closeSections:()=>$.DI,collapseAll:()=>$.kF,commitAcceptedImagesToTree:()=>I.GC,commitRevertedImagesToTree:()=>I.sP,createNotification:()=>f.sc,createNotificationError:()=>f.uX,deselectAll:()=>$.kR,dismissNotification:()=>f.N5,expandAll:()=>$.V1,expandErrors:()=>$.vf,expandRetries:()=>$.tp,finGuiReport:()=>i.Sc,finStaticReport:()=>i.$i,formatStaticAccepterProgress:()=>F.lT,groupTestsByKey:()=>u.I,openModal:()=>p.h,processBegin:()=>l.$,processEnd:()=>l.E,revealTreeNode:()=>G.o9,runAllTests:()=>O,runCustomGui:()=>n.u,runFailedTests:()=>k,runSuite:()=>C,runTest:()=>b,selectAll:()=>$.td,selectBrowsers:()=>o.QJ,set2UpFitMode:()=>J.Bt,setAllTreeNodesState:()=>G.Nu,setBackupSectionSizes:()=>G.Qh,setBrowserFeatures:()=>V.a,setCurrentGroupByExpression:()=>u.i,setCurrentHighlightStep:()=>G.Gm,setCurrentSortByExpression:()=>M.Q,setCurrentStep:()=>G.Bq,setCurrentTreeNode:()=>G._r,setDiffMode:()=>L.H,setGuiServerConnectionStatus:()=>s.o,setMatchCaseFilter:()=>o.cQ,setRefreshLoading:()=>o.lT,setRepeatCount:()=>S,setRepeatLeft:()=>T,setRunOptions:()=>w,setSearchLoading:()=>o.if,setSectionExpandedState:()=>G.$X,setSectionSizes:()=>G.gM,setSortByDirection:()=>M.u,setStepsExpandedState:()=>G.zE,setStrictMatchFilter:()=>G.tF,setTreeNodeExpandedState:()=>G.cI,setTreeViewMode:()=>G.KW,setUseRegexFilter:()=>o.Lf,setVisualChecksDiffMode:()=>J.MT,staticAccepterCloseConfirm:()=>F.dd,staticAccepterCommitScreenshot:()=>F.sv,staticAccepterDelayScreenshot:()=>F.A2,staticAccepterOpenConfirm:()=>F.x_,staticAccepterStageScreenshot:()=>F.FD,staticAccepterUndoDelayScreenshot:()=>F.cO,staticAccepterUnstageScreenshot:()=>F.vx,staticAccepterUpdateCommitMessage:()=>F.Lt,staticAccepterUpdateToolbarOffset:()=>F.mm,stopTests:()=>A,suiteBegin:()=>B,testBegin:()=>N,testResult:()=>U,testsEnd:()=>Z,thunkAcceptImages:()=>I.Ro,thunkFindSameDiffs:()=>a.C,thunkInitGuiReport:()=>i.dP,thunkInitStaticReport:()=>i.Kt,thunkRefreshGuiReport:()=>i.tc,thunkRevertImages:()=>I.Ku,thunkRunAllTests:()=>x,thunkRunCustomGuiAction:()=>n.M,thunkRunFailedTests:()=>R,thunkRunSuite:()=>j,thunkRunTest:()=>P,thunkRunTests:()=>E,thunkStopTests:()=>D,thunkTestsEnd:()=>_,toggle2UpDiffVisibility:()=>J.ZD,toggleBrowserCheckbox:()=>$.Z$,toggleBrowserSection:()=>$.nS,toggleGroupCheckbox:()=>$.IP,toggleLoading:()=>c.o,toggleStateResult:()=>$.qz,toggleSuiteCheckbox:()=>$.T9,toggleSuiteSection:()=>$.cd,toggleTestsGroup:()=>$.Cd,updateBaseHost:()=>L.B,updateBottomProgressBar:()=>$.LL,updateNameFilter:()=>o.QC,visualChecksPageSetCurrentNamedImage:()=>J.Ll});var n=r(70839),o=r(19272),a=r(60540),u=r(32481),s=r(48907),i=r(82931),c=r(33981),p=r(95834),f=r(48394),l=r(84787),d=r(34795),h=r(82841),v=r.n(h),g=r(87741),y=r(97566),m=r(8047),b=function(){return{type:y.Z.RETRY_TEST}},S=function(e){return{type:y.Z.SET_REPEAT_COUNT,payload:{repeatCount:e}}},T=function(e){return{type:y.Z.SET_REPEAT_LEFT,payload:{repeatLeft:e}}},w=function(e){return{type:y.Z.SET_RUN_OPTIONS,payload:{runOptions:e}}},E=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).tests,t=void 0===e?[]:e;return function(){var e=(0,d.Z)(v().mark((function e(r,n){var o,a;return v().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=n(),a=o.repeatCount,r(b()),e.prev=2,e.next=5,g.default.post("/run",{tests:t,repeatCount:a});case 5:e.next=10;break;case 7:e.prev=7,e.t0=e.catch(2),console.error("Error while running tests:",e.t0);case 10:case"end":return e.stop()}}),e,null,[[2,7]])})));return function(t,r){return e.apply(this,arguments)}}()},O=function(){return{type:y.Z.RUN_ALL_TESTS}},x=function(){return function(){var e=(0,d.Z)(v().mark((function e(t){return v().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t(O()),e.next=3,t(E());case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},k=function(){return{type:y.Z.RUN_FAILED_TESTS}},R=function(e){var t=e.tests;return function(){var e=(0,d.Z)(v().mark((function e(r){return v().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r(k()),e.next=3,r(E({tests:t}));case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},C=function(){return{type:y.Z.RETRY_SUITE}},j=function(e){var t=e.tests;return function(){var e=(0,d.Z)(v().mark((function e(r){return v().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r(C()),e.next=3,r(E({tests:t}));case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},P=function(e){var t=e.test;return function(){var e=(0,d.Z)(v().mark((function e(r){return v().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r(b()),e.next=3,r(E({tests:[t]}));case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},A=function(){return{type:y.Z.STOP_TESTS}},D=function(){return function(){var e=(0,d.Z)(v().mark((function e(t){return v().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,g.default.post("/stop");case 3:t(A()),e.next=9;break;case 6:e.prev=6,e.t0=e.catch(0),console.error("Error while stopping tests:",e.t0);case 9:case"end":return e.stop()}}),e,null,[[0,6]])})));return function(t){return e.apply(this,arguments)}}()},Z=function(e){return{type:y.Z.TESTS_END,payload:e}},_=function(){return function(){var e=(0,d.Z)(v().mark((function e(t){var r,n;return v().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,r=(0,m.pU)(),e.next=4,(0,m.vO)(r.href);case 4:n=e.sent,t(Z({db:n})),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(0),t((0,f.uX)("testsEnd",e.t0));case 11:case"end":return e.stop()}}),e,null,[[0,8]])})));return function(t){return e.apply(this,arguments)}}()},B=function(e){return{type:y.Z.SUITE_BEGIN,payload:e}},N=function(e){return{type:y.Z.TEST_BEGIN,payload:e}},U=function(e){return{type:y.Z.TEST_RESULT,payload:e}},I=r(54432),L=r(22253),M=r(58311),F=r(49012),G=r(40554),$=r(70807),J=r(84006),V=r(29909)},24203:(e,t,r)=>{var n=r(2784),o=r(17029),a=r(94397),u=r(82979),s=r(64141),i=document.getElementById("app");function c(){return(0,n.useEffect)((function(){return u.Z.dispatch((0,s.thunkInitStaticReport)({isNewUi:!0})),function(){u.Z.dispatch((0,s.finStaticReport)())}}),[]),n.createElement(a.g,null)}(0,o.s)(i).render(n.createElement(c,null))},1540:(e,t,r)=>{r.d(t,{T:()=>a});var n=r(2784),o=(0,n.createContext)(null),a=function(){return(0,n.useContext)(o)}},32444:(e,t,r)=>{r.d(t,{R:()=>u,r:()=>s});var n=r(34795),o=r(82841),a=r.n(o),u=function(e){return"error"in e},s=function(){var e=(0,n.Z)(a().mark((function e(t){return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",fetch("/update-time-travel-settings",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)}).then((function(e){return e.json()})));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()}},a={};function u(e){var t=a[e];if(void 0!==t)return t.exports;var r=a[e]={id:e,loaded:!1,exports:{}};return o[e].call(r.exports,r,r.exports,u),r.loaded=!0,r.exports}u.m=o,e=[],u.O=(t,r,n,o)=>{if(!r){var a=1/0;for(p=0;p<e.length;p++){for(var[r,n,o]=e[p],s=!0,i=0;i<r.length;i++)(!1&o||a>=o)&&Object.keys(u.O).every((e=>u.O[e](r[i])))?r.splice(i--,1):(s=!1,o<a&&(a=o));if(s){e.splice(p--,1);var c=n();void 0!==c&&(t=c)}}return t}o=o||0;for(var p=e.length;p>0&&e[p-1][2]>o;p--)e[p]=e[p-1];e[p]=[r,n,o]},u.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return u.d(t,{a:t}),t},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,u.t=function(e,n){if(1&n&&(e=this(e)),8&n)return e;if("object"==typeof e&&e){if(4&n&&e.__esModule)return e;if(16&n&&"function"==typeof e.then)return e}var o=Object.create(null);u.r(o);var a={};t=t||[null,r({}),r([]),r(r)];for(var s=2&n&&e;"object"==typeof s&&!~t.indexOf(s);s=r(s))Object.getOwnPropertyNames(s).forEach((t=>a[t]=()=>e[t]));return a.default=()=>e,u.d(o,a),o},u.d=(e,t)=>{for(var r in t)u.o(t,r)&&!u.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},u.f={},u.e=e=>Promise.all(Object.keys(u.f).reduce(((t,r)=>(u.f[r](e,t),t)),[])),u.u=e=>(938===e?"search-worker":e)+".min.js",u.miniCssF=e=>{},u.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),u.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n={},u.l=(e,t,r,o)=>{if(n[e])n[e].push(t);else{var a,s;if(void 0!==r)for(var i=document.getElementsByTagName("script"),c=0;c<i.length;c++){var p=i[c];if(p.getAttribute("src")==e){a=p;break}}a||(s=!0,(a=document.createElement("script")).charset="utf-8",a.timeout=120,u.nc&&a.setAttribute("nonce",u.nc),a.src=e),n[e]=[t];var f=(t,r)=>{a.onerror=a.onload=null,clearTimeout(l);var o=n[e];if(delete n[e],a.parentNode&&a.parentNode.removeChild(a),o&&o.forEach((e=>e(r))),t)return t(r)},l=setTimeout(f.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=f.bind(null,a.onerror),a.onload=f.bind(null,a.onload),s&&document.head.appendChild(a)}},u.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},u.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;u.g.importScripts&&(e=u.g.location+"");var t=u.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");if(r.length)for(var n=r.length-1;n>-1&&!e;)e=r[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),u.p=e})(),(()=>{u.b=document.baseURI||self.location.href;var e={647:0};u.f.j=(t,r)=>{var n=u.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else{var o=new Promise(((r,o)=>n=e[t]=[r,o]));r.push(n[2]=o);var a=u.p+u.u(t),s=new Error;u.l(a,(r=>{if(u.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var o=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src;s.message="Loading chunk "+t+" failed.\n("+o+": "+a+")",s.name="ChunkLoadError",s.type=o,s.request=a,n[1](s)}}),"chunk-"+t,t)}},u.O.j=t=>0===e[t];var t=(t,r)=>{var n,o,[a,s,i]=r,c=0;if(a.some((t=>0!==e[t]))){for(n in s)u.o(s,n)&&(u.m[n]=s[n]);if(i)var p=i(u)}for(t&&t(r);c<a.length;c++)o=a[c],u.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return u.O(p)},r=self.webpackChunk=self.webpackChunk||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})(),u.O(void 0,[164,741,796,899,406,343,134,830],(()=>u(24203))),u.O(void 0,[164,741,796,899,406,343,134,830],(()=>u(87240)));var s=u.O(void 0,[164,741,796,899,406,343,134,830],(()=>u(57605)));s=u.O(s)})();
|
|
1
|
+
(()=>{"use strict";var e,t,r,n,o={28909:(e,t,r)=>{r.r(t),r.d(t,{EditScreensFeature:()=>o,RunTestsFeature:()=>n,TimeTravelFeature:()=>a});var n={name:"run-tests"},o={name:"edit-screens"},a={name:"time-travel"}},8047:(e,t,r)=>{r.d(t,{By:()=>v,fB:()=>h,pU:()=>b,vO:()=>m,xH:()=>S,xe:()=>w});var n=r(68079),o=r(56666),a=r(34795),u=r(82841),s=r.n(u),i=r(76635),c=r(69e3),p=r(9560),f=r(46126);function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach((function(t){(0,o.Z)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function h(e,t){var r=function(){var e=(0,a.Z)(s().mark((function e(r){var n,o,a,u;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n={responseType:"arraybuffer"},"function"==typeof t&&(n.onDownloadProgress=function(e){t(r,e.loaded/e.total)}),e.next=4,(0,p.dc)(r,n);case 4:return o=e.sent,a=o.data,u=o.status,e.abrupt("return",{url:r,status:u,data:a});case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return(0,c.jI)(e,{loadDbJsonUrl:function(e){return(0,p.dc)(e)},prepareUrls:function(e,t){return(0,p.e1)(e,t)},formatData:function(e){return{url:e,status:arguments.length>1&&void 0!==arguments[1]?arguments[1]:"unknown",data:null}},loadDbUrl:r})}function v(e){return g.apply(this,arguments)}function g(){return(g=(0,a.Z)(s().mark((function e(t){var r,o,a,u,i,p;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,window.initSqlJs();case 2:if(r=e.sent,o=t.map((function(e){return new Uint8Array(e)})),0!==(a=o.map((function(e){return new r.Database(e)}))).length){e.next=9;break}return e.abrupt("return",null);case 9:if(1!==a.length){e.next=11;break}return e.abrupt("return",a[0]);case 11:return u=o.reduce((function(e,t){return e+t.length}),0),i=new r.Database(void 0,u),p=a.map((function(e){return e.filename})),(0,c.c2)({db:i,dbPaths:p,getExistingTables:function(e){for(var t=[];e.step();)t.push.apply(t,(0,n.Z)(e.get()));return t}}),a.forEach((function(e){return e.close()})),e.abrupt("return",i);case 17:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function m(e){return y.apply(this,arguments)}function y(){return(y=(0,a.Z)(s().mark((function e(t){var r,n,o,a;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=new URL(t),e.next=3,(0,p.dc)(r.href,{responseType:"arraybuffer"});case 3:return n=e.sent,o=n.data,e.next=7,window.initSqlJs();case 7:return a=e.sent,e.abrupt("return",new a.Database(new Uint8Array(o)));case 9:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function b(){return new URL(f.rW,window.location.href)}function S(e){var t=function(e,t){var r=e.exec((0,c.Vt)(t))[0];if(!r)return console.warn('Table "'.concat(t,'" is empty')),[];return r}(e,f.JL);if(!(0,i.isEmpty)(t))return t.values.sort(c.fd)}function w(e){e.close()}d(d({},c.default),{},{fetchDataFromDatabases:h,mergeDatabases:v,connectToDatabase:m,getMainDatabaseUrl:b,getSuitesTableRows:S,closeDatabase:w})},64141:(e,t,r)=>{r.r(t),r.d(t,{changeTestRetry:()=>q.iB,changeViewMode:()=>o.R4,closeModal:()=>p.M,closeSections:()=>q.DI,collapseAll:()=>q.kF,commitAcceptedImagesToTree:()=>N.GC,commitRevertedImagesToTree:()=>N.sP,createNotification:()=>f.sc,createNotificationError:()=>f.uX,deselectAll:()=>q.kR,dismissNotification:()=>f.N5,expandAll:()=>q.V1,expandErrors:()=>q.vf,expandRetries:()=>q.tp,finGuiReport:()=>i.Sc,finStaticReport:()=>i.$i,formatStaticAccepterProgress:()=>F.lT,groupTestsByKey:()=>u.I,initGuiReport:()=>i.pQ,openModal:()=>p.h,patchTestsTree:()=>i.M8,processBegin:()=>l.$,processEnd:()=>l.E,revealTreeNode:()=>G.o9,runAllTests:()=>x,runCustomGui:()=>n.u,runFailedTests:()=>O,runSuite:()=>C,runTest:()=>b,selectAll:()=>q.td,selectBrowsers:()=>o.QJ,set2UpFitMode:()=>$.Bt,setAllTreeNodesState:()=>G.Nu,setBackupSectionSizes:()=>G.Qh,setBrowserFeatures:()=>J.a,setCurrentGroupByExpression:()=>u.i,setCurrentHighlightStep:()=>G.Gm,setCurrentSortByExpression:()=>L.Q,setCurrentStep:()=>G.Bq,setCurrentTreeNode:()=>G._r,setDiffMode:()=>M.H,setGuiServerConnectionStatus:()=>s.o,setMatchCaseFilter:()=>o.cQ,setRefreshLoading:()=>o.lT,setRepeatCount:()=>S,setRepeatLeft:()=>w,setRunOptions:()=>T,setSearchLoading:()=>o.if,setSectionExpandedState:()=>G.$X,setSectionSizes:()=>G.gM,setSortByDirection:()=>L.u,setStepsExpandedState:()=>G.zE,setStrictMatchFilter:()=>G.tF,setTreeNodeExpandedState:()=>G.cI,setTreeViewMode:()=>G.KW,setUseRegexFilter:()=>o.Lf,setVisualChecksDiffMode:()=>$.MT,staticAccepterCloseConfirm:()=>F.dd,staticAccepterCommitScreenshot:()=>F.sv,staticAccepterDelayScreenshot:()=>F.A2,staticAccepterOpenConfirm:()=>F.x_,staticAccepterStageScreenshot:()=>F.FD,staticAccepterUndoDelayScreenshot:()=>F.cO,staticAccepterUnstageScreenshot:()=>F.vx,staticAccepterUpdateCommitMessage:()=>F.Lt,staticAccepterUpdateToolbarOffset:()=>F.mm,stopTests:()=>A,suiteBegin:()=>I,testBegin:()=>U,testResult:()=>B,testsEnd:()=>D,thunkAcceptImages:()=>N.Ro,thunkFindSameDiffs:()=>a.C,thunkInitGuiReport:()=>i.dP,thunkInitStaticReport:()=>i.Kt,thunkRefreshGuiReport:()=>i.tc,thunkRevertImages:()=>N.Ku,thunkRunAllTests:()=>k,thunkRunCustomGuiAction:()=>n.M,thunkRunFailedTests:()=>R,thunkRunSuite:()=>P,thunkRunTest:()=>j,thunkRunTests:()=>E,thunkStopTests:()=>Z,thunkTestsEnd:()=>_,toggle2UpDiffVisibility:()=>$.ZD,toggleBrowserCheckbox:()=>q.Z$,toggleBrowserSection:()=>q.nS,toggleGroupCheckbox:()=>q.IP,toggleLoading:()=>c.o,toggleStateResult:()=>q.qz,toggleSuiteCheckbox:()=>q.T9,toggleSuiteSection:()=>q.cd,toggleTestsGroup:()=>q.Cd,updateBaseHost:()=>M.B,updateBottomProgressBar:()=>q.LL,updateNameFilter:()=>o.QC,visualChecksPageSetCurrentNamedImage:()=>$.Ll});var n=r(70839),o=r(19272),a=r(60540),u=r(32481),s=r(48907),i=r(82931),c=r(33981),p=r(95834),f=r(48394),l=r(84787),d=r(34795),h=r(82841),v=r.n(h),g=r(87741),m=r(97566),y=r(8047),b=function(){return{type:m.Z.RETRY_TEST}},S=function(e){return{type:m.Z.SET_REPEAT_COUNT,payload:{repeatCount:e}}},w=function(e){return{type:m.Z.SET_REPEAT_LEFT,payload:{repeatLeft:e}}},T=function(e){return{type:m.Z.SET_RUN_OPTIONS,payload:{runOptions:e}}},E=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).tests,t=void 0===e?[]:e;return function(){var e=(0,d.Z)(v().mark((function e(r,n){var o,a;return v().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=n(),a=o.repeatCount,r(b()),e.prev=2,e.next=5,g.default.post("/run",{tests:t,repeatCount:a});case 5:e.next=10;break;case 7:e.prev=7,e.t0=e.catch(2),console.error("Error while running tests:",e.t0);case 10:case"end":return e.stop()}}),e,null,[[2,7]])})));return function(t,r){return e.apply(this,arguments)}}()},x=function(){return{type:m.Z.RUN_ALL_TESTS}},k=function(){return function(){var e=(0,d.Z)(v().mark((function e(t){return v().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t(x()),e.next=3,t(E());case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},O=function(){return{type:m.Z.RUN_FAILED_TESTS}},R=function(e){var t=e.tests;return function(){var e=(0,d.Z)(v().mark((function e(r){return v().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r(O()),e.next=3,r(E({tests:t}));case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},C=function(){return{type:m.Z.RETRY_SUITE}},P=function(e){var t=e.tests;return function(){var e=(0,d.Z)(v().mark((function e(r){return v().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r(C()),e.next=3,r(E({tests:t}));case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},j=function(e){var t=e.test;return function(){var e=(0,d.Z)(v().mark((function e(r){return v().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r(b()),e.next=3,r(E({tests:[t]}));case 3:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},A=function(){return{type:m.Z.STOP_TESTS}},Z=function(){return function(){var e=(0,d.Z)(v().mark((function e(t){return v().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,g.default.post("/stop");case 3:t(A()),e.next=9;break;case 6:e.prev=6,e.t0=e.catch(0),console.error("Error while stopping tests:",e.t0);case 9:case"end":return e.stop()}}),e,null,[[0,6]])})));return function(t){return e.apply(this,arguments)}}()},D=function(e){return{type:m.Z.TESTS_END,payload:e}},_=function(){return function(){var e=(0,d.Z)(v().mark((function e(t){var r,n;return v().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,r=(0,y.pU)(),e.next=4,(0,y.vO)(r.href);case 4:n=e.sent,t(D({db:n})),e.next=11;break;case 8:e.prev=8,e.t0=e.catch(0),t((0,f.uX)("testsEnd",e.t0));case 11:case"end":return e.stop()}}),e,null,[[0,8]])})));return function(t){return e.apply(this,arguments)}}()},I=function(e){return{type:m.Z.SUITE_BEGIN,payload:e}},U=function(e){return{type:m.Z.TEST_BEGIN,payload:e}},B=function(e){return{type:m.Z.TEST_RESULT,payload:e}},N=r(54432),M=r(22253),L=r(58311),F=r(49012),G=r(40554),q=r(70807),$=r(84006),J=r(29909)},98645:(e,t,r)=>{r.d(t,{ZL:()=>m,wB:()=>y,xU:()=>g,yC:()=>b});r(82841);var n,o=r(64141),a=r(61394),u=new Set([]),s=new Map([]),i=0,c=new Map,p=new Map,f=function(e){var t;return null===(t=n)||void 0===t?void 0:t.postMessage(e)},l=function(e){var t,r,n=e.data.requestId;"search-result"===e.data.type?(null===(t=c.get(n))||void 0===t||t(e.data.data),c.delete(n)):(null===(r=p.get(n))||void 0===r||r(),p.delete(n))},d=function(){n=void 0,c.forEach((function(e){return e([])})),c.clear(),p.forEach((function(e){return e()})),p.clear()},h=function(e){return new Promise((function(t){p.set(e.requestId,t),f(e)}))},v=function(e){var t,r=null===(t=e.attachments)||void 0===t?void 0:t.find((function(e){return e.type===a.s.Tags}));return r?r.list.map((function(e){return e.title})):[]},g=function(e){var t=e.results.allIds,o={};if(t.forEach((function(t){var r=e.results.byId[t];o[r.parentId]=v(r)})),"undefined"!=typeof Worker){var a=n;a&&(d(),a.terminate()),(n=new Worker(new URL(r.p+r.u(938),r.b))).onmessage=l,n.onerror=d;var u=++i;return h({type:"init",requestId:u,data:o})}return Promise.resolve()},m=function(e){return u.has(e)},y=function(e){return s.get(e)||-1},b=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=arguments.length>3?arguments[3]:void 0,p=arguments.length>4?arguments[4]:void 0;return p((0,o.setSearchLoading)(!0)),new Promise((function(o){if(r)o([]);else if(n){var a=++i;c.set(a,o),f({type:"search",requestId:a,data:{text:e,matchCase:t}})}else o([])})).then((function(r){u=new Set(r),s=new Map,r.forEach((function(e,t){s.set(e,r.length-t)})),p(a?(0,o.setMatchCaseFilter)({data:t}):(0,o.updateNameFilter)({data:e})),p((0,o.setSearchLoading)(!1))}))}},24203:(e,t,r)=>{var n=r(2784),o=r(17029),a=r(9215),u=r(82979),s=r(64141),i=document.getElementById("app");function c(){return(0,n.useEffect)((function(){return u.Z.dispatch((0,s.thunkInitStaticReport)({isNewUi:!0})),function(){u.Z.dispatch((0,s.finStaticReport)())}}),[]),n.createElement(a.g,null)}(0,o.s)(i).render(n.createElement(c,null))},1540:(e,t,r)=>{r.d(t,{T:()=>a});var n=r(2784),o=(0,n.createContext)(null),a=function(){return(0,n.useContext)(o)}},32444:(e,t,r)=>{r.d(t,{R:()=>u,r:()=>s});var n=r(34795),o=r(82841),a=r.n(o),u=function(e){return"error"in e},s=function(){var e=(0,n.Z)(a().mark((function e(t){return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",fetch("/update-time-travel-settings",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)}).then((function(e){return e.json()})));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()}},a={};function u(e){var t=a[e];if(void 0!==t)return t.exports;var r=a[e]={id:e,loaded:!1,exports:{}};return o[e].call(r.exports,r,r.exports,u),r.loaded=!0,r.exports}u.m=o,e=[],u.O=(t,r,n,o)=>{if(!r){var a=1/0;for(p=0;p<e.length;p++){for(var[r,n,o]=e[p],s=!0,i=0;i<r.length;i++)(!1&o||a>=o)&&Object.keys(u.O).every((e=>u.O[e](r[i])))?r.splice(i--,1):(s=!1,o<a&&(a=o));if(s){e.splice(p--,1);var c=n();void 0!==c&&(t=c)}}return t}o=o||0;for(var p=e.length;p>0&&e[p-1][2]>o;p--)e[p]=e[p-1];e[p]=[r,n,o]},u.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return u.d(t,{a:t}),t},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,u.t=function(e,n){if(1&n&&(e=this(e)),8&n)return e;if("object"==typeof e&&e){if(4&n&&e.__esModule)return e;if(16&n&&"function"==typeof e.then)return e}var o=Object.create(null);u.r(o);var a={};t=t||[null,r({}),r([]),r(r)];for(var s=2&n&&e;"object"==typeof s&&!~t.indexOf(s);s=r(s))Object.getOwnPropertyNames(s).forEach((t=>a[t]=()=>e[t]));return a.default=()=>e,u.d(o,a),o},u.d=(e,t)=>{for(var r in t)u.o(t,r)&&!u.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},u.f={},u.e=e=>Promise.all(Object.keys(u.f).reduce(((t,r)=>(u.f[r](e,t),t)),[])),u.u=e=>(938===e?"search-worker":e)+".min.js",u.miniCssF=e=>{},u.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),u.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n={},u.l=(e,t,r,o)=>{if(n[e])n[e].push(t);else{var a,s;if(void 0!==r)for(var i=document.getElementsByTagName("script"),c=0;c<i.length;c++){var p=i[c];if(p.getAttribute("src")==e){a=p;break}}a||(s=!0,(a=document.createElement("script")).charset="utf-8",a.timeout=120,u.nc&&a.setAttribute("nonce",u.nc),a.src=e),n[e]=[t];var f=(t,r)=>{a.onerror=a.onload=null,clearTimeout(l);var o=n[e];if(delete n[e],a.parentNode&&a.parentNode.removeChild(a),o&&o.forEach((e=>e(r))),t)return t(r)},l=setTimeout(f.bind(null,void 0,{type:"timeout",target:a}),12e4);a.onerror=f.bind(null,a.onerror),a.onload=f.bind(null,a.onload),s&&document.head.appendChild(a)}},u.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},u.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e;u.g.importScripts&&(e=u.g.location+"");var t=u.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");if(r.length)for(var n=r.length-1;n>-1&&!e;)e=r[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),u.p=e})(),(()=>{u.b=document.baseURI||self.location.href;var e={647:0};u.f.j=(t,r)=>{var n=u.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else{var o=new Promise(((r,o)=>n=e[t]=[r,o]));r.push(n[2]=o);var a=u.p+u.u(t),s=new Error;u.l(a,(r=>{if(u.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var o=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src;s.message="Loading chunk "+t+" failed.\n("+o+": "+a+")",s.name="ChunkLoadError",s.type=o,s.request=a,n[1](s)}}),"chunk-"+t,t)}},u.O.j=t=>0===e[t];var t=(t,r)=>{var n,o,[a,s,i]=r,c=0;if(a.some((t=>0!==e[t]))){for(n in s)u.o(s,n)&&(u.m[n]=s[n]);if(i)var p=i(u)}for(t&&t(r);c<a.length;c++)o=a[c],u.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return u.O(p)},r=self.webpackChunk=self.webpackChunk||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})(),u.O(void 0,[533,741,212,635,406,389,134,285],(()=>u(24203))),u.O(void 0,[533,741,212,635,406,389,134,285],(()=>u(87240)));var s=u.O(void 0,[533,741,212,635,406,389,134,285],(()=>u(57605)));s=u.O(s)})();
|