UNPKG

create-siesta

Version:

A scaffolding utility to help you set up a **siesta** Test Suite with your Ext JS application.

74 lines (67 loc) 3.14 kB
<!-- /** * coon.js * create-siesta * Copyright (C) 2022 Thorsten Suckow-Homberg https://github.com/coon-js/create-siesta * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation * files (the "Software"), to deal in the Software without restriction, * including without limitation the rights to use, copy, modify, merge, * publish, distribute, sublicense, and/or sell copies of the Software, * and to permit persons to whom the Software is furnished to do so, * subject to the following conditions: * * The above copyright notice and this permission notice shall be included * in all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE * USE OR OTHER DEALINGS IN THE SOFTWARE. */ /** * index.html-file to be used for Siesta-Tests (ExtJS Browser) in coon.js-packages. * This file gets copied during "postinstall" into the "tests"-folder of the target * package. Paths used herein should be kept relative to this "tests" folder. */ --> <!DOCTYPE html> <html> <head> <title></title> <link rel="stylesheet" type="text/css" href="../node_modules/siesta-lite/resources/css/siesta-all.css"> <script type="text/javascript" src="../node_modules/siesta-lite/siesta-all.js"></script> <script type="module"> import testConfig from "./tests.config.js"; import groups from "./groups.config.js"; const extjsLinkConfigUrl = ".extjs-build.conf.json" Object.assign(window, {coonjs : { siestaTestConfigObj : testConfig, siestaGroupsConfigObj : groups, extjsLinkConfigUrl }}); </script> <script type="module" src="../node_modules/@coon-js/siesta-lib-helper/dist/BoilerPlate.esm.js"></script> </head> <body> <div style="color:#35baf6!important;height:24px;background:#303030;position:absolute;bottom:0;right:0;padding:2px;width:200px;z-index:90000"> <input style="height:10px;margin:2px 0 0 0" type="radio" name="toolkit" value="modern" id="cn_modern"><label for="vmodern">M</label></input> | <input style="height:10px;margin:2px 0 0 0" type="radio" name="toolkit" value="classic" id="cn_classic"><label for="vclassic">C</label></input> | <select id="cn_timeout" style="height:14px;width:60px;font-size:10px"> <option>250</option> <option>500</option> <option>750</option> <option>1000</option> <option>1250</option> <option>1500</option> <option>1750</option> <option>2000</option> </select> | <input style="width:40px;height:16px;font-size:10px" type="button" id="cn_configBtn" value="go"> </div> </body> </html>