Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-98059

js-unit-jdk8 test failures due to debounce change

    Details

    • Type: Regression Bug
    • Status: Closed
    • Resolution: No Longer Reproducible
    • Affects Version/s: 7.2.X, Master
    • Fix Version/s: 7.2.X, Master
    • Labels:
      None
    • Fix Priority:
      2

      Description

      Full log: https://test-1-22.liferay.com/job/test-portal-acceptance-pullrequest-batch(master)/AXIS_VARIABLE=0,label_exp=!master/176040//consoleText

      segments-web
           [exec] > Task :apps:segments:segments-web:npmRunTest FAILED
           [exec] PASS test/js/components/criteria_builder/CriteriaGroup.es.js
           [exec] PASS test/js/components/shared/ClayToggle.es.js
           [exec] FAIL test/js/components/segment_edit/SegmentEdit.es.js
           [exec]   ??? Test suite failed to run
           [exec] 
           [exec]     Cannot find module 'frontend-js-web' from 'SegmentEdit.es.js'
           [exec] 
           [exec]       27 | 	initialContributorsToContributors
           [exec]       28 | } from '../../utils/contributors.es';
           [exec]     > 29 | import {debounce} from 'frontend-js-web';
           [exec]          | ^
           [exec]       30 | import {FieldArray, withFormik} from 'formik';
           [exec]       31 | import {initialContributorShape} from '../../utils/types.es';
           [exec]       32 | import {
           [exec] 
           [exec]       at Resolver.resolveModule (../../../node_modules/jest-resolve/build/index.js:202:17)
           [exec]       at Object.<anonymous> (src/main/resources/META-INF/resources/js/components/segment_edit/SegmentEdit.es.js:29:1)
           [exec] 
           [exec] PASS test/js/components/criteria_sidebar/CriteriaSidebar.es.js
           [exec] PASS test/js/components/criteria_sidebar/CriteriaSidebarItem.es.js
           [exec] PASS test/js/components/criteria_builder/CriteriaBuilder.es.js
           [exec] PASS test/js/components/criteria_builder/ContributorsBuilder.es.js (7.773s)
           [exec] 
           [exec] Summary of all failing tests
           [exec] FAIL test/js/components/segment_edit/SegmentEdit.es.js
           [exec]   ??? Test suite failed to run
           [exec] 
           [exec]     Cannot find module 'frontend-js-web' from 'SegmentEdit.es.js'
           [exec] 
           [exec]       27 | 	initialContributorsToContributors
           [exec]       28 | } from '../../utils/contributors.es';
           [exec]     > 29 | import {debounce} from 'frontend-js-web';
           [exec]          | ^
           [exec]       30 | import {FieldArray, withFormik} from 'formik';
           [exec]       31 | import {initialContributorShape} from '../../utils/types.es';
           [exec]       32 | import {
           [exec] 
           [exec]       at Resolver.resolveModule (../../../node_modules/jest-resolve/build/index.js:202:17)
           [exec]       at Object.<anonymous> (src/main/resources/META-INF/resources/js/components/segment_edit/SegmentEdit.es.js:29:1)
      document-library-preview-image
           [exec] > Task :apps:document-library:document-library-preview-image:npmRunTest FAILED
           [exec] yarn run v1.13.0
           [exec] $ liferay-npm-scripts test
           [exec] Compiling soy
           [exec] Generated src/main/resources/META-INF/resources/preview/js/ImagePreviewer.soy.js
           [exec] Finished compiling soy
           [exec] FAIL test/ImagePreviewer.es.js
           [exec]   ??? Test suite failed to run
           [exec] 
           [exec]     Cannot find module 'frontend-js-web' from 'ImagePreviewer.es.js'
           [exec] 
           [exec]       14 | 
           [exec]       15 | import {Config} from 'metal-state';
           [exec]     > 16 | import {debounce} from 'frontend-js-web';
           [exec]          | ^
           [exec]       17 | import Component from 'metal-component';
           [exec]       18 | import Soy from 'metal-soy';
           [exec]       19 | import 'clay-button';
           [exec] 
           [exec]       at Resolver.resolveModule (../../../node_modules/jest-resolve/build/index.js:202:17)
           [exec]       at Object.<anonymous> (src/main/resources/META-INF/resources/preview/js/ImagePreviewer.es.js:16:1)
      document-library-preview-document
           [exec] > Task :apps:document-library:document-library-preview-document:npmRunTest FAILED
           [exec] yarn run v1.13.0
           [exec] $ liferay-npm-scripts test
           [exec] Compiling soy
           [exec] Generated src/main/resources/META-INF/resources/preview/js/DocumentPreviewer.soy.js
           [exec] Finished compiling soy
           [exec] FAIL test/DocumentPreviewer.es.js
           [exec]   ??? Test suite failed to run
           [exec] 
           [exec]     Cannot find module 'frontend-js-web' from 'DocumentPreviewer.es.js'
           [exec] 
           [exec]       14 | 
           [exec]       15 | import {Config} from 'metal-state';
           [exec]     > 16 | import {debounce} from 'frontend-js-web';
           [exec]          | ^
           [exec]       17 | import Component from 'metal-component';
           [exec]       18 | import imagePromise from 'image-promise';
           [exec]       19 | import Soy from 'metal-soy';
           [exec] 
           [exec]       at Resolver.resolveModule (../../../node_modules/jest-resolve/build/index.js:202:17)
           [exec]       at Object.<anonymous> (src/main/resources/META-INF/resources/preview/js/DocumentPreviewer.es.js:16:1)
           [exec] FAIL test/js/components/segment_edit/SegmentEdit.es.js
           [exec]   ??? Test suite failed to run
           [exec] 
           [exec]     Cannot find module 'frontend-js-web' from 'SegmentEdit.es.js'
           [exec] 
           [exec]       27 | 	initialContributorsToContributors
           [exec]       28 | } from '../../utils/contributors.es';
           [exec]     > 29 | import {debounce} from 'frontend-js-web';
           [exec]          | ^
           [exec]       30 | import {FieldArray, withFormik} from 'formik';
           [exec]       31 | import {initialContributorShape} from '../../utils/types.es';
           [exec]       32 | import {
           [exec] 
           [exec]       at Resolver.resolveModule (../../../node_modules/jest-resolve/build/index.js:202:17)
           [exec]       at Object.<anonymous> (src/main/resources/META-INF/resources/js/components/segment_edit/SegmentEdit.es.js:29:1)
           [exec] 
           [exec] Summary of all failing tests
           [exec] FAIL test/js/components/segment_edit/SegmentEdit.es.js
           [exec]   ??? Test suite failed to run
           [exec] 
           [exec]     Cannot find module 'frontend-js-web' from 'SegmentEdit.es.js'
           [exec] 
           [exec]       27 | 	initialContributorsToContributors
           [exec]       28 | } from '../../utils/contributors.es';
           [exec]     > 29 | import {debounce} from 'frontend-js-web';
           [exec]          | ^
           [exec]       30 | import {FieldArray, withFormik} from 'formik';
           [exec]       31 | import {initialContributorShape} from '../../utils/types.es';
           [exec]       32 | import {
           [exec] 
           [exec]       at Resolver.resolveModule (../../../node_modules/jest-resolve/build/index.js:202:17)
           [exec]       at Object.<anonymous> (src/main/resources/META-INF/resources/js/components/segment_edit/SegmentEdit.es.js:29:1)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                john.co John Co
                Reporter:
                brian.lee Brian Lee
                Participants of an Issue:
                Recent user:
                John Co
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  6 weeks, 3 days ago

                  Packages

                  Version Package
                  7.2.X
                  Master