@24i/smartapps-bigscreen-rnv-build-engine 0.17.16 → 0.17.17
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.
|
@@ -31,17 +31,21 @@ const smokeTest = async () => {
|
|
|
31
31
|
const command = process.argv[2];
|
|
32
32
|
const tokenId = process.env.SUITEST_TOKEN_ID ?? '';
|
|
33
33
|
const tokenPassword = process.env.SUITEST_TOKEN_PASSWORD ?? '';
|
|
34
|
+
const suitestUserName = process.env.SUITEST_USERNAME ?? '';
|
|
35
|
+
const suitestUserPassword = process.env.SUITEST_PASSWORD ?? '';
|
|
34
36
|
const logDir = './testbed_log/';
|
|
35
37
|
let cmd = command ?? [
|
|
36
38
|
`npx testbed run`,
|
|
37
39
|
tokenId ? `-k ${tokenId}` : '',
|
|
38
40
|
tokenPassword ? `-p ${tokenPassword}` : '',
|
|
39
|
-
`-
|
|
41
|
+
suitestUserName ? `-u ${suitestUserName}` : '',
|
|
42
|
+
suitestUserPassword ? `-up ${suitestUserPassword}` : '',
|
|
43
|
+
`-C .suitestrc_tizen`,
|
|
40
44
|
`--log-dir ${logDir}`,
|
|
41
45
|
`--log-level "normal"`,
|
|
42
46
|
`-- mocha "./test/platforms/common/smoke.test-suite.ts"`,
|
|
43
47
|
].filter(Boolean).join(' ');
|
|
44
|
-
const c = (0, resolvers_1.getBaseConfig)({ platform: constants_1.Platforms.
|
|
48
|
+
const c = (0, resolvers_1.getBaseConfig)({ platform: constants_1.Platforms.TIZEN });
|
|
45
49
|
const { status, suitestConfigId } = await (0, smokeTestUtils_1.execTestbedCmd)(cmd);
|
|
46
50
|
if (status) {
|
|
47
51
|
(0, smokeTestUtils_1.sendSuccessToSlack)(c, suitestConfigId);
|
|
@@ -168,6 +168,7 @@ function generateConfig(config) {
|
|
|
168
168
|
environment: config.environment,
|
|
169
169
|
baseUrl,
|
|
170
170
|
},
|
|
171
|
+
hash: true,
|
|
171
172
|
xhtml: PLATFORM === smartapps_bigscreen_rnv_build_engine_1.Constants.Platforms.HBBTV,
|
|
172
173
|
}),
|
|
173
174
|
harddisk: new html_webpack_harddisk_plugin_1.default(),
|