@zohodesk/testinglibrary 0.1.1-exp.2 → 0.1.2
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.
|
@@ -73,6 +73,14 @@ function runPlaywright(command, args) {
|
|
|
73
73
|
resolve();
|
|
74
74
|
}
|
|
75
75
|
});
|
|
76
|
+
process.on('exit', () => {
|
|
77
|
+
//childProcessForRunningPlaywright.kill();
|
|
78
|
+
reject('Terminating Playwright Process...');
|
|
79
|
+
});
|
|
80
|
+
process.on('SIGINT', () => {
|
|
81
|
+
//childProcessForRunningPlaywright.kill();
|
|
82
|
+
reject('Cleaning up...');
|
|
83
|
+
});
|
|
76
84
|
});
|
|
77
85
|
}
|
|
78
86
|
function main() {
|
|
@@ -97,7 +105,7 @@ function main() {
|
|
|
97
105
|
}
|
|
98
106
|
Promise.all(promises).then(() => runPlaywright(command, args)).catch(err => {
|
|
99
107
|
_logger.Logger.log(_logger.Logger.FAILURE_TYPE, err);
|
|
100
|
-
process.exit(
|
|
108
|
+
process.exit();
|
|
101
109
|
});
|
|
102
110
|
}
|
|
103
111
|
var _default = main;
|
|
@@ -2,14 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
## Framework that abstracts the configuration for playwright and Jest
|
|
4
4
|
|
|
5
|
-
# 0.1.
|
|
5
|
+
# 0.1.2
|
|
6
6
|
|
|
7
|
-
-
|
|
8
|
-
|
|
9
|
-
# 0.1.1-exp.1
|
|
10
|
-
|
|
11
|
-
- Bdd version updated to 5.4.0
|
|
12
|
-
- Playwright version updated to 1.38.0
|
|
7
|
+
- Bdd version updated to `5.4.0`
|
|
8
|
+
- Playwright version updated to `1.39.0`
|
|
13
9
|
|
|
14
10
|
# 0.1.1
|
|
15
11
|
|