Details

    • Type: Testing
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: JS APIs and Utilities
    • Labels:
      None

      Description

      Create test automation to validate the critical test scenarios/cases of the related story.

      The focus of this task is to implement the CRITICAL and MAJOR tests of the parent epic, but if you believe that can and have time to implement the lower priority tests please, create one more subtask to it, and go ahead! 

       

      Requirement Test Scenarios Covered by frontend/backend Unit Test? Test Priority (business impact)  Chrome
      Pass/Fail
      cli tool is intended for non-ootb portal projects. Meaning js projects created from cli/scratch/workspace/template/etc Given `@liferay/cli` is used via npx
      When run `npx liferay new my-react-project-test`
      Then a module is created with all necessary js dependencies for the given target platform (ie: *-7.4-GA1)
      no 5-critical  
        Given `@liferay/cli` is used via npx
      When run `liferay new my-react-project-test`
      And When input an invalid platform (ie: *-7.3-GA1)
      Then error message is given and module is not created
      no 4-major  
      allow developers to only have a single dependency for their JS project and scope it to a single release of dxp Given a sample-project index.js/App.js referencing several known dependencies
      And Given package.json file under dependency only lists "@liferay/portal-7.4-ga1": "^1.0.0"
      And Given package.json contains a build script with `liferay build`
      When run `npm build`
      Then the project is built with all known 7.4 GA1 js dependencies listed in the package.json file
      And Then only the minimum necessary dependencies are defined by Liferay AMDLoader
      no 5-critical  

       

        Attachments

          Activity

            People

            Assignee:
            support-qa Support QA
            Reporter:
            john.co John Co
            Recent user:
            John Co
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:

                Packages

                Version Package