Openbravo Issue Tracking System - Retail Modules
View Issue Details
0044987Retail ModulesWeb POSpublic2020-09-04 12:502020-09-07 13:56
gorka_gil 
gorka_gil 
immediatemajoralways
closedfixed 
5
 
RR20Q4 
marvintm
No
0044987: 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.
depends on backport 0044990RR20Q3.1 closed gorka_gil tests without any annotation are not executed in ci 
depends on backport 0044991RR20Q2.2 closed gorka_gil tests without any annotation are not executed in ci 
related to defect 0044989 closed migueldejuana disable tests that fail after fix service workers problem 
Issue History
2020-09-04 12:50gorka_gilNew Issue
2020-09-04 12:50gorka_gilAssigned To => gorka_gil
2020-09-04 12:50gorka_gilTriggers an Emergency Pack => No
2020-09-04 14:01gorka_gilRelationship addedrelated to 0044989
2020-09-04 14:04gorka_gilStatusnew => scheduled
2020-09-06 22:06gorka_gilNote Added: 0122701
2020-09-06 22:11hgbotResolutionopen => fixed
2020-09-06 22:11hgbotStatusscheduled => resolved
2020-09-06 22:11hgbotNote Added: 0122702
2020-09-07 13:56marvintmReview Assigned To => marvintm
2020-09-07 13:56marvintmStatusresolved => closed
2020-09-07 13:56marvintmFixed in Version => RR20Q4

Notes
(0122701)
gorka_gil   
2020-09-06 22:06   
Execution with all the errors after enable the tests:

https://builds.openbravo.com/job/try-ret-init/1194/artifact/retail.html [^]
(0122702)
hgbot   
2020-09-06 22:11   
Repository: https://gitlab.com/openbravo/ci/mobile-test [^]
Changeset: 810a967c4ee12d88bdb74a8955e4e7c40a516c31
Author: Gorka Gil <gorka.gil@openbravo.com>
Date: 2020-09-04T13:00:43+02:00
URL: https://gitlab.com/openbravo/ci/mobile-test/-/commit/810a967c4ee12d88bdb74a8955e4e7c40a516c31 [^]

Fixes ISSUE-44987: 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
---