We have several nwjs suites sets. Recently we have upgraded nwjs to 2.6.15 to 3.0.1. The issue regards the sets with many test suites, the console.log file has 4.5MB. In nwjs v1 the output was as expected from the lead-in lines to the end. When we have upgraded to nwjs v2, the log was truncated so the first half of the log lines were missing, but we have used to it.
When we have upgraded to v3, the whole log is mangled. It seems to be whole but crlf is crippled.
But what the problem is that the exit code is 0 even when the suites failed.
If a test set with smaller suite count fails, the log is clean with correct crlf and the exit code is set correctly if such set fails.
This is a stopper for us since the false-positive run could would bring regressions into production with continuous delivery process.
Steps to reproduce
Go to '...'
Click on '...'
Scroll down to '...'
See error
Sample test
No response
Command to run
No response
Verbose Output
&1|21:41:57.961 [script-executor] Script written into '/go/pipelines/DEV-deploy-price-optimization/d73c86af-39c8-4b45-8dbb-e7b4847c768b.sh'.
&1|21:42:05.006 Running ch_win_bs: tests/BVT/DPO-ADOPTION/PG-1143.js
&1|21:42:05.007 Running ch_win_bs: tests/BVT/DPO-ADOPTION/PG-1145.1.js
&1|21:42:05.007 Running ch_win_bs: tests/BVT/DPO-ADOPTION/PG-1145.2.js
&1|21:42:05.011 Running ch_win_bs: tests/BVT/DPO-ADOPTION/PG-1171.1.js
&1|21:42:05.011 Running ch_win_bs: tests/BVT/DPO-ADOPTION/PG-1171.2.js
&1|21:42:05.012 Running ch_win_bs: tests/BVT/DPO-ADOPTION/PG-1232.1.js
&1|21:42:05.012 Running ch_win_bs: tests/BVT/DPO-ADOPTION/PG-1232.2.js
&1|21:42:05.012 Running ch_win_bs: tests/BVT/DPO-ADOPTION/PG-1235.1.js
&1|21:42:05.012 Running ch_win_bs: tests/BVT/DPO-ADOPTION/PG-1235.2.js
&1|21:42:05.013 Running ch_win_bs: tests/BVT/DPO-ADOPTION/PG-1235.3.js
&1|21:42:05.013 Running ch_win_bs: tests/BVT/DPO-ADOPTION/PG-1277.2.js
&1|21:42:05.013 Running ch_win_bs: tests/BVT/DPO-ADOPTION/PG-1277.3.js
&1|21:42:05.013 Running ch_win_bs: tests/BVT/DPO-ADOPTION/PG-1469.js
&1|21:42:05.013 Running ch_win_bs: tests/BVT/DPO-ADOPTION/PG-1607.js
&1|21:42:05.013 Running ch_win_bs: tests/BVT/DPO-ADOPTION/PG-1886.1a.js
&1|21:42:05.014 Running ch_win_bs: tests/BVT/DPO-ADOPTION/PG-1886.1b.js
&1|21:42:05.014 Running ch_win_bs: tests/BVT/DPO-ADOPTION/PG-1886.2a.js
&1|21:42:05.014 Running ch_win_bs: tests/BVT/DPO-ADOPTION/PG-1886.2b.js
&1|21:42:05.014 Running ch_win_bs: tests/BVT/DPO-ADOPTION/PG-1963.js
&1|21:42:05.014 Running ch_win_bs: tests/BVT/DPO-ADOPTION/PG-1985.1a.js
&1|21:42:05.014 Running ch_win_bs: tests/BVT/DPO-ADOPTION/PG-1985.1b.js
&1|21:42:05.014 Running ch_win_bs: tests/BVT/DPO-ADOPTION/PG-1985.1c.js
&1|21:42:05.014 Running ch_win_bs: tests/BVT/DPO-ADOPTION/PG-1985.2.js
&1|21:42:05.015 Running ch_win_bs: tests/BVT/DPO-ADOPTION/PG-1985.3.js
&1|21:42:05.015 Running ch_win_bs: tests/BVT/DPO-ADOPTION/PG-2032.js
&1|21:42:05.015 Running ch_win_bs: tests/BVT/DPO-ADOPTION/PG-2064.js
&1|21:42:05.015 Running ch_win_bs: tests/BVT/DPO-ADOPTION/PG-2421.js
&1|21:42:05.015 Running ch_win_bs: tests/BVT/DPO-ADOPTION/PG-2422.js
&1|21:42:05.015 Running ch_win_bs: tests/BVT/DPO-ADOPTION/PG-2432.js
&1|21:42:05.015 Running ch_win_bs: tests/BVT/DPO-ADOPTION/PG-3402.js
&1|21:42:05.015 Running ch_win_bs: tests/BVT/DPO-ADOPTION/PG-3487.js
&1|21:42:05.015 Running ch_win_bs: tests/BVT/DPO-ADOPTION/PG-3502.js
&1|21:42:05.015 Running ch_win_bs: tests/BVT/DPO-ADOPTION/PG-3514.js
&1|21:42:05.016 Running ch_win_bs: tests/BVT/DPO-ADOPTION/PG-3629.1.js
&1|21:42:05.016 Running ch_win_bs: tests/BVT/DPO-ADOPTION/PG-3629.2.js
&1|21:42:05.016 Running ch_win_bs: tests/BVT/DPO-ADOPTION/PG-3629.3.js
&1|21:42:05.016 Running ch_win_bs: tests/BVT/DPO-ADOPTION/PG-590.js
&1|21:42:05.016 Running ch_win_bs: tests/BVT/DPO-ADOPTION/PG-9369.js
&1|21:42:05.016 Running ch_win_bs: tests/BVT/OBSOLETE/PG-1246.js
&1|21:42:05.016 Running ch_win_bs: tests/BVT/OBSOLETE/PG-1249.2.js
&1|21:42:05.016 Running ch_win_bs: tests/BVT/OBSOLETE/PG-1277.5.js
&1|21:42:05.017 Running ch_win_bs: tests/BVT/OBSOLETE/PG-983.1.js
&1|21:42:05.017 Running ch_win_bs: tests/BVT/OBSOLETE/PG-983.2.js
&1|21:42:05.017 Running ch_win_bs: tests/BVT/OBSOLETE/PG-983.3.js
&1|21:42:05.017 Running ch_win_bs: tests/BVT/OBSOLETE/PG-983.5.js
&1|21:42:05.017 Running ch_win_bs: tests/BVT/OBSOLETE/PG-986.1.js
&1|21:42:05.017 Running ch_win_bs: tests/BVT/OBSOLETE/PG-986.2.js
&1|21:42:05.017 Running ch_win_bs: tests/BVT/OBSOLETE/PG-986.3.js
&1|21:42:05.017 Running ch_win_bs: tests/BVT/OBSOLETE/PG-986.4.js
&1|21:42:05.018 Running ch_win_bs: tests/BVT/OBSOLETE/PG-986.5.js
&1|21:42:05.018 Running ch_win_bs: tests/BVT/OBSOLETE/PG-995.js
&1|21:42:05.018 Running ch_win_bs: tests/BVT/UNCHANGED/PG-1112.js
&1|21:42:05.018 Running ch_win_bs: tests/BVT/UNCHANGED/PG-1241.js
&1|21:42:05.018 Running ch_win_bs: tests/BVT/UNCHANGED/PG-1249.1.js
&1|21:42:05.018 Running ch_win_bs: tests/BVT/UNCHANGED/PG-1585.1.js
&1|21:42:05.018 Running ch_win_bs: tests/BVT/UNCHANGED/PG-1585.2.js
&1|21:42:05.018 Running ch_win_bs: tests/BVT/UNCHANGED/PG-1589.js
&1|21:42:05.018 Running ch_win_bs: tests/BVT/UNCHANGED/PG-1606.js
&1|21:42:05.018 Running ch_win_bs: tests/BVT/UNCHANGED/PG-1717.js
&1|21:42:05.019 Running ch_win_bs: tests/BVT/UNCHANGED/PG-1887.1a.js
&1|21:42:05.019 Running ch_win_bs: tests/BVT/UNCHANGED/PG-1887.1b.js
&1|21:42:05.019 Running ch_win_bs: tests/BVT/UNCHANGED/PG-2232.js
&1|21:42:05.019 Running ch_win_bs: tests/BVT/UNCHANGED/PG-2270.js
&1|21:42:05.019 Running ch_win_bs: tests/BVT/UNCHANGED/PG-2418.js
&1|21:42:05.019 Running ch_win_bs: tests/BVT/UNCHANGED/PG-2447.js
&1|21:42:05.019 Running ch_win_bs: tests/BVT/UNCHANGED/PG-2465.js
&1|21:42:05.019 Running ch_win_bs: tests/BVT/UNCHANGED/PG-2589.js
&1|21:42:05.019 Running ch_win_bs: tests/BVT/UNCHANGED/PG-322.js
&1|21:42:05.019 Running ch_win_bs: tests/BVT/UNCHANGED/PG-325.js
&1|21:42:05.020 Running ch_win_bs: tests/BVT/UNCHANGED/PG-3352.js
&1|21:42:05.020 Running ch_win_bs: tests/BVT/UNCHANGED/PG-336.js
&1|21:42:05.020 Running ch_win_bs: tests/BVT/UNCHANGED/PG-359.js
&1|21:42:05.020 Running ch_win_bs: tests/BVT/UNCHANGED/PG-360.js
&1|21:42:05.020 Running ch_win_bs: tests/BVT/UNCHANGED/PG-365.js
&1|21:42:05.020 Running ch_win_bs: tests/BVT/UNCHANGED/PG-367.js
&1|21:42:05.020 Running ch_win_bs: tests/BVT/UNCHANGED/PG-368.js
&1|21:42:05.020 Running ch_win_bs: tests/BVT/UNCHANGED/PG-370.js
&1|21:42:05.020 Running ch_win_bs: tests/BVT/UNCHANGED/PG-371.js
&1|21:42:05.020 Running ch_win_bs: tests/BVT/UNCHANGED/PG-373.js
&1|21:42:05.021 Running ch_win_bs: tests/BVT/UNCHANGED/PG-375.js
&1|21:42:05.021 Running ch_win_bs: tests/BVT/UNCHANGED/PG-376.js
&1|21:42:05.021 Running ch_win_bs: tests/BVT/UNCHANGED/PG-377.js
&1|21:42:05.021 Running ch_win_bs: tests/BVT/UNCHANGED/PG-378.js
&1|21:42:05.021 Running ch_win_bs: tests/BVT/UNCHANGED/PG-380.js
&1|21:42:05.021 Running ch_win_bs: tests/BVT/UNCHANGED/PG-391.js
&1|21:42:05.021 Running ch_win_bs: tests/BVT/UNCHANGED/PG-392.js
&1|21:42:05.021 Running ch_win_bs: tests/BVT/UNCHANGED/PG-393.js
&1|21:42:05.021 Running ch_win_bs: tests/BVT/UNCHANGED/PG-589.js
&1|21:42:05.021 Running ch_win_bs: tests/BVT/UNCHANGED/PG-592.js
&1|21:42:05.021 Running ch_win_bs: tests/BVT/UNCHANGED/PG-596.js
&1|21:42:05.022 Running ch_win_bs: tests/BVT/UNCHANGED/PG-597.js
&1|21:42:05.022 Running ch_win_bs: tests/BVT/UNCHANGED/PG-598.js
&1|21:42:05.022 Running ch_win_bs: tests/BVT/UNCHANGED/PG-602.js
&1|21:42:05.022 Running ch_win_bs: tests/BVT/UNCHANGED/PG-605.js
&1|21:42:05.022 Running ch_win_bs: tests/BVT/UNCHANGED/PG-651.js
&1|21:42:05.022 Running ch_win_bs: tests/BVT/UNCHANGED/PG-6623.js
&1|21:42:05.022 Running ch_win_bs: tests/BVT/UNCHANGED/PG-7047.js
&1|21:42:05.022 Running ch_win_bs: tests/BVT/UNCHANGED/PG-8049.js
&1|21:42:05.022 Running ch_win_bs: tests/BVT/UNCHANGED/PG-8942.js
&1|21:42:05.022 Running ch_win_bs: tests/BVT/UNCHANGED/PG-9086.js
&1|21:42:05.023 Running ch_win_bs: tests/BVT/UNCHANGED/PG-9153.js
&1|21:42:05.023 Running ch_win_bs: tests/BVT/UNCHANGED/PG-9164.js
&1|21:42:05.023 Running ch_win_bs: tests/BVT/UNCHANGED/PG-9179.js
&1|21:42:05.023 Running ch_win_bs: tests/BVT/UNCHANGED/PG-971.js
&1|21:42:05.023 Running ch_win_bs: tests/BVT/UNCHANGED/PG-973.js
&1|21:44:19.667 ┌ ────────────────── ✔ ch_win_bs: tests/BVT/DPO-ADOPTION/PG-1232.1.js ───────┐│ ││ [BVT/ DPO ADOPTION/ PG 1232 1] Test Suite ││ ──────────────────────────────────────────────────────────────────────── ││ ─────── ││ Using: chrome (114.0.5735.91) on WINDOWS. ││ – Login ││ User mark logging in using fast ││ - Loading url: ││ https://e2e.dev.vendavocloud.com/empty-page-for-setting-the-cookie ││ ℹ Loaded url ││ https://e2e.dev.vendavocloud.com/empty-page-for-setting-the-cookie in ││ 848ms ││ - Loading url: https://e2e.dev.vendavocloud.com ││ ℹ Loaded url https://e2e.dev.vendavocloud.com in 1243ms ││ ✔ Dashboard navigation bar is visible... ││ ✔ Loading Dashboard finished... ││ ✔ Avatar is visible ││ ✔ Expected element <Section [name=navigationBar],Element [name=@avatar]> ││ text to equal: "MD" (189ms) ││ ✔ Passed [ok]: setE2EMode(true)... ││ ✔ ch_win_bs [BVT/ DPO ADOPTION/ PG 1232 1] Login (11.672s) ││ – Add new draft model ││ ✔ Located New model button. ││ ✔ Loading Dashboard finished... ││ ✔ No alerts creating new Model... ││ ✔ Loading Model finished... ││ ✔ Waiting for model status visible… ││ ✔ Waiting for model to be not locked... ││ ✔ Loading Model finished... ││ ✔ Segmentation tree view loaded... ││ Set model properties ││ ✔ Located Model more actions button. ││ ✔ Model actions menu is visible... ││ ✔ Located Menu item action: Model Properties. ││ ✔ Wait for Model Properties dialog visible... ││ Renaming model to: "e2e-b9f1a236-4c74-4a09-9aaf-1a7544246b27" ││ ✔ Looking for "Title" field to set to ││ "e2e-b9f1a236-4c74-4a09-9aaf-1a7544246b27"... ││ ✔ Located Model Properties Save button. ││ ✔ Model Properties panel closed... ││ ✔ Loading Model finished... ││ ✔ Located Save button... ││ ✔ Actual model is saved... ││ ✔ Located Build model button. ││ ✔ Waiting for dialog to open... ││ ✔ Dialog header equals: "Full Build" (162ms) ││ ✔ Located "Build" button. ││ ✔ Waiting for dialog to close... ││ ✔ Passed [ok]: Full build triggered toast panel... ││ ✔ Expected +0 to equal(+0): ││ ✔ Waiting for dialog to open... ││ ✔ Dialog header equals: "Segmentation build has been completed" (135ms) ││ ✔ Located "OK" button. ││ ✔ Waiting for dialog to close... ││ ✔ Waiting for tab panel is visible... ││ ✔ Passed [ok]: Selected tab is: "Segmentation" ││ ✔ segmentationTree or segmentationTable view loaded... ││ ✔ Segmentation tree view loaded... ││ ✔ Waiting for status to disappear... ││ ✔ ch_win_bs [BVT/ DPO ADOPTION/ PG 1232 1] Add new draft model (1m 19s / ││ 79511ms) ││ – Switch to Optimization ││ ✔ Located Optimization tab button. ││ ✔ Waiting for "Optimization" tab visible... ││ ✔ Optimization tab is active. (253ms) ││ ✔ segmentationTree or optimizationTable view loaded... ││ ✔ Segmentation tree view loaded... ││ ✔ ch_win_bs [BVT/ DPO ADOPTION/ PG 1232 1] Switch to Optimization ││ (2.804s) ││ – Save model and run guidance computation ││ ✔ Located Click Compute Pricing Guidance button. ││ ✔ Waiting for dialog to open... ││ ✔ Dialog header equals: "Compute Pricing Guidance" (157ms) ││ ✔ Located "Compute Pricing Guidance" button. ││ ✔ Waiting for dialog to close... ││ ✔ Passed [ok]: Triggered Pricing Guidance Computation toast panel... ││ ✔ Expected +0 to equal(+0): ││ ✔ Waiting for dialog to open... ││ ✔ Dialog header equals: "Price Guidance Computation has been completed" ││ (156ms) ││ ✔ Located "OK" button. ││ ✔ Waiting for dialog to close... ││ ✔ Waiting for tab panel is visible... ││ ✔ Passed [ok]: Selected tab is: "Optimization" ││ ✔ segmentationTree or segmentationTable view loaded... ││ ✔ Segmentation tree view loaded... ││ ✔ ch_win_bs [BVT/ DPO ADOPTION/ PG 1232 1] Save model and run guidance ││ computation (7.758s) ││ – Switch to tab Guidance ││ ✔ Located Guidance Records tab button. ││ ✔ Waiting for "Guidance Records" tab visible... ││ ✔ Guidance Records tab is active. (1782ms) ││ ✔ Price Guidance Records visible... ││ ✔ Price Guidance Records data loaded... ││ ✔ Price Guidance Records table is visible... ││ ✔ Located Aggregated tab. ││ ✔ Aggregated Values visible... ││ ✔ Aggregated Values table visible... ││ ✔ ch_win_bs [BVT/ DPO ADOPTION/ PG 1232 1] Switch to tab Guidance ││ (5.654s) ││ – Validate Aggregated By and view default values ││ ✔ Expected element <Section [name=aggregatedView],Element ││ [name=@aggregatedByButton]> text to equal: "Segment ID" (201ms) ││ ✔ Expected element <Section [name=aggregatedView],Element ││ [name=@viewButton]> text to equal: "All Segments" (276ms) ││ ✔ Passed [ok]: Aggregated View Table column: "Segment ID" returned 14 ││ results ││ ✔ ch_win_bs [BVT/ DPO ADOPTION/ PG 1232 1] Validate Aggregated By and ││ view default values (764ms) ││ – Validate items count for All Segments ││ ✔ Expected element <Section [name=aggregatedView],Element [name=@count]> ││ text to match: "/14 rows|14 out of \d+ rows/" (172ms) ││ ✔ ch_win_bs [BVT/ DPO ADOPTION/ PG 1232 1] Validate items count for All ││ Segments (175ms) ││ – Change view to Valid Segments ││ ✔ Located Opening View menu. ││ ✔ Waiting for drop-down menu to open... ││ ✔ Located dropdown menu item "Valid Segments". ││ ✔ Aggregated Values table visible... ││ ✔ Expected element <Section [name=aggregatedView],Element ││ [name=@viewButton]> text to equal: "Valid Segments" (160ms) ││ ✔ Passed [ok]: Aggregated View Table column: "Segment ID" returned 14 ││ results ││ ✔ Aggregated values Valid Segments View deeply matches members (1002ms) ││ ✔ ch_win_bs [BVT/ DPO ADOPTION/ PG 1232 1] Change view to Valid Segments ││ (3.025s) ││ – Validate items count for Valid Segments ││ ✔ Expected element <Section [name=aggregatedView],Element [name=@count]> ││ text to match: "/14 rows|14 out of \d+ rows/" (210ms) ││ ✔ ch_win_bs [BVT/ DPO ADOPTION/ PG 1232 1] Validate items count for ││ Valid Segments (213ms) ││ – Delete working model ││ ✔ Located Model more actions button. ││ ✔ Model actions menu is visible... ││ ✔ Located Menu item action: Delete. ││ ✔ Waiting for dialog to open... ││ ✔ Dialog header equals: "Delete" (166ms) ││ ✔ Located "Delete" button. ││ ✔ Waiting for dialog to close... ││ ✔ Passed [ok]: Delete model toast panel... ││ ✔ Expected +0 to equal(+0): ││ ✔ Dashboard navigation bar is visible... ││ ✔ Loading Dashboard finished... ││ ✔ ch_win_bs [BVT/ DPO ADOPTION/ PG 1232 1] Delete working model (11.48s) ││ See more info, video, & screenshots on Browserstack: ││ https://automate.browserstack.com/builds/be7595c1d39a7650d944332a64c47df ││ dce097080/sessions/0dc6256cad02130a4e0056dfff7e304599f18620 ││ │└──────────────────────────────────────────────────────────────────────────────┘
&1|21:44:48.237 ┌ ────────────────── ✔ ch_win_bs: tests/BVT/DPO-ADOPTION/PG-1145.2.js ───────┐│ ││ [BVT/ DPO ADOPTION/ PG 1145 2] Test Suite ││ ──────────────────────────────────────────────────────────────────────── ││ ─────── ││ Using: chrome (114.0.5735.91) on WINDOWS. ││ – Login ││ User mark logging in using fast ││ - Loading url: ││ https://e2e.dev.vendavocloud.com/empty-page-for-setting-the-cookie ││ ℹ Loaded url ││ https://e2e.dev.vendavocloud.com/empty-page-for-setting-the-cookie in ││ 202ms ││ - Loading url: https://e2e.dev.vendavocloud.com ││ ℹ Loaded url https://e2e.dev.vendavocloud.com in 1810ms ││ ✔ Dashboard navigation bar is visible... ││ ✔ Loading Dashboard finished... ││ ✔ Avatar is visible ││ ✔ Expected element <Section [name=navigationBar],Element [name=@avatar]> ││ text to equal: "MD" (234ms) ││ ✔ Passed [ok]: setE2EMode(true)... ││ ✔ ch_win_bs [BVT/ DPO ADOPTION/ PG 1145 2] Login (11.018s) ││ – Add new draft model ││ ✔ Located New model button. ││ ✔ Loading Dashboard finished... ││ ✔ No alerts creating new Model... ││ ✔ Loading Model finished... ││ ✔ Waiting for model status visible… ││ ✔ Waiting for model to be not locked... ││ ✔ Loading Model finished... ││ ✔ Segmentation tree view loaded... ││ Set model properties ││ ✔ Located Model more actions button. ││ ✔ Model actions menu is visible... ││ ✔ Located Menu item action: Model Properties. ││ ✔ Wait for Model Properties dialog visible... ││ Renaming model to: "e2e-6a13ae1b-9f7c-4c6b-a2ce-7afd78b39605" ││ ✔ Looking for "Title" field to set to ││ "e2e-6a13ae1b-9f7c-4c6b-a2ce-7afd78b39605"... ││ ✔ Located Model Properties Save button. ││ ✔ Model Properties panel closed... ││ ✔ Loading Model finished... ││ ✔ Located Save button... ││ ✔ Actual model is saved... ││ ✔ Located Build model button. ││ ✔ Waiting for dialog to open... ││ ✔ Dialog header equals: "Full Build" (168ms) ││ ✔ Located "Build" button. ││ ✔ Waiting for dialog to close... ││ ✔ Passed [ok]: Full build triggered toast panel... ││ ✔ Expected +0 to equal(+0): ││ ✔ Waiting for dialog to open... ││ ✔ Dialog header equals: "Segmentation build has been completed" (269ms) ││ ✔ Located "OK" button. ││ ✔ Waiting for dialog to close... ││ ✔ Waiting for tab panel is visible... ││ ✔ Passed [ok]: Selected tab is: "Segmentation" ││ ✔ segmentationTree or segmentationTable view loaded... ││ ✔ Segmentation tree view loaded... ││ ✔ Waiting for status to disappear... ││ ✔ ch_win_bs [BVT/ DPO ADOPTION/ PG 1145 2] Add new draft model (1m 20s / ││ 80043ms) ││ – Switch to Optimization ││ ✔ Located Optimization tab button. ││ ✔ Waiting for "Optimization" tab visible... ││ ✔ Optimization tab is active. (308ms) ││ ✔ segmentationTree or optimizationTable view loaded... ││ ✔ Segmentation tree view loaded... ││ ✔ ch_win_bs [BVT/ DPO ADOPTION/ PG 1145 2] Switch to Optimization ││ (2.935s) ││ – Save model and run guidance computation ││ ✔ Located Click Compute Pricing Guidance button. ││ ✔ Waiting for dialog to open... ││ ✔ Dialog header equals: "Compute Pricing Guidance" (171ms) ││ ✔ Located "Compute Pricing Guidance" button. ││ ✔ Waiting for dialog to close... ││ ✔ Passed [ok]: Triggered Pricing Guidance Computation toast panel... ││ ✔ Expected +0 to equal(+0): ││ ✔ Waiting for dialog to open... ││ ✔ Dialog header equals: "Price Guidance Computation has been completed" ││ (158ms) ││ ✔ Located "OK" button. ││ ✔ Waiting for dialog to close... ││ ✔ Waiting for tab panel is visible... ││ ✔ Passed [ok]: Selected tab is: "Optimization" ││ ✔ segmentationTree or segmentationTable view loaded... ││ ✔ Segmentation tree view loaded... ││ ✔ ch_win_bs [BVT/ DPO ADOPTION/ PG 1145 2] Save model and run guidance ││ computation (7.277s) ││ – Switch to tab Guidance ││ ✔ Located Guidance Records tab button. ││ ✔ Waiting for "Guidance Records" tab visible... ││ ✔ Guidance Records tab is active. (1259ms) ││ ✔ Price Guidance Records visible... ││ ✔ Price Guidance Records data loaded... ││ ✔ Price Guidance Records table is visible... ││ ✔ Located Aggregated tab. ││ ✔ Aggregated Values visible... ││ ✔ Aggregated Values table visible... ││ ✔ ch_win_bs [BVT/ DPO ADOPTION/ PG 1145 2] Switch to tab Guidance ││ (4.99s) ││ – Select view dimension Aggregate by = Plant and check table view ││ components / columns ││ ✔ Located Opening Aggregated By menu. ││ ✔ Waiting for drop-down menu to open... ││ ✔ Located dropdown menu item "Plant". ││ ✔ Aggregated Values table visible... ││ ✔ Expected element <Section [name=aggregatedView],Element ││ [name=@aggregatedByButton]> text to equal: "Plant" (160ms) ││ ✔ Price List View Table headers equals (1002ms) ││ ✔ ch_win_bs [BVT/ DPO ADOPTION/ PG 1145 2] Select view dimension ││ Aggregate by = Plant and check table view components / columns (4.45s) ││ – Read and store aggregated products ││ ✔ Passed [ok]: Aggregated View Table column: "Plant" returned 14 results ││ ✔ ch_win_bs [BVT/ DPO ADOPTION/ PG 1145 2] Read and store aggregated ││ products (217ms) ││ – Select / click on a product link e.g. CR-10 and check table view ││ components / columns ││ ✔ Table row with values: [Plant]="Wuhan" present... ││ ✔ Located Cell: Wuhan in column: Plant for Table row with values: ││ [Plant]="Wuhan".... ││ ✔ Price Guidance Records visible... ││ ✔ Price Guidance Records data loaded... ││ ✔ Price Guidance Records table is visible... ││ ✔ Price List View Table headers equals (1001ms) ││ ✔ Passed [equal]: Price Guidance Records filter data count ││ ✔ Price Guidance Records filters deeply matches (1001ms) ││ ✔ ch_win_bs [BVT/ DPO ADOPTION/ PG 1145 2] Select / click on a product ││ link e.g. CR-10 and check table view components / columns (6.424s) ││ – Check numeric values format: rounding to two decimals ││ ✔ Passed [ok]: Table column: "Floor Margin %" returned 38 results ││ ✔ All Floor Margin % column values matches: ││ "/^100\.00%$|^([0-9]|[1-9][0-9])\.[0-9]{2}%$/" matches (1002ms) ││ ✔ Passed [ok]: Table column: "Target Margin %" returned 38 results ││ ✔ All Target Margin % column values matches: ││ "/^100\.00%$|^([0-9]|[1-9][0-9])\.[0-9]{2}%$/" matches (1000ms) ││ ✔ Passed [ok]: Table column: "Stretch Margin %" returned 38 results ││ ✔ All Stretch Margin % column values matches: ││ "/^100\.00%$|^([0-9]|[1-9][0-9])\.[0-9]{2}%$/" matches (1002ms) ││ ✔ ch_win_bs [BVT/ DPO ADOPTION/ PG 1145 2] Check numeric values format: ││ rounding to two decimals (3.821s) ││ – Store table data ││ ✔ Passed [ok]: Price List View Table column: "Segment ID" returned 38 ││ results ││ ✔ Passed [ok]: Price List View Table column: "Product" returned 38 ││ results ││ ✔ Passed [ok]: Price List View Table column: "UOM ID" returned 38 ││ results ││ ✔ Passed [ok]: Price List View Table column: "Currency" returned 38 ││ results ││ ✔ ch_win_bs [BVT/ DPO ADOPTION/ PG 1145 2] Store table data (341ms) ││ – Select / click on a Segment ID link e.g. "1" and check table view ││ components / columns ││ ✔ Table row with values: [Segment ID]="15", [Product]="MR01-260", [UOM ││ ID]="Each", [Currency]="USD" present... ││ ✔ Located Cell: 15 in column: Segment ID for Table row with values: ││ [Segment ID]="15", [Product]="MR01-260", [UOM ID]="Each", ││ [Currency]="USD".... ││ ✔ Price Guidance Records visible... ││ ✔ Price Guidance Records data loaded... ││ ✔ Price Guidance Records table is visible... ││ ✔ Price List View Table headers equals (1001ms) ││ ✔ Passed [equal]: Price Guidance Records filter data count ││ ✔ Price Guidance Records filters deeply matches (1001ms) ││ ✔ ch_win_bs [BVT/ DPO ADOPTION/ PG 1145 2] Select / click on a Segment ││ ID link e.g. "1" and check table view components / columns (6.101s) ││ – By Clear "x". Return to aggregate view where Aggregate by:Product and ││ verify ││ ✔ Element <Section [name=priceListView],Element ││ [name=@__.//*[contains(concat(' ', normalize-space(@class), ' '), ' ││ TableControlsLayout_filter-item ') and .//*[contains(concat(' ', ││ normalize-space(@class), ' '), ' PricesFilterLayout_label ') and ││ .="Segment ID|"] and .//*[contains(concat(' ', normalize-space(@class), ││ ' '), ' PricesFilterLayout_pill ')]]//*[contains(concat(' ', ││ normalize-space(@class), ' '), ' Button_container ') and ││ .//*[contains(concat(' ', normalize-space(@class), ' '), ' cross ')]]]> ││ was visible after 211 milliseconds. ││ ✔ Price Guidance Records visible... ││ ✔ Price Guidance Records data loaded... ││ ✔ Price Guidance Records table is visible... ││ ✔ Passed [equal]: Price Guidance Records filter data count ││ ✔ Price Guidance Records filters deeply matches (1001ms) ││ ✔ ch_win_bs [BVT/ DPO ADOPTION/ PG 1145 2] By Clear "x". Return to ││ aggregate view where Aggregate by:Product and verify (3.326s) ││ – Return to aggregate view where Aggregate by:Product and verify ││ ✔ Located Price List view Clear all filters link. ││ ✔ Price Guidance Records visible... ││ ✔ Price Guidance Records data loaded... ││ ✔ Price Guidance Records table is visible... ││ ✔ Located Aggregated tab. ││ ✔ Aggregated Values visible... ││ ✔ Aggregated Values table visible... ││ ✔ Expected element <Section [name=aggregatedView],Element ││ [name=@aggregatedByButton]> text to equal: "Plant" (160ms) ││ ✔ Price List View Table headers equals (1002ms) ││ ✔ ch_win_bs [BVT/ DPO ADOPTION/ PG 1145 2] Return to aggregate view ││ where Aggregate by:Product and verify (4.727s) ││ – Delete working model ││ ✔ Located Model more actions button. ││ ✔ Model actions menu is visible... ││ ✔ Located Menu item action: Delete. ││ ✔ Waiting for dialog to open... ││ ✔ Dialog header equals: "Delete" (250ms) ││ ✔ Located "Delete" button. ││ ✔ Waiting for dialog to close... ││ ✔ Passed [ok]: Delete model toast panel... ││ ✔ Expected +0 to equal(+0): ││ ✔ Dashboard navigation bar is visible... ││ ✔ Loading Dashboard finished... ││ ✔ ch_win_bs [BVT/ DPO ADOPTION/ PG 1145 2] Delete working model ││ (15.026s) ││ See more info, video, & screenshots on Browserstack: ││ https://automate.browserstack.com/builds/be7595c1d39a7650d944332a64c47df ││ dce097080/sessions/0be3a316cd0d1a50a433d03532b3761201d3b473 ││ │└──────────────────────────────────────────────────────────────────────────────┘
&1|21:44:59.717 ┌ ────────────────── ✔ ch_win_bs: tests/BVT/DPO-ADOPTION/PG-1145.1.js ───────┐│ ││ [BVT/ DPO ADOPTION/ PG 1145 1] Test Suite ││ ──────────────────────────────────────────────────────────────────────── ││ ─────── ││ Using: chrome (114.0.5735.91) on WINDOWS. ││ – Login ││ User mark logging in using fast ││ - Loading url: ││ https://e2e.dev.vendavocloud.com/empty-page-for-setting-the-cookie ││ ℹ Loaded url ││ https://e2e.dev.vendavocloud.com/empty-page-for-setting-the-cookie in ││ 259ms ││ - Loading url: https://e2e.dev.vendavocloud.com ││ ℹ Loaded url https://e2e.dev.vendavocloud.com in 3782ms ││ ✔ Dashboard navigation bar is visible... ││ ✔ Loading Dashboard finished... ││ ✔ Avatar is visible ││ ✔ Expected element <Section [name=navigationBar],Element [name=@avatar]> ││ text to equal: "MD" (382ms) ││ ✔ Passed [ok]: setE2EMode(true)... ││ ✔ ch_win_bs [BVT/ DPO ADOPTION/ PG 1145 1] Login (13.804s) ││ – Add new draft model ││ ✔ Located New model button. ││ ✔ Loading Dashboard finished... ││ ✔ No alerts creating new Model... ││ ✔ Loading Model finished... ││ ✔ Waiting for model status visible… ││ ✔ Waiting for model to be not locked... ││ ✔ Loading Model finished... ││ ✔ Segmentation tree view loaded... ││ Set model properties ││ ✔ Located Model more actions button. ││ ✔ Model actions menu is visible... ││ ✔ Located Menu item action: Model Properties. ││ ✔ Wait for Model Properties dialog visible... ││ Renaming model to: "e2e-7927f7bc-f678-4b0a-986a-044f6fd54b66" ││ ✔ Looking for "Title" field to set to ││ "e2e-7927f7bc-f678-4b0a-986a-044f6fd54b66"... ││ ✔ Located Model Properties Save button. ││ ✔ Model Properties panel closed... ││ ✔ Loading Model finished... ││ ✔ Located Save button... ││ ✔ Actual model is saved... ││ ✔ Located Build model button. ││ ✔ Waiting for dialog to open... ││ ✔ Dialog header equals: "Full Build" (227ms) ││ ✔ Located "Build" button. ││ ✔ Waiting for dialog to close... ││ ✔ Passed [ok]: Full build triggered toast panel... ││ ✔ Expected +0 to equal(+0):
...
...
...
││ ✔ Tab Model Quality is visible... ││ ✔ Tab Model Quality is active. (170ms) ││ ✔ Segmentation Summary view visible... ││ ✔ Segmentation Summary view loaded... ││ ✔ Element <.ModelSummaryLayout_other .ModelQualityChart_container> was ││ visible after 161 milliseconds. ││ ✔ Passed [ok]: The screenshot for selector <.ModelSummaryLayout_other ││ .ModelQualityChart_container> was captured successfully. ││ ✔ Visual: Segmentation_summary-Model_quality_chart-shifted-3 (407ms) ││ ✔ Located Segment Distribution tab. ││ ✔ Tab Segment Distribution is visible... ││ ✔ Tab Segment Distribution is active. (180ms) ││ ✔ Segmentation Summary view visible... ││ ✔ Segmentation Summary view loaded... ││ ✔ Element <.ModelSummaryLayout_other .StandardDeviationChart_container:n ││ ot(.SummaryChartPlaceholderLayout_container)> was visible after 161 ││ milliseconds. ││ ✔ Passed [ok]: The screenshot for selector <.ModelSummaryLayout_other ││ .StandardDeviationChart_container:not(.SummaryChartPlaceholderLayout_con ││ tainer)> was captured successfully. ││ ✔ Visual: Segmentation_summary-StandardDeviation_chart-3 (425ms) ││ ✔ ch_win_bs [BVT/ UNCHANGED/ PG 8049] Verify Summary view VRT components ││ after precision changed (19.197s) ││ – Click on "Number of Small Segments" and verify view ││ ✔ Number of Small Segments KPI tooltip equals: "Click to view all small ││ segments." (104ms) ││ ✔ Located Number of Small Segments Summary link. ││ ✔ Loading Model finished... ││ ✔ Waiting for model status visible… ││ ✔ Waiting for model to be not locked... ││ ✔ Loading Model finished... ││ ✔ Segmentation table view is loaded... ││ ✔ Segmentation table is visible... ││ ✔ Looking for "View:" field to check its value... ││ ✔ Dropdown field equals: "Small segments". (291ms) ││ ✔ Passed [equal]: 4 rows visible ││ ✔ ch_win_bs [BVT/ UNCHANGED/ PG 8049] Click on "Number of Small ││ Segments" and verify view (2.725s) ││ – Select model Summary and Click on "Number of Empty Segments" empty ││ segments link and verify view ││ ✔ Located Summary tab. ││ ✔ Segmentation Summary view visible... ││ ✔ Segmentation Summary view loaded... ││ ✔ Number of Small Segments KPI tooltip equals: "Click to view all empty ││ segments." (117ms) ││ ✔ Located Number of Small Segments Summary link. ││ ✔ Loading Model finished... ││ ✔ Waiting for model status visible… ││ ✔ Waiting for model to be not locked... ││ ✔ Loading Model finished... ││ ✔ Segmentation table view is loaded... ││ ✔ Segmentation table is visible... ││ ✔ Looking for "View:" field to check its value... ││ ✔ Dropdown field equals: "Empty segments". (212ms) ││ ✔ Passed [equal]: 4 rows visible ││ ✔ ch_win_bs [BVT/ UNCHANGED/ PG 8049] Select model Summary and Click on ││ "Number of Empty Segments" empty segments link and verify view (3.752s) ││ – Select model Summary and Click on "Number of Exception Segments" and ││ verify view ││ ✔ Located Summary tab. ││ ✔ Segmentation Summary view visible... ││ ✔ Segmentation Summary view loaded... ││ ✔ Number of Exception Segments KPI tooltip equals: "Click to view all ││ exception segments." (116ms) ││ ✔ Located Number of Exception Segments Summary link. ││ ✔ Loading Model finished... ││ ✔ Waiting for model status visible… ││ ✔ Waiting for model to be not locked... ││ ✔ Loading Model finished... ││ ✔ Segmentation table view is loaded... ││ ✔ Segmentation table is visible... ││ ✔ Looking for "View:" field to check its value... ││ ✔ Dropdown field equals: "Exception segments". (229ms) ││ ✔ Passed [equal]: 1 rows visible ││ ✔ ch_win_bs [BVT/ UNCHANGED/ PG 8049] Select model Summary and Click on ││ "Number of Exception Segments" and verify view (4.39s) ││ – Select model Summary and Click on "Number of Segments" and verify view ││ ✔ Located Summary tab. ││ ✔ Segmentation Summary view visible... ││ ✔ Segmentation Summary view loaded... ││ ✔ Number of Segments KPI tooltip equals: "Click to view all the ││ segments." (134ms) ││ ✔ Located Number of Segments Summary link. ││ ✔ Loading Model finished... ││ ✔ Waiting for model status visible… ││ ✔ Waiting for model to be not locked... ││ ✔ Loading Model finished... ││ ✔ Segmentation table view is loaded... ││ ✔ Segmentation table is visible... ││ ✔ Looking for "View:" field to check its value... ││ ✔ Dropdown field equals: "Segments". (202ms) ││ ✔ Passed [equal]: 14 rows visible ││ ✔ ch_win_bs [BVT/ UNCHANGED/ PG 8049] Select model Summary and Click on ││ "Number of Segments" and verify view (4.093s) ││ – Select model Summary and Click on "Number of Segments" all segments ││ link and verify view ││ ✔ Located Summary tab. ││ ✔ Segmentation Summary view visible... ││ ✔ Segmentation Summary view loaded... ││ ✔ Located Number of Segments Summary link. ││ ✔ Loading Model finished... ││ ✔ Waiting for model status visible… ││ ✔ Waiting for model to be not locked... ││ ✔ Loading Model finished... ││ ✔ Segmentation table view is loaded... ││ ✔ Segmentation table is visible... ││ ✔ Looking for "View:" field to check its value... ││ ✔ Dropdown field equals: "All nodes". (258ms) ││ ✔ Passed [equal]: 20 rows visible ││ ✔ ch_win_bs [BVT/ UNCHANGED/ PG 8049] Select model Summary and Click on ││ "Number of Segments" all segments link and verify view (3.747s) ││ – Click on Number of High Std. Dev. Segments value and verify table view ││ ✔ Located Summary tab. ││ ✔ Segmentation Summary view visible... ││ ✔ Segmentation Summary view loaded... ││ ✔ Number of High Std. Dev. Segments KPI tooltip equals: "Click to view ││ segments with high standard deviation." (129ms) ││ ✔ Located Number of High Std. Dev. Segments Summary link. ││ ✔ Loading Model finished... ││ ✔ Waiting for model status visible… ││ ✔ Waiting for model to be not locked... ││ ✔ Loading Model finished... ││ ✔ Segmentation table view is loaded... ││ ✔ Segmentation table is visible... ││ ✔ Passed [equal]: 1 rows visible ││ ✔ ch_win_bs [BVT/ UNCHANGED/ PG 8049] Click on Number of High Std. Dev. ││ Segments value and verify table view (3.416s) ││ – Click on Number of High Prod. Var. Segments value and verify table ││ view ││ ✔ Located Summary tab. ││ ✔ Segmentation Summary view visible... ││ ✔ Segmentation Summary view loaded... ││ ✔ Number of High Prod. Var. Segments KPI tooltip equals: "Click to view ││ segments with high product variation." (197ms) ││ ✔ Located Number of High Prod. Var. Segments Summary link. ││ ✔ Loading Model finished... ││ ✔ Waiting for model status visible… ││ ✔ Waiting for model to be not locked... ││ ✔ Loading Model finished... ││ ✔ Segmentation table view is loaded... ││ ✔ Segmentation table is visible... ││ ✔ Passed [equal]: 1 rows visible ││ ✔ ch_win_bs [BVT/ UNCHANGED/ PG 8049] Click on Number of High Prod. Var. ││ Segments value and verify table view (3.492s) ││ – Delete working model ││ ✔ Located Model more actions button. ││ ✔ Model actions menu is visible... ││ ✔ Located Menu item action: Delete. ││ ✔ Waiting for dialog to open... ││ ✔ Dialog header equals: "Delete" (169ms) ││ ✔ Located "Delete" button. ││ ✔ Waiting for dialog to close... ││ ✔ Passed [ok]: Delete model toast panel... ││ ✔ Expected +0 to equal(+0): ││ ✔ Dashboard navigation bar is visible... ││ ✔ Loading Dashboard finished... ││ ✔ ch_win_bs [BVT/ UNCHANGED/ PG 8049] Delete working model (7.588s) ││ See more info, video, & screenshots on Browserstack: ││ https://automate.browserstack.com/builds/be7595c1d39a7650d944332a64c47df ││ dce097080/sessions/8e068c163e7a7622a4d1c835ff3b97aae71b0722 ││ │└──────────────────────────────────────────────────────────────────────────────┘
&1|22:39:01.729
&1|22:39:01.729 ───────────────────────────────────────────────────────────────────────────────────────────────────
&1|22:39:01.729
&1|22:39:01.729 ️TEST FAILURE (57m 1s):
&1|22:39:01.729 - 1 assertions failed; 31098 passed
&1|22:39:01.729 - 8 skipped
&1|22:39:01.729
&1|22:39:01.729 ✖ 1) BVT/DPO-ADOPTION/PG-2032
&1|22:39:01.729
&1|22:39:01.729 – Open the published model (34.194s)
&1|22:39:01.729
&1|22:39:01.729 → ✖ NightwatchAssertError
&1|22:39:01.729 Located Open model: "e2e-3e297fcf-9681-4328-9c79-435255a2d41a" link. - expected "visible" but got: "not found" (30914ms)
&1|22:39:01.729
&1|22:39:01.729 Error location:
&1|22:39:01.729 /godata/pipelines/DEV-deploy-price-optimization/price-optimization-frontend/e2e/tests/BVT/DPO-ADOPTION/PG-2032.js:
&1|22:39:01.729 –––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
&1|22:39:01.729 85 |
&1|22:39:01.729 86 | 'Open the published model'() {
&1|22:39:01.729 87 | this.list.openPublishedModel(modelTemplate.name);
&1|22:39:01.729 88 | },
&1|22:39:01.729 89 |
&1|22:39:01.729 –––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––––
&1|22:39:01.729
&1|22:39:01.729 SKIPPED (at runtime):
&1|22:39:01.729 - Verify Business Rule
&1|22:39:01.729 - Open Model Settings
&1|22:39:01.729 - Verify General section options are read only
&1|22:39:01.729 - Verify Filters section options are read only
&1|22:39:01.729 - Verify Segmentation section options are read only
&1|22:39:01.729 - Verify Guidance section options are read only
&1|22:39:01.729 - Verify Format section options are read only
&1|22:39:01.729 - Verify Currencies section options are read only
&1|22:39:01.729
&1|22:39:03.606 IGNORING: /godata/pipelines/DEV-deploy-price-optimization/price-optimization-frontend/output/BVT/DPO-ADOPTION/PG-2032/Open-the-published-model_FAILED_Jul-19-2023-215642-GMT+0200.png
&1|22:39:03.606 IGNORING: /godata/pipelines/DEV-deploy-price-optimization/price-optimization-frontend/output/BVT/DPO-ADOPTION/PG-2032/Open-the-published-model_FAILED_Jul-19-2023-220223-GMT+0200.png
&1|22:39:03.606 IGNORING: /godata/pipelines/DEV-deploy-price-optimization/price-optimization-frontend/output/BVT/DPO-ADOPTION/PG-2032/Open-the-published-model_FAILED_Jul-19-2023-220547-GMT+0200.png
&1|22:39:03.922 Written to: /godata/pipelines/DEV-deploy-price-optimization/price-optimization-frontend/report/index.html
?0|22:39:03.937 [go] Task status: passed (3425979 ms)
j0|22:39:03.972 [go] Current job status: passed
Description of the bug/issue
We have several nwjs suites sets. Recently we have upgraded nwjs to 2.6.15 to 3.0.1. The issue regards the sets with many test suites, the console.log file has 4.5MB. In nwjs v1 the output was as expected from the lead-in lines to the end. When we have upgraded to nwjs v2, the log was truncated so the first half of the log lines were missing, but we have used to it. When we have upgraded to v3, the whole log is mangled. It seems to be whole but crlf is crippled. But what the problem is that the exit code is 0 even when the suites failed. If a test set with smaller suite count fails, the log is clean with correct crlf and the exit code is set correctly if such set fails. This is a stopper for us since the false-positive run could would bring regressions into production with continuous delivery process.
Steps to reproduce
Sample test
No response
Command to run
No response
Verbose Output
Nightwatch Configuration
No response
Nightwatch.js Version
3.0.1
Node Version
No response
Browser
No response
Operating System
No response
Additional Information
No response