Following https://github.com/jhipster/generator-jhipster/pull/10815#issuecomment-557078485
I added a build for React + sqlfull and it failed with a lot of errors.
See https://dev.azure.com/hipster-labs/jhipster-daily-builds/_build?definitionId=14&_a=summary
See the logs: https://dev.azure.com/hipster-labs/d0d09378-1d06-4331-bf00-77343acfbb13/_apis/build/builds/7744/logs/143
Here an extract:
122 passing (11m)
44 failing
1) EntityWithServiceImplPaginationAndDTO e2e test
should load EntityWithServiceImplPaginationAndDTOS:
WebDriverError: element click intercepted: Element is not clickable at point (746, 1070)
(Session info: headless chrome=78.0.3904.108)
(Driver info: chromedriver=78.0.3904.70 (edb9c9f3de0247fd912a77b7f6cae7447f6d3ad5-refs/branch-heads/3904@{#800}),platform=Linux 5.0.0-1023-azure x86_64)
at Object.checkLegacyResponse (node_modules/selenium-webdriver/lib/error.js:546:15)
at parseHttpResponse (node_modules/selenium-webdriver/lib/http.js:509:13)
at /home/vsts/app/node_modules/selenium-webdriver/lib/http.js:441:30
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:93:5)Error
at ElementArrayFinder.applyAction_ (node_modules/protractor/built/element.js:459:27)
at ElementArrayFinder.<computed> [as click] (node_modules/protractor/built/element.js:91:29)
at ElementFinder.<computed> [as click] (node_modules/protractor/built/element.js:831:22)
at NavBarPage.<anonymous> (src/test/javascript/e2e/page-objects/navbar-page.ts:84:76)
at Generator.next (<anonymous>)
at /home/vsts/app/node_modules/tslib/tslib.js:107:75
at new Promise (<anonymous>)
at Object.__awaiter (node_modules/tslib/tslib.js:103:16)
at NavBarPage.clickOnEntity (src/test/javascript/e2e/page-objects/navbar-page.ts:83:24)
at NavBarPage.<anonymous> (src/test/javascript/e2e/page-objects/navbar-page.ts:49:24)
2) EntityWithServiceImplPaginationAndDTO e2e test
should load create EntityWithServiceImplPaginationAndDTO page:
TypeError: Cannot read property 'clickOnCreateButton' of undefined
at Object.<anonymous> (src/test/javascript/e2e/entities/entity-with-service-impl-pagination-and-dto/entity-with-service-impl-pagination-and-dto.spec.ts:35:67)
at Generator.next (<anonymous>)
at /home/vsts/app/node_modules/tslib/tslib.js:107:75
at new Promise (<anonymous>)
at Object.__awaiter (node_modules/tslib/tslib.js:103:16)
at Context.<anonymous> (src/test/javascript/e2e/entities/entity-with-service-impl-pagination-and-dto/entity-with-service-impl-pagination-and-dto.spec.ts:34:87)
at runTest (node_modules/selenium-webdriver/testing/index.js:163:22)
at new Promise (<anonymous>)
at Context.ret (node_modules/selenium-webdriver/testing/index.js:171:7)
3) EntityWithServiceImplPaginationAndDTO e2e test
should create and save EntityWithServiceImplPaginationAndDTOS:
TypeError: Cannot read property 'clickOnCreateButton' of undefined
at /home/vsts/app/src/test/javascript/e2e/entities/entity-with-service-impl-pagination-and-dto/entity-with-service-impl-pagination-and-dto.spec.ts:43:75
at Generator.next (<anonymous>)
at /home/vsts/app/node_modules/tslib/tslib.js:107:75
at new Promise (<anonymous>)
at Object.__awaiter (node_modules/tslib/tslib.js:103:16)
at createEntityWithServiceImplPaginationAndDTO (src/test/javascript/e2e/entities/entity-with-service-impl-pagination-and-dto/entity-with-service-impl-pagination-and-dto.spec.ts:42:28)
at Object.<anonymous> (src/test/javascript/e2e/entities/entity-with-service-impl-pagination-and-dto/entity-with-service-impl-pagination-and-dto.spec.ts:52:15)
at Generator.next (<anonymous>)
at /home/vsts/app/node_modules/tslib/tslib.js:107:75
at new Promise (<anonymous>)
4) EntityWithServiceImplPaginationAndDTO e2e test
should delete last EntityWithServiceImplPaginationAndDTO:
TypeError: Cannot read property 'waitUntilLoaded' of undefined
at Object.<anonymous> (src/test/javascript/e2e/entities/entity-with-service-impl-pagination-and-dto/entity-with-service-impl-pagination-and-dto.spec.ts:60:67)
at Generator.next (<anonymous>)
at /home/vsts/app/node_modules/tslib/tslib.js:107:75
at new Promise (<anonymous>)
at Object.__awaiter (node_modules/tslib/tslib.js:103:16)
at Context.<anonymous> (src/test/javascript/e2e/entities/entity-with-service-impl-pagination-and-dto/entity-with-service-impl-pagination-and-dto.spec.ts:59:82)
at runTest (node_modules/selenium-webdriver/testing/index.js:163:22)
at new Promise (<anonymous>)
at Context.ret (node_modules/selenium-webdriver/testing/index.js:171:7)
5) MapsIdChildEntityWithDTO e2e test
should load MapsIdChildEntityWithDTOS:
WebDriverError: element click intercepted: Element is not clickable at point (746, 1294)
(Session info: headless chrome=78.0.3904.108)
(Driver info: chromedriver=78.0.3904.70 (edb9c9f3de0247fd912a77b7f6cae7447f6d3ad5-refs/branch-heads/3904@{#800}),platform=Linux 5.0.0-1023-azure x86_64)
at Object.checkLegacyResponse (node_modules/selenium-webdriver/lib/error.js:546:15)
at parseHttpResponse (node_modules/selenium-webdriver/lib/http.js:509:13)
at /home/vsts/app/node_modules/selenium-webdriver/lib/http.js:441:30
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:93:5)Error
at ElementArrayFinder.applyAction_ (node_modules/protractor/built/element.js:459:27)
at ElementArrayFinder.<computed> [as click] (node_modules/protractor/built/element.js:91:29)
at ElementFinder.<computed> [as click] (node_modules/protractor/built/element.js:831:22)
at NavBarPage.<anonymous> (src/test/javascript/e2e/page-objects/navbar-page.ts:84:76)
at Generator.next (<anonymous>)
at /home/vsts/app/node_modules/tslib/tslib.js:107:75
at new Promise (<anonymous>)
at Object.__awaiter (node_modules/tslib/tslib.js:103:16)
at NavBarPage.clickOnEntity (src/test/javascript/e2e/page-objects/navbar-page.ts:83:24)
at NavBarPage.<anonymous> (src/test/javascript/e2e/page-objects/navbar-page.ts:49:24)
6) MapsIdChildEntityWithDTO e2e test
should load create MapsIdChildEntityWithDTO page:
TypeError: Cannot read property 'clickOnCreateButton' of undefined
at Object.<anonymous> (src/test/javascript/e2e/entities/maps-id-child-entity-with-dto/maps-id-child-entity-with-dto.spec.ts:35:54)
at Generator.next (<anonymous>)
at /home/vsts/app/node_modules/tslib/tslib.js:107:75
at new Promise (<anonymous>)
at Object.__awaiter (node_modules/tslib/tslib.js:103:16)
at Context.<anonymous> (src/test/javascript/e2e/entities/maps-id-child-entity-with-dto/maps-id-child-entity-with-dto.spec.ts:34:74)
at runTest (node_modules/selenium-webdriver/testing/index.js:163:22)
at new Promise (<anonymous>)
at Context.ret (node_modules/selenium-webdriver/testing/index.js:171:7)
7) MapsIdChildEntityWithoutDTO e2e test
should load MapsIdChildEntityWithoutDTOS:
WebDriverError: element click intercepted: Element is not clickable at point (746, 1230)
(Session info: headless chrome=78.0.3904.108)
(Driver info: chromedriver=78.0.3904.70 (edb9c9f3de0247fd912a77b7f6cae7447f6d3ad5-refs/branch-heads/3904@{#800}),platform=Linux 5.0.0-1023-azure x86_64)
at Object.checkLegacyResponse (node_modules/selenium-webdriver/lib/error.js:546:15)
at parseHttpResponse (node_modules/selenium-webdriver/lib/http.js:509:13)
at /home/vsts/app/node_modules/selenium-webdriver/lib/http.js:441:30
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:93:5)Error
at ElementArrayFinder.applyAction_ (node_modules/protractor/built/element.js:459:27)
at ElementArrayFinder.<computed> [as click] (node_modules/protractor/built/element.js:91:29)
at ElementFinder.<computed> [as click] (node_modules/protractor/built/element.js:831:22)
at NavBarPage.<anonymous> (src/test/javascript/e2e/page-objects/navbar-page.ts:84:76)
at Generator.next (<anonymous>)
at /home/vsts/app/node_modules/tslib/tslib.js:107:75
at new Promise (<anonymous>)
at Object.__awaiter (node_modules/tslib/tslib.js:103:16)
at NavBarPage.clickOnEntity (src/test/javascript/e2e/page-objects/navbar-page.ts:83:24)
at NavBarPage.<anonymous> (src/test/javascript/e2e/page-objects/navbar-page.ts:49:24)
8) MapsIdChildEntityWithoutDTO e2e test
should load create MapsIdChildEntityWithoutDTO page:
TypeError: Cannot read property 'clickOnCreateButton' of undefined
at Object.<anonymous> (src/test/javascript/e2e/entities/maps-id-child-entity-without-dto/maps-id-child-entity-without-dto.spec.ts:35:57)
at Generator.next (<anonymous>)
at /home/vsts/app/node_modules/tslib/tslib.js:107:75
at new Promise (<anonymous>)
at Object.__awaiter (node_modules/tslib/tslib.js:103:16)
at Context.<anonymous> (src/test/javascript/e2e/entities/maps-id-child-entity-without-dto/maps-id-child-entity-without-dto.spec.ts:34:77)
at runTest (node_modules/selenium-webdriver/testing/index.js:163:22)
at new Promise (<anonymous>)
at Context.ret (node_modules/selenium-webdriver/testing/index.js:171:7)
9) MapsIdParentEntityWithDTO e2e test
should load MapsIdParentEntityWithDTOS:
WebDriverError: element click intercepted: Element is not clickable at point (746, 1262)
(Session info: headless chrome=78.0.3904.108)
(Driver info: chromedriver=78.0.3904.70 (edb9c9f3de0247fd912a77b7f6cae7447f6d3ad5-refs/branch-heads/3904@{#800}),platform=Linux 5.0.0-1023-azure x86_64)
at Object.checkLegacyResponse (node_modules/selenium-webdriver/lib/error.js:546:15)
at parseHttpResponse (node_modules/selenium-webdriver/lib/http.js:509:13)
at /home/vsts/app/node_modules/selenium-webdriver/lib/http.js:441:30
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:93:5)Error
at ElementArrayFinder.applyAction_ (node_modules/protractor/built/element.js:459:27)
at ElementArrayFinder.<computed> [as click] (node_modules/protractor/built/element.js:91:29)
at ElementFinder.<computed> [as click] (node_modules/protractor/built/element.js:831:22)
at NavBarPage.<anonymous> (src/test/javascript/e2e/page-objects/navbar-page.ts:84:76)
at Generator.next (<anonymous>)
at /home/vsts/app/node_modules/tslib/tslib.js:107:75
at new Promise (<anonymous>)
at Object.__awaiter (node_modules/tslib/tslib.js:103:16)
at NavBarPage.clickOnEntity (src/test/javascript/e2e/page-objects/navbar-page.ts:83:24)
at NavBarPage.<anonymous> (src/test/javascript/e2e/page-objects/navbar-page.ts:49:24)
10) MapsIdParentEntityWithDTO e2e test
should load create MapsIdParentEntityWithDTO page:
TypeError: Cannot read property 'clickOnCreateButton' of undefined
at Object.<anonymous> (src/test/javascript/e2e/entities/maps-id-parent-entity-with-dto/maps-id-parent-entity-with-dto.spec.ts:35:55)
at Generator.next (<anonymous>)
at /home/vsts/app/node_modules/tslib/tslib.js:107:75
at new Promise (<anonymous>)
at Object.__awaiter (node_modules/tslib/tslib.js:103:16)
at Context.<anonymous> (src/test/javascript/e2e/entities/maps-id-parent-entity-with-dto/maps-id-parent-entity-with-dto.spec.ts:34:75)
at runTest (node_modules/selenium-webdriver/testing/index.js:163:22)
at new Promise (<anonymous>)
at Context.ret (node_modules/selenium-webdriver/testing/index.js:171:7)
11) MapsIdParentEntityWithDTO e2e test
should create and save MapsIdParentEntityWithDTOS:
TypeError: Cannot read property 'clickOnCreateButton' of undefined
at /home/vsts/app/src/test/javascript/e2e/entities/maps-id-parent-entity-with-dto/maps-id-parent-entity-with-dto.spec.ts:43:63
at Generator.next (<anonymous>)
at /home/vsts/app/node_modules/tslib/tslib.js:107:75
at new Promise (<anonymous>)
at Object.__awaiter (node_modules/tslib/tslib.js:103:16)
at createMapsIdParentEntityWithDTO (src/test/javascript/e2e/entities/maps-id-parent-entity-with-dto/maps-id-parent-entity-with-dto.spec.ts:42:28)
at Object.<anonymous> (src/test/javascript/e2e/entities/maps-id-parent-entity-with-dto/maps-id-parent-entity-with-dto.spec.ts:52:15)
at Generator.next (<anonymous>)
at /home/vsts/app/node_modules/tslib/tslib.js:107:75
at new Promise (<anonymous>)
12) MapsIdParentEntityWithDTO e2e test
should delete last MapsIdParentEntityWithDTO:
TypeError: Cannot read property 'waitUntilLoaded' of undefined
at Object.<anonymous> (src/test/javascript/e2e/entities/maps-id-parent-entity-with-dto/maps-id-parent-entity-with-dto.spec.ts:60:55)
at Generator.next (<anonymous>)
at /home/vsts/app/node_modules/tslib/tslib.js:107:75
at new Promise (<anonymous>)
at Object.__awaiter (node_modules/tslib/tslib.js:103:16)
at Context.<anonymous> (src/test/javascript/e2e/entities/maps-id-parent-entity-with-dto/maps-id-parent-entity-with-dto.spec.ts:59:70)
at runTest (node_modules/selenium-webdriver/testing/index.js:163:22)
at new Promise (<anonymous>)
at Context.ret (node_modules/selenium-webdriver/testing/index.js:171:7)
13) MapsIdParentEntityWithoutDTO e2e test
should load MapsIdParentEntityWithoutDTOS:
WebDriverError: element click intercepted: Element is not clickable at point (746, 1198)
(Session info: headless chrome=78.0.3904.108)
(Driver info: chromedriver=78.0.3904.70 (edb9c9f3de0247fd912a77b7f6cae7447f6d3ad5-refs/branch-heads/3904@{#800}),platform=Linux 5.0.0-1023-azure x86_64)
at Object.checkLegacyResponse (node_modules/selenium-webdriver/lib/error.js:546:15)
at parseHttpResponse (node_modules/selenium-webdriver/lib/http.js:509:13)
at /home/vsts/app/node_modules/selenium-webdriver/lib/http.js:441:30
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:93:5)Error
at ElementArrayFinder.applyAction_ (node_modules/protractor/built/element.js:459:27)
at ElementArrayFinder.<computed> [as click] (node_modules/protractor/built/element.js:91:29)
at ElementFinder.<computed> [as click] (node_modules/protractor/built/element.js:831:22)
at NavBarPage.<anonymous> (src/test/javascript/e2e/page-objects/navbar-page.ts:84:76)
at Generator.next (<anonymous>)
at /home/vsts/app/node_modules/tslib/tslib.js:107:75
at new Promise (<anonymous>)
at Object.__awaiter (node_modules/tslib/tslib.js:103:16)
at NavBarPage.clickOnEntity (src/test/javascript/e2e/page-objects/navbar-page.ts:83:24)
at NavBarPage.<anonymous> (src/test/javascript/e2e/page-objects/navbar-page.ts:49:24)
14) MapsIdParentEntityWithoutDTO e2e test
should load create MapsIdParentEntityWithoutDTO page:
TypeError: Cannot read property 'clickOnCreateButton' of undefined
at Object.<anonymous> (src/test/javascript/e2e/entities/maps-id-parent-entity-without-dto/maps-id-parent-entity-without-dto.spec.ts:35:58)
at Generator.next (<anonymous>)
at /home/vsts/app/node_modules/tslib/tslib.js:107:75
at new Promise (<anonymous>)
at Object.__awaiter (node_modules/tslib/tslib.js:103:16)
at Context.<anonymous> (src/test/javascript/e2e/entities/maps-id-parent-entity-without-dto/maps-id-parent-entity-without-dto.spec.ts:34:78)
at runTest (node_modules/selenium-webdriver/testing/index.js:163:22)
at new Promise (<anonymous>)
at Context.ret (node_modules/selenium-webdriver/testing/index.js:171:7)
15) MapsIdParentEntityWithoutDTO e2e test
should create and save MapsIdParentEntityWithoutDTOS:
TypeError: Cannot read property 'clickOnCreateButton' of undefined
at /home/vsts/app/src/test/javascript/e2e/entities/maps-id-parent-entity-without-dto/maps-id-parent-entity-without-dto.spec.ts:43:66
at Generator.next (<anonymous>)
at /home/vsts/app/node_modules/tslib/tslib.js:107:75
at new Promise (<anonymous>)
at Object.__awaiter (node_modules/tslib/tslib.js:103:16)
at createMapsIdParentEntityWithoutDTO (src/test/javascript/e2e/entities/maps-id-parent-entity-without-dto/maps-id-parent-entity-without-dto.spec.ts:42:28)
at Object.<anonymous> (src/test/javascript/e2e/entities/maps-id-parent-entity-without-dto/maps-id-parent-entity-without-dto.spec.ts:52:15)
at Generator.next (<anonymous>)
at /home/vsts/app/node_modules/tslib/tslib.js:107:75
at new Promise (<anonymous>)
16) MapsIdParentEntityWithoutDTO e2e test
should delete last MapsIdParentEntityWithoutDTO:
TypeError: Cannot read property 'waitUntilLoaded' of undefined
at Object.<anonymous> (src/test/javascript/e2e/entities/maps-id-parent-entity-without-dto/maps-id-parent-entity-without-dto.spec.ts:60:58)
at Generator.next (<anonymous>)
at /home/vsts/app/node_modules/tslib/tslib.js:107:75
at new Promise (<anonymous>)
at Object.__awaiter (node_modules/tslib/tslib.js:103:16)
at Context.<anonymous> (src/test/javascript/e2e/entities/maps-id-parent-entity-without-dto/maps-id-parent-entity-without-dto.spec.ts:59:73)
at runTest (node_modules/selenium-webdriver/testing/index.js:163:22)
at new Promise (<anonymous>)
at Context.ret (node_modules/selenium-webdriver/testing/index.js:171:7)
17) MapsIdUserProfileWithDTO e2e test
should load MapsIdUserProfileWithDTOS:
WebDriverError: element click intercepted: Element is not clickable at point (746, 1326)
(Session info: headless chrome=78.0.3904.108)
(Driver info: chromedriver=78.0.3904.70 (edb9c9f3de0247fd912a77b7f6cae7447f6d3ad5-refs/branch-heads/3904@{#800}),platform=Linux 5.0.0-1023-azure x86_64)
at Object.checkLegacyResponse (node_modules/selenium-webdriver/lib/error.js:546:15)
at parseHttpResponse (node_modules/selenium-webdriver/lib/http.js:509:13)
at /home/vsts/app/node_modules/selenium-webdriver/lib/http.js:441:30
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:93:5)Error
at ElementArrayFinder.applyAction_ (node_modules/protractor/built/element.js:459:27)
at ElementArrayFinder.<computed> [as click] (node_modules/protractor/built/element.js:91:29)
at ElementFinder.<computed> [as click] (node_modules/protractor/built/element.js:831:22)
at NavBarPage.<anonymous> (src/test/javascript/e2e/page-objects/navbar-page.ts:84:76)
at Generator.next (<anonymous>)
at /home/vsts/app/node_modules/tslib/tslib.js:107:75
at new Promise (<anonymous>)
at Object.__awaiter (node_modules/tslib/tslib.js:103:16)
at NavBarPage.clickOnEntity (src/test/javascript/e2e/page-objects/navbar-page.ts:83:24)
at NavBarPage.<anonymous> (src/test/javascript/e2e/page-objects/navbar-page.ts:49:24)
18) MapsIdUserProfileWithDTO e2e test
should load create MapsIdUserProfileWithDTO page:
TypeError: Cannot read property 'clickOnCreateButton' of undefined
at Object.<anonymous> (src/test/javascript/e2e/entities/maps-id-user-profile-with-dto/maps-id-user-profile-with-dto.spec.ts:35:54)
at Generator.next (<anonymous>)
at /home/vsts/app/node_modules/tslib/tslib.js:107:75
at new Promise (<anonymous>)
at Object.__awaiter (node_modules/tslib/tslib.js:103:16)
at Context.<anonymous> (src/test/javascript/e2e/entities/maps-id-user-profile-with-dto/maps-id-user-profile-with-dto.spec.ts:34:74)
at runTest (node_modules/selenium-webdriver/testing/index.js:163:22)
at new Promise (<anonymous>)
at Context.ret (node_modules/selenium-webdriver/testing/index.js:171:7)
19) SuperMegaLargeTestEntity e2e test
should load SuperMegaLargeTestEntities:
WebDriverError: element click intercepted: Element is not clickable at point (746, 1166)
(Session info: headless chrome=78.0.3904.108)
(Driver info: chromedriver=78.0.3904.70 (edb9c9f3de0247fd912a77b7f6cae7447f6d3ad5-refs/branch-heads/3904@{#800}),platform=Linux 5.0.0-1023-azure x86_64)
at Object.checkLegacyResponse (node_modules/selenium-webdriver/lib/error.js:546:15)
at parseHttpResponse (node_modules/selenium-webdriver/lib/http.js:509:13)
at /home/vsts/app/node_modules/selenium-webdriver/lib/http.js:441:30
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:93:5)Error
at ElementArrayFinder.applyAction_ (node_modules/protractor/built/element.js:459:27)
at ElementArrayFinder.<computed> [as click] (node_modules/protractor/built/element.js:91:29)
at ElementFinder.<computed> [as click] (node_modules/protractor/built/element.js:831:22)
at NavBarPage.<anonymous> (src/test/javascript/e2e/page-objects/navbar-page.ts:84:76)
at Generator.next (<anonymous>)
at /home/vsts/app/node_modules/tslib/tslib.js:107:75
at new Promise (<anonymous>)
at Object.__awaiter (node_modules/tslib/tslib.js:103:16)
at NavBarPage.clickOnEntity (src/test/javascript/e2e/page-objects/navbar-page.ts:83:24)
at NavBarPage.<anonymous> (src/test/javascript/e2e/page-objects/navbar-page.ts:49:24)
20) SuperMegaLargeTestEntity e2e test
should load create SuperMegaLargeTestEntity page:
TypeError: Cannot read property 'clickOnCreateButton' of undefined
at Object.<anonymous> (src/test/javascript/e2e/entities/super-mega-large-test-entity-my-suffix-alt/super-mega-large-test-entity-my-suffix-alt.spec.ts:35:54)
at Generator.next (<anonymous>)
at /home/vsts/app/node_modules/tslib/tslib.js:107:75
at new Promise (<anonymous>)
at Object.__awaiter (node_modules/tslib/tslib.js:103:16)
at Context.<anonymous> (src/test/javascript/e2e/entities/super-mega-large-test-entity-my-suffix-alt/super-mega-large-test-entity-my-suffix-alt.spec.ts:34:74)
at runTest (node_modules/selenium-webdriver/testing/index.js:163:22)
at new Promise (<anonymous>)
at Context.ret (node_modules/selenium-webdriver/testing/index.js:171:7)
21) TestInfiniteScroll e2e test
should create and save TestInfiniteScrolls:
TimeoutError: Failed while waiting for "By(css selector, *[id="save-entity"])" of Page Object Class '' to be hidden.
Wait timed out after 30009ms
at /home/vsts/app/node_modules/selenium-webdriver/lib/promise.js:2201:17
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
22) TestInfiniteScroll e2e test
should delete last TestInfiniteScroll:
TimeoutError: Failed while waiting for "By(css selector, div table .btn-danger)" of Page Object Class '' to display.
Wait timed out after 30001ms
at /home/vsts/app/node_modules/selenium-webdriver/lib/promise.js:2201:17
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
23) TestManyRelPaginDTO e2e test
should create and save TestManyRelPaginDTOS:
TimeoutError: Failed while waiting for "By(css selector, *[id="save-entity"])" of Page Object Class '' to be hidden.
Wait timed out after 30003ms
at /home/vsts/app/node_modules/selenium-webdriver/lib/promise.js:2201:17
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
24) TestManyRelPaginDTO e2e test
should delete last TestManyRelPaginDTO:
TimeoutError: Failed while waiting for "By(css selector, div table .btn-danger)" of Page Object Class '' to display.
Wait timed out after 30002ms
at /home/vsts/app/node_modules/selenium-webdriver/lib/promise.js:2201:17
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
25) TestManyToMany e2e test
should create and save TestManyToManies:
TimeoutError: Failed while waiting for "By(css selector, *[id="save-entity"])" of Page Object Class '' to be hidden.
Wait timed out after 30008ms
at /home/vsts/app/node_modules/selenium-webdriver/lib/promise.js:2201:17
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
26) TestManyToMany e2e test
should delete last TestManyToMany:
TimeoutError: Failed while waiting for "By(css selector, div table .btn-danger)" of Page Object Class '' to display.
Wait timed out after 30005ms
at /home/vsts/app/node_modules/selenium-webdriver/lib/promise.js:2201:17
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
27) TestMapstruct e2e test
should create and save TestMapstructs:
TimeoutError: Failed while waiting for "By(css selector, *[id="save-entity"])" of Page Object Class '' to be hidden.
Wait timed out after 30025ms
at /home/vsts/app/node_modules/selenium-webdriver/lib/promise.js:2201:17
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
28) TestMapstruct e2e test
should delete last TestMapstruct:
TimeoutError: Failed while waiting for "By(css selector, div table .btn-danger)" of Page Object Class '' to display.
Wait timed out after 30005ms
at /home/vsts/app/node_modules/selenium-webdriver/lib/promise.js:2201:17
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
29) TestOneToOne e2e test
should create and save TestOneToOnes:
TimeoutError: Failed while waiting for "By(css selector, *[id="save-entity"])" of Page Object Class '' to be hidden.
Wait timed out after 30022ms
at /home/vsts/app/node_modules/selenium-webdriver/lib/promise.js:2201:17
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
30) TestOneToOne e2e test
should delete last TestOneToOne:
TimeoutError: Failed while waiting for "By(css selector, div table .btn-danger)" of Page Object Class '' to display.
Wait timed out after 30000ms
at /home/vsts/app/node_modules/selenium-webdriver/lib/promise.js:2201:17
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
31) TestPagination e2e test
should create and save TestPaginations:
TimeoutError: Failed while waiting for "By(css selector, *[id="save-entity"])" of Page Object Class '' to be hidden.
Wait timed out after 30016ms
at /home/vsts/app/node_modules/selenium-webdriver/lib/promise.js:2201:17
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
32) TestPagination e2e test
should delete last TestPagination:
TimeoutError: Failed while waiting for "By(css selector, div table .btn-danger)" of Page Object Class '' to display.
Wait timed out after 30003ms
at /home/vsts/app/node_modules/selenium-webdriver/lib/promise.js:2201:17
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
33) Division e2e test
should load Divisions:
WebDriverError: element click intercepted: Element is not clickable at point (746, 1102)
(Session info: headless chrome=78.0.3904.108)
(Driver info: chromedriver=78.0.3904.70 (edb9c9f3de0247fd912a77b7f6cae7447f6d3ad5-refs/branch-heads/3904@{#800}),platform=Linux 5.0.0-1023-azure x86_64)
at Object.checkLegacyResponse (node_modules/selenium-webdriver/lib/error.js:546:15)
at parseHttpResponse (node_modules/selenium-webdriver/lib/http.js:509:13)
at /home/vsts/app/node_modules/selenium-webdriver/lib/http.js:441:30
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:93:5)Error
at ElementArrayFinder.applyAction_ (node_modules/protractor/built/element.js:459:27)
at ElementArrayFinder.<computed> [as click] (node_modules/protractor/built/element.js:91:29)
at ElementFinder.<computed> [as click] (node_modules/protractor/built/element.js:831:22)
at NavBarPage.<anonymous> (src/test/javascript/e2e/page-objects/navbar-page.ts:84:76)
at Generator.next (<anonymous>)
at /home/vsts/app/node_modules/tslib/tslib.js:107:75
at new Promise (<anonymous>)
at Object.__awaiter (node_modules/tslib/tslib.js:103:16)
at NavBarPage.clickOnEntity (src/test/javascript/e2e/page-objects/navbar-page.ts:83:24)
at NavBarPage.<anonymous> (src/test/javascript/e2e/page-objects/navbar-page.ts:49:24)
34) Division e2e test
should load create Division page:
TypeError: Cannot read property 'clickOnCreateButton' of undefined
at Object.<anonymous> (src/test/javascript/e2e/entities/test-root/division/division.spec.ts:35:38)
at Generator.next (<anonymous>)
at /home/vsts/app/node_modules/tslib/tslib.js:107:75
at new Promise (<anonymous>)
at Object.__awaiter (node_modules/tslib/tslib.js:103:16)
at Context.<anonymous> (src/test/javascript/e2e/entities/test-root/division/division.spec.ts:34:58)
at runTest (node_modules/selenium-webdriver/testing/index.js:163:22)
at new Promise (<anonymous>)
at Context.ret (node_modules/selenium-webdriver/testing/index.js:171:7)
35) Division e2e test
should create and save Divisions:
TypeError: Cannot read property 'clickOnCreateButton' of undefined
at /home/vsts/app/src/test/javascript/e2e/entities/test-root/division/division.spec.ts:43:46
at Generator.next (<anonymous>)
at /home/vsts/app/node_modules/tslib/tslib.js:107:75
at new Promise (<anonymous>)
at Object.__awaiter (node_modules/tslib/tslib.js:103:16)
at createDivision (src/test/javascript/e2e/entities/test-root/division/division.spec.ts:42:28)
at Object.<anonymous> (src/test/javascript/e2e/entities/test-root/division/division.spec.ts:61:15)
at Generator.next (<anonymous>)
at /home/vsts/app/node_modules/tslib/tslib.js:107:75
at new Promise (<anonymous>)
36) Division e2e test
should delete last Division:
TypeError: Cannot read property 'waitUntilLoaded' of undefined
at Object.<anonymous> (src/test/javascript/e2e/entities/test-root/division/division.spec.ts:69:38)
at Generator.next (<anonymous>)
at /home/vsts/app/node_modules/tslib/tslib.js:107:75
at new Promise (<anonymous>)
at Object.__awaiter (node_modules/tslib/tslib.js:103:16)
at Context.<anonymous> (src/test/javascript/e2e/entities/test-root/division/division.spec.ts:68:53)
at runTest (node_modules/selenium-webdriver/testing/index.js:163:22)
at new Promise (<anonymous>)
at Context.ret (node_modules/selenium-webdriver/testing/index.js:171:7)
37) Place e2e test
should load Places:
WebDriverError: element click intercepted: Element is not clickable at point (746, 1134)
(Session info: headless chrome=78.0.3904.108)
(Driver info: chromedriver=78.0.3904.70 (edb9c9f3de0247fd912a77b7f6cae7447f6d3ad5-refs/branch-heads/3904@{#800}),platform=Linux 5.0.0-1023-azure x86_64)
at Object.checkLegacyResponse (node_modules/selenium-webdriver/lib/error.js:546:15)
at parseHttpResponse (node_modules/selenium-webdriver/lib/http.js:509:13)
at /home/vsts/app/node_modules/selenium-webdriver/lib/http.js:441:30
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:93:5)Error
at ElementArrayFinder.applyAction_ (node_modules/protractor/built/element.js:459:27)
at ElementArrayFinder.<computed> [as click] (node_modules/protractor/built/element.js:91:29)
at ElementFinder.<computed> [as click] (node_modules/protractor/built/element.js:831:22)
at NavBarPage.<anonymous> (src/test/javascript/e2e/page-objects/navbar-page.ts:84:76)
at Generator.next (<anonymous>)
at /home/vsts/app/node_modules/tslib/tslib.js:107:75
at new Promise (<anonymous>)
at Object.__awaiter (node_modules/tslib/tslib.js:103:16)
at NavBarPage.clickOnEntity (src/test/javascript/e2e/page-objects/navbar-page.ts:83:24)
at NavBarPage.<anonymous> (src/test/javascript/e2e/page-objects/navbar-page.ts:49:24)
38) Place e2e test
should load create Place page:
TypeError: Cannot read property 'clickOnCreateButton' of undefined
at Object.<anonymous> (src/test/javascript/e2e/entities/test-root/place/place.spec.ts:35:35)
at Generator.next (<anonymous>)
at /home/vsts/app/node_modules/tslib/tslib.js:107:75
at new Promise (<anonymous>)
at Object.__awaiter (node_modules/tslib/tslib.js:103:16)
at Context.<anonymous> (src/test/javascript/e2e/entities/test-root/place/place.spec.ts:34:55)
at runTest (node_modules/selenium-webdriver/testing/index.js:163:22)
at new Promise (<anonymous>)
at Context.ret (node_modules/selenium-webdriver/testing/index.js:171:7)
39) Place e2e test
should create and save Places:
TypeError: Cannot read property 'clickOnCreateButton' of undefined
at /home/vsts/app/src/test/javascript/e2e/entities/test-root/place/place.spec.ts:43:43
at Generator.next (<anonymous>)
at /home/vsts/app/node_modules/tslib/tslib.js:107:75
at new Promise (<anonymous>)
at Object.__awaiter (node_modules/tslib/tslib.js:103:16)
at createPlace (src/test/javascript/e2e/entities/test-root/place/place.spec.ts:42:28)
at Object.<anonymous> (src/test/javascript/e2e/entities/test-root/place/place.spec.ts:64:15)
at Generator.next (<anonymous>)
at /home/vsts/app/node_modules/tslib/tslib.js:107:75
at new Promise (<anonymous>)
40) Place e2e test
should delete last Place:
TypeError: Cannot read property 'waitUntilLoaded' of undefined
at Object.<anonymous> (src/test/javascript/e2e/entities/test-root/place/place.spec.ts:72:35)
at Generator.next (<anonymous>)
at /home/vsts/app/node_modules/tslib/tslib.js:107:75
at new Promise (<anonymous>)
at Object.__awaiter (node_modules/tslib/tslib.js:103:16)
at Context.<anonymous> (src/test/javascript/e2e/entities/test-root/place/place.spec.ts:71:50)
at runTest (node_modules/selenium-webdriver/testing/index.js:163:22)
at new Promise (<anonymous>)
at Context.ret (node_modules/selenium-webdriver/testing/index.js:171:7)
41) TestServiceClass e2e test
should create and save TestServiceClasses:
TimeoutError: Failed while waiting for "By(css selector, *[id="save-entity"])" of Page Object Class '' to be hidden.
Wait timed out after 30000ms
at /home/vsts/app/node_modules/selenium-webdriver/lib/promise.js:2201:17
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
42) TestServiceClass e2e test
should delete last TestServiceClass:
TimeoutError: Failed while waiting for "By(css selector, div table .btn-danger)" of Page Object Class '' to display.
Wait timed out after 30004ms
at /home/vsts/app/node_modules/selenium-webdriver/lib/promise.js:2201:17
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
43) TestServiceImpl e2e test
should create and save TestServiceImpls:
TimeoutError: Failed while waiting for "By(css selector, *[id="save-entity"])" of Page Object Class '' to be hidden.
Wait timed out after 30024ms
at /home/vsts/app/node_modules/selenium-webdriver/lib/promise.js:2201:17
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
44) TestServiceImpl e2e test
should delete last TestServiceImpl:
TimeoutError: Failed while waiting for "By(css selector, div table .btn-danger)" of Page Object Class '' to display.
Wait timed out after 30004ms
at /home/vsts/app/node_modules/selenium-webdriver/lib/promise.js:2201:17
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
[03:26:31] I/launcher - 0 instance(s) of WebDriver still running
[03:26:31] I/launcher - chrome #01 failed 44 test(s)
[03:26:31] I/launcher - overall: 44 failed spec(s)
[03:26:31] E/launcher - Process exited with error code 1
##### **Reproduce the error**
##### **Related issues**
Not sure:
- https://github.com/jhipster/generator-jhipster/issues/10806
- https://github.com/jhipster/generator-jhipster/pull/10815
- https://github.com/jhipster/generator-jhipster/pull/10820
##### **Suggest a Fix**
##### **JHipster configuration, a `.yo-rc.json` file generated in the root folder**
{
"generator-jhipster": {
"baseName": "travisNg2",
"packageName": "io.github.jhipster.travis",
"packageFolder": "io/github/jhipster/travis",
"serverPort": "8080",
"authenticationType": "jwt",
"cacheProvider": "ehcache",
"enableHibernateCache": true,
"websocket": false,
"databaseType": "sql",
"devDatabaseType": "h2Disk",
"prodDatabaseType": "mysql",
"searchEngine": false,
"messageBroker": false,
"buildTool": "maven",
"useSass": true,
"applicationType": "monolith",
"testFrameworks": [
"gatling",
"protractor"
],
"jhiPrefix": "custom",
"enableTranslation": true,
"nativeLanguage": "en",
"languages": [
"en"
],
"travis": true,
"serviceDiscoveryType": false,
"clientPackageManager": "npm",
"clientFramework": "react",
"jhipsterVersion": "6.5.1",
"jwtSecretKey": "bXktc2VjcmV0LXRva2VuLXRvLWNoYW5nZS1pbi1wcm9kdWN0aW9uLWFuZC10by1rZWVwLWluLWEtc2VjdXJlLXBsYWNl",
"embeddableLaunchScript": false,
"clientTheme": "none",
"entitySuffix": "",
"dtoSuffix": "DTO",
"otherModules": [],
"blueprints": []
}
}
entityName.json files generated in the .jhipster directory
JDL entity definitions
entity BankAccount {
name String required,
guid UUID,
bankNumber Integer,
agencyNumber Long,
lastOperationDuration Float,
meanOperationDuration Double,
meanQueueDuration Duration,
balance BigDecimal required,
openingDay LocalDate,
lastOperationDate Instant,
active Boolean,
accountType BankAccountType,
attachment AnyBlob,
description TextBlob
}
entity Label {
labelName String required minlength(3)
}
entity Operation {
date Instant required,
description String,
amount BigDecimal required
}
entity FieldTestEntity {
stringTom String,
stringRequiredTom String required,
stringMinlengthTom String minlength(0),
stringMaxlengthTom String maxlength(20),
stringPatternTom String pattern(/^[a-zA-Z0-9]*$/),
integerTom Integer,
integerRequiredTom Integer required,
integerMinTom Integer min(0),
integerMaxTom Integer max(100),
longTom Long,
longRequiredTom Long required,
longMinTom Long min(0),
longMaxTom Long max(100),
floatTom Float,
floatRequiredTom Float required,
floatMinTom Float min(0),
floatMaxTom Float max(100),
doubleRequiredTom Double required,
doubleMinTom Double min(0),
doubleMaxTom Double max(100),
bigDecimalRequiredTom BigDecimal required,
bigDecimalMinTom BigDecimal min(0),
bigDecimalMaxTom BigDecimal max(100),
localDateTom LocalDate,
localDateRequiredTom LocalDate required,
instantTom Instant,
instantRequiredTom Instant required,
zonedDateTimeTom ZonedDateTime,
zonedDateTimeRequiredTom ZonedDateTime required,
durationTom Duration,
durationRequiredTom Duration required,
booleanTom Boolean,
booleanRequiredTom Boolean required,
enumTom EnumFieldClass,
enumRequiredTom EnumRequiredFieldClass required,
uuidTom UUID,
uuidRequiredTom UUID required,
byteImageTom ImageBlob,
byteImageRequiredTom ImageBlob required,
byteImageMinbytesTom ImageBlob minbytes(0),
byteImageMaxbytesTom ImageBlob maxbytes(10000),
byteAnyTom AnyBlob,
byteAnyRequiredTom AnyBlob required,
byteAnyMinbytesTom AnyBlob minbytes(0),
byteAnyMaxbytesTom AnyBlob maxbytes(10000),
byteTextTom TextBlob,
byteTextRequiredTom TextBlob required
}
entity FieldTestInfiniteScrollEntity {
stringHugo String,
stringRequiredHugo String required,
stringMinlengthHugo String minlength(0),
stringMaxlengthHugo String maxlength(20),
stringPatternHugo String pattern(/^[a-zA-Z0-9]*$/),
integerHugo Integer,
integerRequiredHugo Integer required,
integerMinHugo Integer min(0),
integerMaxHugo Integer max(100),
longHugo Long,
longRequiredHugo Long required,
longMinHugo Long min(0),
longMaxHugo Long max(100),
floatHugo Float,
floatRequiredHugo Float required,
floatMinHugo Float min(0),
floatMaxHugo Float max(100),
doubleRequiredHugo Double required,
doubleMinHugo Double min(0),
doubleMaxHugo Double max(100),
bigDecimalRequiredHugo BigDecimal required,
bigDecimalMinHugo BigDecimal min(0),
bigDecimalMaxHugo BigDecimal max(100),
localDateHugo LocalDate,
localDateRequiredHugo LocalDate required,
instantHugo Instant,
instanteRequiredHugo Instant required,
zonedDateTimeHugo ZonedDateTime,
zonedDateTimeRequiredHugo ZonedDateTime required,
durationHugo Duration,
durationRequiredHugo Duration required,
booleanHugo Boolean,
booleanRequiredHugo Boolean required,
enumHugo EnumFieldClass,
enumRequiredHugo EnumRequiredFieldClass required,
uuidHugo UUID,
uuidRequiredHugo UUID required,
byteImageHugo ImageBlob,
byteImageRequiredHugo ImageBlob required,
byteImageMinbytesHugo ImageBlob minbytes(0),
byteImageMaxbytesHugo ImageBlob maxbytes(10000),
byteAnyHugo AnyBlob,
byteAnyRequiredHugo AnyBlob required,
byteAnyMinbytesHugo AnyBlob minbytes(0),
byteAnyMaxbytesHugo AnyBlob maxbytes(10000),
byteTextHugo TextBlob,
byteTextRequiredHugo TextBlob required
}
entity FieldTestMapstructEntity {
stringEva String,
stringRequiredEva String required,
stringMinlengthEva String minlength(0),
stringMaxlengthEva String maxlength(20),
stringPatternEva String pattern(/^[a-zA-Z0-9]*$/),
integerEva Integer,
integerRequiredEva Integer required,
integerMinEva Integer min(0),
integerMaxEva Integer max(100),
longEva Long,
longRequiredEva Long required,
longMinEva Long min(0),
longMaxEva Long max(100),
floatEva Float,
floatRequiredEva Float required,
floatMinEva Float min(0),
floatMaxEva Float max(100),
doubleRequiredEva Double required,
doubleMinEva Double min(0),
doubleMaxEva Double max(100),
bigDecimalRequiredEva BigDecimal required,
bigDecimalMinEva BigDecimal min(0),
bigDecimalMaxEva BigDecimal max(100),
localDateEva LocalDate,
localDateRequiredEva LocalDate required,
instantEva Instant,
instanteRequiredEva Instant required,
zonedDateTimeEva ZonedDateTime,
zonedDateTimeRequiredEva ZonedDateTime required,
durationEva Duration,
durationRequiredEva Duration required,
booleanEva Boolean,
booleanRequiredEva Boolean required,
enumEva EnumFieldClass,
enumRequiredEva EnumRequiredFieldClass required,
uuidEva UUID,
uuidRequiredEva UUID required,
byteImageEva ImageBlob,
byteImageRequiredEva ImageBlob required,
byteImageMinbytesEva ImageBlob minbytes(0),
byteImageMaxbytesEva ImageBlob maxbytes(10000),
byteAnyEva AnyBlob,
byteAnyRequiredEva AnyBlob required,
byteAnyMinbytesEva AnyBlob minbytes(0),
byteAnyMaxbytesEva AnyBlob maxbytes(10000),
byteTextEva TextBlob,
byteTextRequiredEva TextBlob required
}
entity FieldTestPaginationEntity {
stringAlice String,
stringRequiredAlice String required,
stringMinlengthAlice String minlength(0),
stringMaxlengthAlice String maxlength(20),
stringPatternAlice String pattern(/^[a-zA-Z0-9]*$/),
integerAlice Integer,
integerRequiredAlice Integer required,
integerMinAlice Integer min(0),
integerMaxAlice Integer max(100),
longAlice Long,
longRequiredAlice Long required,
longMinAlice Long min(0),
longMaxAlice Long max(100),
floatAlice Float,
floatRequiredAlice Float required,
floatMinAlice Float min(0),
floatMaxAlice Float max(100),
doubleRequiredAlice Double required,
doubleMinAlice Double min(0),
doubleMaxAlice Double max(100),
bigDecimalRequiredAlice BigDecimal required,
bigDecimalMinAlice BigDecimal min(0),
bigDecimalMaxAlice BigDecimal max(100),
localDateAlice LocalDate,
localDateRequiredAlice LocalDate required,
instantAlice Instant,
instanteRequiredAlice Instant required,
zonedDateTimeAlice ZonedDateTime,
zonedDateTimeRequiredAlice ZonedDateTime required,
durationAlice Duration,
durationRequiredAlice Duration required,
booleanAlice Boolean,
booleanRequiredAlice Boolean required,
enumAlice EnumFieldClass,
enumRequiredAlice EnumRequiredFieldClass required,
uuidAlice UUID,
uuidRequiredAlice UUID required,
byteImageAlice ImageBlob,
byteImageRequiredAlice ImageBlob required,
byteImageMinbytesAlice ImageBlob minbytes(0),
byteImageMaxbytesAlice ImageBlob maxbytes(10000),
byteAnyAlice AnyBlob,
byteAnyRequiredAlice AnyBlob required,
byteAnyMinbytesAlice AnyBlob minbytes(0),
byteAnyMaxbytesAlice AnyBlob maxbytes(10000),
byteTextAlice TextBlob,
byteTextRequiredAlice TextBlob required
}
entity FieldTestServiceClassEntity {
stringBob String,
stringRequiredBob String required,
stringMinlengthBob String minlength(0),
stringMaxlengthBob String maxlength(20),
stringPatternBob String pattern(/^[a-zA-Z0-9]*$/),
integerBob Integer,
integerRequiredBob Integer required,
integerMinBob Integer min(0),
integerMaxBob Integer max(100),
longBob Long,
longRequiredBob Long required,
longMinBob Long min(0),
longMaxBob Long max(100),
floatBob Float,
floatRequiredBob Float required,
floatMinBob Float min(0),
floatMaxBob Float max(100),
doubleRequiredBob Double required,
doubleMinBob Double min(0),
doubleMaxBob Double max(100),
bigDecimalRequiredBob BigDecimal required,
bigDecimalMinBob BigDecimal min(0),
bigDecimalMaxBob BigDecimal max(100),
localDateBob LocalDate,
localDateRequiredBob LocalDate required,
instantBob Instant,
instanteRequiredBob Instant required,
zonedDateTimeBob ZonedDateTime,
zonedDateTimeRequiredBob ZonedDateTime required,
durationBob Duration,
durationRequiredBob Duration required,
booleanBob Boolean,
booleanRequiredBob Boolean required,
enumBob EnumFieldClass,
enumRequiredBob EnumRequiredFieldClass required,
uuidBob UUID,
uuidRequiredBob UUID required,
byteImageBob ImageBlob,
byteImageRequiredBob ImageBlob required,
byteImageMinbytesBob ImageBlob minbytes(0),
byteImageMaxbytesBob ImageBlob maxbytes(10000),
byteAnyBob AnyBlob,
byteAnyRequiredBob AnyBlob required,
byteAnyMinbytesBob AnyBlob minbytes(0),
byteAnyMaxbytesBob AnyBlob maxbytes(10000),
byteTextBob TextBlob,
byteTextRequiredBob TextBlob required
}
entity FieldTestServiceImplEntity {
stringMika String,
stringRequiredMika String required,
stringMinlengthMika String minlength(0),
stringMaxlengthMika String maxlength(20),
stringPatternMika String pattern(/^[a-zA-Z0-9]*$/),
integerMika Integer,
integerRequiredMika Integer required,
integerMinMika Integer min(0),
integerMaxMika Integer max(100),
longMika Long,
longRequiredMika Long required,
longMinMika Long min(0),
longMaxMika Long max(100),
floatMika Float,
floatRequiredMika Float required,
floatMinMika Float min(0),
floatMaxMika Float max(100),
doubleRequiredMika Double required,
doubleMinMika Double min(0),
doubleMaxMika Double max(100),
bigDecimalRequiredMika BigDecimal required,
bigDecimalMinMika BigDecimal min(0),
bigDecimalMaxMika BigDecimal max(100),
localDateMika LocalDate,
localDateRequiredMika LocalDate required,
instantMika Instant,
instanteRequiredMika Instant required,
zonedDateTimeMika ZonedDateTime,
zonedDateTimeRequiredMika ZonedDateTime required,
durationMika Duration,
durationRequiredMika Duration required,
booleanMika Boolean,
booleanRequiredMika Boolean required,
enumMika EnumFieldClass,
enumRequiredMika EnumRequiredFieldClass required,
uuidMika UUID,
uuidRequiredMika UUID required,
byteImageMika ImageBlob,
byteImageRequiredMika ImageBlob required,
byteImageMinbytesMika ImageBlob minbytes(0),
byteImageMaxbytesMika ImageBlob maxbytes(10000),
byteAnyMika AnyBlob,
byteAnyRequiredMika AnyBlob required,
byteAnyMinbytesMika AnyBlob minbytes(0),
byteAnyMaxbytesMika AnyBlob maxbytes(10000),
byteTextMika TextBlob,
byteTextRequiredMika TextBlob required
}
entity TestCustomTableName (test_custom_table_name_entity)
entity TestEntity
entity TestInfiniteScroll
entity TestMapstruct
entity TestPagination
entity TestServiceClass
entity TestServiceImpl
entity TestTwoRelationshipsSameEntity (test_multiple_rel)
entity TestManyRelPaginDTO (test_many_many_pagination_dto)
entity TestManyToMany
entity TestManyToOne
entity TestOneToOne
entity EntityWithDTO {
emma String
}
entity EntityWithServiceClass {
zoe String
}
entity EntityWithServiceImpl {
clara String
}
entity EntityWithPagination {
nathan String
}
entity EntityWithServiceClassAndPagination {
enzo String
}
entity EntityWithServiceImplAndPagination {
hugo String
}
entity EntityWithServiceClassAndDTO {
lucas String
}
entity EntityWithServiceImplAndDTO {
louis String
}
entity EntityWithPaginationAndDTO {
lea String
}
entity EntityWithServiceClassPaginationAndDTO {
lena String
}
entity EntityWithServiceImplPaginationAndDTO {
theo String
}
entity Division {
name String required unique,
shortName String unique,
numberOfPeople Long,
divisionType DivisionType required,
colorBackground String,
colorText String
}
entity Place {
name String required,
numberOfSeats Long,
shortName String,
colorBackground String,
colorText String,
description TextBlob
}
entity SuperMegaLargeTestEntity
entity MapsIdParentEntityWithoutDTO (parent_entity_wo_dto) {
name String
}
entity MapsIdChildEntityWithoutDTO (child_entity_wo_dto) {
date Instant
}
entity MapsIdParentEntityWithDTO (maps_id_parent_entity_withdto) {
name String
}
entity MapsIdChildEntityWithDTO (maps_id_child_entity_withdto) {
date Instant
}
entity MapsIdUserProfileWithDTO (maps_id_user_profile_withdto) {
dateOfBirth Instant
}
enum BankAccountType {
CHECKING,
SAVINGS,
LOAN
}
enum EnumFieldClass {
ENUM_VALUE_1,
ENUM_VALUE_2,
ENUM_VALUE_3
}
enum EnumRequiredFieldClass {
ENUM_VALUE_1,
ENUM_VALUE_2,
ENUM_VALUE_3
}
enum DivisionType {
SCHOOL,
CLASS,
SUBGROUP
}
relationship OneToOne {
TestCustomTableName{userOneToOne(login)} to User,
TestEntity{userOneToOne(login)} to User,
TestInfiniteScroll{userOneToOne(login)} to User,
TestMapstruct{userOneToOne(login)} to User,
TestPagination{userOneToOne(login)} to User,
TestServiceClass{userOneToOne(login)} to User,
TestServiceImpl{userOneToOne(login)} to User,
TestTwoRelationshipsSameEntity{userOne} to User,
TestTwoRelationshipsSameEntity{userTwo} to User,
TestOneToOne{testEntity} to TestEntity{testOneToOne},
TestOneToOne{testMapstruct} to TestMapstruct{testOneToOne},
TestOneToOne{testServiceClass} to TestServiceClass{testOneToOne},
TestOneToOne{testServiceImpl} to TestServiceImpl{testOneToOne},
TestOneToOne{testInfiniteScroll} to TestInfiniteScroll{testOneToOne},
TestOneToOne{testPagination} to TestPagination{testOneToOne},
TestOneToOne{testCustomTableName} to TestCustomTableName{testOneToOne},
TestOneToOne{superMegaLargeTestEntity} to SuperMegaLargeTestEntity{superMegaLargeTestOneToOne},
SuperMegaLargeTestEntity{superMegaLargeUserOneToOne(login)} to User,
MapsIdChildEntityWithoutDTO{mapsIdParentEntityWithoutDTO} to MapsIdParentEntityWithoutDTO{mapsIdChildEntityWithoutDTO} with jpaDerivedIdentifier,
MapsIdChildEntityWithDTO{mapsIdParentEntityWithDTO} to MapsIdParentEntityWithDTO{mapsIdChildEntityWithDTO} with jpaDerivedIdentifier,
MapsIdUserProfileWithDTO{user(login)} to User with jpaDerivedIdentifier
}
relationship OneToMany {
BankAccount{operation} to Operation{bankAccount(name)},
TestEntity{testCustomTableName} to TestCustomTableName{testEntity required},
SuperMegaLargeTestEntity{superMegaLargeTestCustomTableName} to TestCustomTableName{superMegaLargeTestEntity required},
TestEntity{testManyToOne} to TestManyToOne{testEntity},
TestMapstruct{testManyToOne} to TestManyToOne{testMapstruct},
TestServiceClass{testManyToOne} to TestManyToOne{testServiceClass},
TestServiceImpl{testManyToOne} to TestManyToOne{testServiceImpl},
TestInfiniteScroll{testManyToOne} to TestManyToOne{testInfiniteScroll},
TestPagination{testManyToOne} to TestManyToOne{testPagination},
TestCustomTableName{testManyToOne} to TestManyToOne{testCustomTableName},
SuperMegaLargeTestEntity{superMegaLargeTestManyToOne} to TestManyToOne{superMegaLargeTestEntity},
Division{divisionsPlace} to Place{owner(name)}
}
relationship ManyToOne {
BankAccount{user(login)} to User,
TestCustomTableName{userOneToMany(login)} to User,
TestEntity{userOneToMany(login) required} to User,
TestInfiniteScroll{userOneToMany(login)} to User,
TestMapstruct{userOneToMany(login)} to User,
TestPagination{userOneToMany(login)} to User,
TestServiceClass{userOneToMany(login)} to User,
TestServiceImpl{userOneToMany(login)} to User,
TestTwoRelationshipsSameEntity{firstRelationship} to TestEntity,
TestTwoRelationshipsSameEntity{secondRelationship} to TestEntity,
TestTwoRelationshipsSameEntity{firstUniqueRequiredRelation required} to Division,
TestTwoRelationshipsSameEntity{secondUniqueRequiredRelation required} to Division,
SuperMegaLargeTestEntity{superMegaLargeUserOneToMany(login) required} to User
}
relationship ManyToMany {
Operation{label(labelName)} to Label{operation},
TestCustomTableName{userManyToMany(login)} to User,
TestEntity{userManyToMany(login)} to User,
TestInfiniteScroll{userManyToMany(login)} to User,
TestMapstruct{userManyToMany(login)} to User,
TestPagination{userManyToMany(login)} to User,
TestServiceClass{userManyToMany(login)} to User,
TestServiceImpl{userManyToMany(login)} to User,
TestManyRelPaginDTO{testMapstruct} to TestMapstruct{testManyRelPaginDTO},
TestManyToMany{testEntity} to TestEntity{testManyToMany},
TestManyToMany{testMapstruct} to TestMapstruct{testManyToMany},
TestManyToMany{testServiceClass} to TestServiceClass{testManyToMany},
TestManyToMany{testServiceImpl} to TestServiceImpl{testManyToMany},
TestManyToMany{testInfiniteScroll} to TestInfiniteScroll{testManyToMany},
TestManyToMany{testPagination} to TestPagination{testManyToMany},
TestManyToMany{testCustomTableName} to TestCustomTableName{testManyToMany},
TestManyToMany{superMegaLargeTestEntity} to SuperMegaLargeTestEntity{superMegaLargeTestManyToMany},
Place{preferredDivision(name)} to Division{preferredPlace},
SuperMegaLargeTestEntity{superMegaLargeUserManyToMany(login)} to User
}
dto BankAccount, FieldTestMapstructEntity, TestMapstruct, TestManyRelPaginDTO, EntityWithDTO, EntityWithServiceClassAndDTO, EntityWithServiceImplAndDTO, EntityWithPaginationAndDTO, EntityWithServiceClassPaginationAndDTO, EntityWithServiceImplPaginationAndDTO, MapsIdParentEntityWithDTO, MapsIdChildEntityWithDTO, MapsIdUserProfileWithDTO with mapstruct
service BankAccount, FieldTestServiceImplEntity, TestServiceImpl, TestManyRelPaginDTO, EntityWithServiceImpl, EntityWithServiceImplAndPagination, EntityWithServiceImplAndDTO, EntityWithServiceImplPaginationAndDTO, MapsIdParentEntityWithDTO, MapsIdChildEntityWithDTO, MapsIdUserProfileWithDTO with serviceImpl
service Label, FieldTestMapstructEntity, FieldTestServiceClassEntity, TestServiceClass, EntityWithServiceClass, EntityWithServiceClassAndPagination, EntityWithServiceClassAndDTO, EntityWithServiceClassPaginationAndDTO with serviceClass
angularSuffix BankAccount, TestTwoRelationshipsSameEntity, TestManyRelPaginDTO, TestManyToMany, TestManyToOne, TestOneToOne with mySuffix
angularSuffix TestEntity, SuperMegaLargeTestEntity with mySuffixAlt
filter BankAccount, FieldTestServiceClassEntity, TestEntity, TestServiceClass, TestServiceImpl, SuperMegaLargeTestEntity
clientRootFolder BankAccount, Label, Operation, Division, Place with test-root
paginate Label, FieldTestPaginationEntity, TestPagination, TestManyRelPaginDTO, EntityWithPagination, EntityWithServiceClassAndPagination, EntityWithServiceImplAndPagination, EntityWithPaginationAndDTO, EntityWithServiceClassPaginationAndDTO, EntityWithServiceImplPaginationAndDTO with pagination
paginate Operation, FieldTestInfiniteScrollEntity, TestInfiniteScroll with infinite-scroll
readOnly Label
openjdk version "11.0.4" 2019-07-16
OpenJDK Runtime Environment (build 11.0.4+11-post-Ubuntu-1ubuntu218.04.3)
OpenJDK 64-Bit Server VM (build 11.0.4+11-post-Ubuntu-1ubuntu218.04.3, mixed mode)
git version 2.23.0
node: v12.13.0
npm: 6.13.1
yarn: 1.19.2
Docker version 3.0.8, build 2355349d
docker-compose version 1.22.0, build f46880fe
INFO! Congratulations, JHipster execution is complete!
I'm adding a bounty on this as it will require a lot of analyze / work I think
Importing this JDL with current master gives error:
error: Error message:
NoViableAltException: Expecting: one of these possible Token sequences:
1. ['jpaDerivedIdentifier']
but found: 'MapsIdChildEntityWithDTO'
at line: 437, column: 3
Error during import-jdl: Error: NoViableAltException: Expecting: one of these possible Token sequences:
1. ['jpaDerivedIdentifier']
but found: 'MapsIdChildEntityWithDTO'
at line: 437, column: 3
SyntaxError: Error: NoViableAltException: Expecting: one of these possible Token sequences:
1. ['jpaDerivedIdentifier']
but found: 'MapsIdChildEntityWithDTO'
at line: 437, column: 3
at callApiMethod (C:\projects\kaido-github\generator-jhipster\node_modules\jhipster-core\lib\readers\jdl_reader.js:99:11)
at parse (C:\projects\kaido-github\generator-jhipster\node_modules\jhipster-core\lib\readers\jdl_reader.js:83:10)
at Object.parseFromFiles (C:\projects\kaido-github\generator-jhipster\node_modules\jhipster-core\lib\readers\jdl_reader.js:42:10)
at parseFiles (C:\projects\kaido-github\generator-jhipster\node_modules\jhipster-core\lib\jdl\jdl_importer.js:106:20)
at Object.createImporterFromFiles (C:\projects\kaido-github\generator-jhipster\node_modules\jhipster-core\lib\jdl\jdl_importer.js:48:19)
at JDLProcessor.importJDL (C:\projects\kaido-github\generator-jhipster\cli\import-jdl.js:296:36)
at module.exports (C:\projects\kaido-github\generator-jhipster\cli\import-jdl.js:465:21)
at Command.<anonymous> (C:\projects\kaido-github\generator-jhipster\cli\cli.js:71:36)
at Command.listener (C:\projects\kaido-github\generator-jhipster\node_modules\commander\index.js:315:8)
at Command.emit (events.js:210:5)
@kaidohallik : I extracted the jhipster info directly from the logs, I think I did a bad copy/paste when cleaning timestamp
Let me update this ticket when I will be with my computer
@kaidohallik : just generated the project locally, and did an export-jdl which is incorrect I think...
Some more analyze on this:
jhipster export-jdl or jhipster info are correct, and both same for v6.4.1 and v6.5.1entity.jdlis generated, I can't import as I got the same error mentioned by @kaidohallik Trying to analyze more...
Removing the jpaThing option from lines 437 & 438 works, but I don't know why...
Simpler failing sample:
entity MapsIdChildEntityWithoutDTO
entity MapsIdParentEntityWithoutDTO
entity MapsIdChildEntityWithDTO
entity MapsIdParentEntityWithDTO
relationship OneToOne {
MapsIdChildEntityWithoutDTO{mapsIdParentEntityWithoutDTO} to MapsIdParentEntityWithoutDTO{mapsIdChildEntityWithoutDTO} with jpaDerivedIdentifier,
MapsIdChildEntityWithDTO{mapsIdParentEntityWithDTO} to MapsIdParentEntityWithDTO{mapsIdChildEntityWithDTO} with jpaDerivedIdentifier
}
removing the commas seems to make the issue disappear... that's nuts
I push the repo here : https://github.com/pascalgrimaud/jh-issue-10824
So it will be easier to reproduce the initial issue.
Fixed in JCore (commit in 5 minutes), will release very soon
Thanks @MathieuAA, so with your fix, the JDL can be imported correctly now, but the issue with React and e2e tests is still there.
I think it's related the size of menu, as found in other ticket
After quick look at React UI I noticed that React doesn't use bold on a:hover - so if my theory confirms in Angular part that this bold causes failures (all tests confirm that) then in React this must be something else.
@MathieuAA Thanks for the fix!
Now I was able to generate from this JDL. I noticed that there is one big difference between Angular and React UI in menus if menu height exceeds browser page height:
I believe that if we could configure React menus so that user has possibility to click also on currently hidden menu items then Protractor errors can disappear.
@kaidohallik great analysis!
I tried the old trick: changed browser height from 1024 to 10240 and this fixed some of the tests, after this change 20 errors remained. So seems that the problem "lower part of the menu is not visible and accessible to the user" is only one problem, seems that some other problems exist.
Failing tests if browser height is 10240
146 passing (19m)
20 failing
1) TestInfiniteScroll e2e test
should create and save TestInfiniteScrolls:
TimeoutError: Failed while waiting for "By(css selector, *[id="save-entity"])" of Page Object Class '' to be hidden.
Wait timed out after 30020ms
at C:\projects\teest\jhipster-react-no-bold\node_modules\selenium-webdriver\lib\promise.js:2201:17
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:93:5)
2) TestInfiniteScroll e2e test
should delete last TestInfiniteScroll:
TimeoutError: Failed while waiting for "By(css selector, div table .btn-danger)" of Page Object Class '' to display.
Wait timed out after 30003ms
at C:\projects\teest\jhipster-react-no-bold\node_modules\selenium-webdriver\lib\promise.js:2201:17
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:93:5)
3) TestManyRelPaginDTO e2e test
should create and save TestManyRelPaginDTOS:
TimeoutError: Failed while waiting for "By(css selector, *[id="save-entity"])" of Page Object Class '' to be hidden.
Wait timed out after 30009ms
at C:\projects\teest\jhipster-react-no-bold\node_modules\selenium-webdriver\lib\promise.js:2201:17
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:93:5)
4) TestManyRelPaginDTO e2e test
should delete last TestManyRelPaginDTO:
TimeoutError: Failed while waiting for "By(css selector, div table .btn-danger)" of Page Object Class '' to display.
Wait timed out after 30000ms
at C:\projects\teest\jhipster-react-no-bold\node_modules\selenium-webdriver\lib\promise.js:2201:17
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:93:5)
5) TestManyToMany e2e test
should create and save TestManyToManies:
TimeoutError: Failed while waiting for "By(css selector, *[id="save-entity"])" of Page Object Class '' to be hidden.
Wait timed out after 30005ms
at C:\projects\teest\jhipster-react-no-bold\node_modules\selenium-webdriver\lib\promise.js:2201:17
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:93:5)
6) TestManyToMany e2e test
should delete last TestManyToMany:
TimeoutError: Failed while waiting for "By(css selector, div table .btn-danger)" of Page Object Class '' to display.
Wait timed out after 30006ms
at C:\projects\teest\jhipster-react-no-bold\node_modules\selenium-webdriver\lib\promise.js:2201:17
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:93:5)
7) TestMapstruct e2e test
should create and save TestMapstructs:
TimeoutError: Failed while waiting for "By(css selector, *[id="save-entity"])" of Page Object Class '' to be hidden.
Wait timed out after 30024ms
at C:\projects\teest\jhipster-react-no-bold\node_modules\selenium-webdriver\lib\promise.js:2201:17
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:93:5)
8) TestMapstruct e2e test
should delete last TestMapstruct:
TimeoutError: Failed while waiting for "By(css selector, div table .btn-danger)" of Page Object Class '' to display.
Wait timed out after 30002ms
at C:\projects\teest\jhipster-react-no-bold\node_modules\selenium-webdriver\lib\promise.js:2201:17
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:93:5)
9) TestOneToOne e2e test
should create and save TestOneToOnes:
TimeoutError: Failed while waiting for "By(css selector, *[id="save-entity"])" of Page Object Class '' to be hidden.
Wait timed out after 30017ms
at C:\projects\teest\jhipster-react-no-bold\node_modules\selenium-webdriver\lib\promise.js:2201:17
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:93:5)
10) TestOneToOne e2e test
should delete last TestOneToOne:
TimeoutError: Failed while waiting for "By(css selector, div table .btn-danger)" of Page Object Class '' to display.
Wait timed out after 30007ms
at C:\projects\teest\jhipster-react-no-bold\node_modules\selenium-webdriver\lib\promise.js:2201:17
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:93:5)
11) TestPagination e2e test
should create and save TestPaginations:
TimeoutError: Failed while waiting for "By(css selector, *[id="save-entity"])" of Page Object Class '' to be hidden.
Wait timed out after 30011ms
at C:\projects\teest\jhipster-react-no-bold\node_modules\selenium-webdriver\lib\promise.js:2201:17
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:93:5)
12) TestPagination e2e test
should delete last TestPagination:
TimeoutError: Failed while waiting for "By(css selector, div table .btn-danger)" of Page Object Class '' to display.
Wait timed out after 30008ms
at C:\projects\teest\jhipster-react-no-bold\node_modules\selenium-webdriver\lib\promise.js:2201:17
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:93:5)
13) Division e2e test
should create and save Divisions:
TimeoutError: Failed while waiting for "By(css selector, *[id="save-entity"])" of Page Object Class '' to be hidden.
Wait timed out after 30012ms
at C:\projects\teest\jhipster-react-no-bold\node_modules\selenium-webdriver\lib\promise.js:2201:17
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:93:5)
14) Division e2e test
should delete last Division:
TimeoutError: Failed while waiting for "By(css selector, div table .btn-danger)" of Page Object Class '' to display.
Wait timed out after 30005ms
at C:\projects\teest\jhipster-react-no-bold\node_modules\selenium-webdriver\lib\promise.js:2201:17
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:93:5)
15) Place e2e test
should create and save Places:
TimeoutError: Failed while waiting for "By(css selector, *[id="save-entity"])" of Page Object Class '' to be hidden.
Wait timed out after 30025ms
at C:\projects\teest\jhipster-react-no-bold\node_modules\selenium-webdriver\lib\promise.js:2201:17
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:93:5)
16) Place e2e test
should delete last Place:
TimeoutError: Failed while waiting for "By(css selector, div table .btn-danger)" of Page Object Class '' to display.
Wait timed out after 30000ms
at C:\projects\teest\jhipster-react-no-bold\node_modules\selenium-webdriver\lib\promise.js:2201:17
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:93:5)
17) TestServiceClass e2e test
should create and save TestServiceClasses:
TimeoutError: Failed while waiting for "By(css selector, *[id="save-entity"])" of Page Object Class '' to be hidden.
Wait timed out after 30015ms
at C:\projects\teest\jhipster-react-no-bold\node_modules\selenium-webdriver\lib\promise.js:2201:17
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:93:5)
18) TestServiceClass e2e test
should delete last TestServiceClass:
TimeoutError: Failed while waiting for "By(css selector, div table .btn-danger)" of Page Object Class '' to display.
Wait timed out after 30004ms
at C:\projects\teest\jhipster-react-no-bold\node_modules\selenium-webdriver\lib\promise.js:2201:17
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:93:5)
19) TestServiceImpl e2e test
should create and save TestServiceImpls:
TimeoutError: Failed while waiting for "By(css selector, *[id="save-entity"])" of Page Object Class '' to be hidden.
Wait timed out after 30005ms
at C:\projects\teest\jhipster-react-no-bold\node_modules\selenium-webdriver\lib\promise.js:2201:17
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:93:5)
20) TestServiceImpl e2e test
should delete last TestServiceImpl:
TimeoutError: Failed while waiting for "By(css selector, div table .btn-danger)" of Page Object Class '' to display.
Wait timed out after 30008ms
at C:\projects\teest\jhipster-react-no-bold\node_modules\selenium-webdriver\lib\promise.js:2201:17
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:93:5)
[11:32:27] I/launcher - 0 instance(s) of WebDriver still running
[11:32:27] I/launcher - chrome #01 failed 20 test(s)
[11:32:27] I/launcher - overall: 20 failed spec(s)
[11:32:27] E/launcher - Process exited with error code 1
Increasing the bounty as the builds for React failed since more than 2 months now...
If no one is looking over it, I can try to spend some time later next week.
Thanks a lot @vishal423
But there can be several issue in this one, so don't hesitate to split into specific tickets if needed. And tell me I should put bounty on these other tickets too
I think I have most of the test cases under control except the ones related to elastic search.
I did some analysis on failures and I believe the culprit is the incorrect usage of hooks.
As an example, on the List page of an entity with search (elastic-search) capability, I can see four useEffects hooks defined to fetch data. Looking at Network Manager, I can confirm my suspicion of four calls being made to the back-end (one to search endpoint and three to getAll endpoint).
http://localhost:8080/api/_search/entity-with-pagination-and-dtos?query=&page=0&size=20&sort=id,asc
http://localhost:8080/api/entity-with-pagination-and-dtos?page=0&size=20&sort=id,asc&cacheBuster=1580467035544
http://localhost:8080/api/entity-with-pagination-and-dtos?cacheBuster=1580467035561
http://localhost:8080/api/entity-with-pagination-and-dtos?page=0&size=20&sort=id,asc&cacheBuster=1580467035568
The response of the above calls varies; especially the search endpoint as that returns the empty array when the query parameter is empty. Considering the response uncertainty and race conditions of api calls, you may view correct # of records on the list page or an empty record label. In the later situation, the create test case assertion fails and the subsequent delete test also fails.
I think it would be better to create a separate issue to revisit the usage of hooks across different scenarios. I can raise PR with current changes and revisit later if any improvements required after fixing the hooks usage.
@jhipster/developers, Let me know your views on this.
agree with you. Let open a separate issue for Elasticsearch
@pascalgrimaud, excluding elasticsearch flow, I think the react builds are a bit stable. Do you see any other flow that's still failing and require investigation / fix?
@vishal423 : there are still some flaky tests with React during the account e2e part (update or delete the created user), we can have the information by looking into the daily builds. But it's another issue !
just approuved, thanks @vishal423