Commit Graph

14 Commits

Author SHA1 Message Date
Carsten Grohmann
1abf455711 Use Webdriver Manager for browser compatibility
Version mismatch between browser and selenium driver breaks the tests.
The Webdriver manager automatically ensures the compatibility by
downloading the right driver for the installed browser.
2021-07-21 22:40:41 +02:00
Carsten Grohmann
ecf9ba11fd Add selenium based unit tests 2021-07-15 06:51:17 +02:00
Carsten Grohmann
98c99fa57f Update copyright years 2021-02-05 17:04:09 +01:00
Carsten Grohmann
1292d4f1e2 Pin build process to Python 3.7
After a package update, transcrypt produces incomplete JS:
__target__/OOMAnalyser.js (147:15)
145:       }
146:       if (cols_to_strip) {
147:         var line = ;
                        ^
148:       }
149:       if (line.startswith ('kernel:')) {

instead of
 146       if (cols_to_strip) {
 147         var line = __getitem__ ((function () {
 148           var __accu0__ = line;
 149           return __call__ (__accu0__.py_split, __accu0__, '     ', cols_to_strip);
 150         }) (), __neg__ (1));
 151       }
 152       if (line.startswith ('kernel:')) {

A temporary pinning of Transcrypt to Python 3.7 solves this issue.
2020-12-08 10:50:40 +01:00
Carsten Grohmann
5945fb2d37 Convert hard coded values to variables 2020-12-07 15:05:02 +01:00
Carsten Grohmann
967d231be5 Use transcrypt --sform to enable string formatting
The Python string formatting mini language isn't enabled by default.
"{}".format(42) works fine but "{0:x}.format(42)" returns "{0:x}"
instead of "2a" if the mini language isn't enabled.
2020-11-20 21:51:33 +01:00
Carsten Grohmann
4d31b9ad3d Use a better describing name for VIRTUAL_ENV
Rename variable from VIRTUAL_ENV to VIRTUAL_ENV_DIR.
2020-11-19 15:11:25 +01:00
Carsten Grohmann
d456f6e25e Bundling multiple JS files into one single file
Transcrypt 3.7 generates multiple JS files in __target__ directory. All
output files will be bundled into one single file with the rollup
module bundler (rollup.js). Unfortunately the information of the
original sourcemap file will be lost.
2020-10-29 14:32:42 +01:00
Carsten Grohmann
c6958c1ccf Update to Transcrypt 3.7 2020-10-29 14:14:37 +01:00
Carsten Grohmann
a8344d3656 Update copyright years 2020-01-02 20:58:01 +01:00
Carsten Grohmann
ea2e674998 Update copyright years 2019-02-07 20:52:37 +01:00
Carsten Grohmann
9e8181225c Update copyright years 2018-04-06 21:56:29 +02:00
Carsten Grohmann
b8ec3c720e Add a rule to start a web server for serving the current directory 2017-11-29 20:10:25 +01:00
Carsten Grohmann
18e8a3eb56 Initial commit 2017-11-25 12:52:55 +01:00