Openbravo Issue Tracking System - Retail Modules
View Issue Details
0044990Retail ModulesWeb POSpublic2020-09-04 12:502020-09-17 16:23
gorka_gil 
gorka_gil 
immediatemajoralways
closedfixed 
5
 
RR20Q3.1 
No
0044990: tests without any annotation are not executed in ci
After enable ci tests to use service workers hundreds of test has stop executing.

The problem was introduced in this commit:
https://gitlab.com/openbravo/projects/retail/mobile-test/-/commit/0525b1880 [^]

That enables the serviceWorker mode by default, which makes that any test that don't have any annotation to not be executed.
https://builds.openbravo.com/view/retail-qa/job/ret-qa-test-pgsql-suite1/buildTimeTrend [^]

here can be seen the suite 1 of the pack the August 10, to pass from 1:40 mins to 50 mins, and in the tests results can be seen that were executed 183 tests less than in previous execution.
No tags attached.
blocks defect 0044987 closed gorka_gil tests without any annotation are not executed in ci 
Issue History
2020-09-04 14:04gorka_gilTypedefect => backport
2020-09-04 14:04gorka_gilTarget Version => RR20Q3.1
2020-09-16 21:07hgbotNote Added: 0123119
2020-09-17 16:23hgbotResolutionopen => fixed
2020-09-17 16:23hgbotStatusscheduled => closed
2020-09-17 16:23hgbotNote Added: 0123166
2020-09-17 16:23hgbotNote Added: 0123167

Notes
(0123119)
hgbot   
2020-09-16 21:07   
Merge Request created: https://gitlab.com/openbravo/ci/mobile-test/-/merge_requests/44 [^]
(0123166)
hgbot   
2020-09-17 16:23   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/ci/mobile-test [^]
Changeset: 6826614e77b25839fa657d35b23ad4b2bcade261
Author: Gorka Gil <gorka.gil@openbravo.com>
Date: 2020-09-16T21:01:03+02:00
URL: https://gitlab.com/openbravo/ci/mobile-test/-/commit/6826614e77b25839fa657d35b23ad4b2bcade261 [^]

Fixes ISSUE-44990: Remove all service workers logic of ci

Service workers will be enbled by default in ci,
so is not longer needed all the logic of enable and disable it

---
M src-test/org/openbravo/test/mobile/core/junit/SequentialTestInfo.java
M src-test/org/openbravo/test/mobile/retail/mobilecore/annotations/SuiteAnnotations.java
M src-test/org/openbravo/test/mobile/retail/mobilecore/annotations/TestClassAnnotations.java
M src-test/org/openbravo/test/mobile/retail/mobilecore/javascript/MobileCoreAPI.java
M src-test/org/openbravo/test/mobile/retail/mobilecore/junit/OBWildcardPatternSuite.java
M src-test/org/openbravo/test/mobile/retail/mobilecore/selenium/terminals/MobileCoreTerminalHelper.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/AllOfflineTestsSW.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/C360CheckStatisticsOffline.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/ChangeBPOffline.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/CreateBPandBPLocation_saleOffline.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/CreateBPandBPLocation_saleOnline.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/CreateLayawayOffline.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/I32875_TransactionNotReconciled.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/I34503_JSErrorShownInCashManagementDetails.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/I34743_JSErrorShownInBPandBPLocationDetails.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/I37600_VerifyNewCustomerReceipt.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/I37709_VerifyCustomerOnReload.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/LoginOfflineAllowedFlows.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/LoginOfflineAllowedFlowsWait.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/LoginOfflineCashmanagement.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/LoginOfflineCashmanagementWait.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/LoginOfflineCashmanagementWaitNoForce.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/LoginOfflineCashup.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/LoginOfflineCashupWait.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/LoginOfflineCreateBP.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/LoginOfflineCreateBPWait.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/LoginOfflineSimplesale.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/LoginOfflineSimplesaleWait.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/LoginOfflineUserInformation.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/LoginOnlineAllowedFlows.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/LoginOnlineAllowedFlowsWait.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/LoginOnlineBusinessDay.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/LoginOnlineCashmanagement.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/LoginOnlineCashmanagementWait.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/LoginOnlineCashup.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/LoginOnlineCashupWait.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/LoginOnlineCreateBP.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/LoginOnlineCreateBPWait.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/LoginOnlineSimplesale.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/LoginOnlineSimplesaleWait.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/MultiPriceListOffline.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/VerifyCustomerSearchKeySequenceOffline.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/VerifyOfflineMode.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/VerifyOfflineModeII.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/VerifyOfflineModeNoForce.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/offline/WebPOSOfflineCustomTerminalHelper.java
R src-test/org/openbravo/test/mobile/retail/mobilecore/utils/ServiceWorkerUtils.java
---
(0123167)
hgbot   
2020-09-17 16:23   
Merge request merged: https://gitlab.com/openbravo/ci/mobile-test/-/merge_requests/44 [^]