Uploaded image for project: 'Document Management System'
  1. Document Management System
  2. DMS-1857

Test cases needs to be added for Template Library page in Jasmine.

    Details

    • Type: New Feature
    • Status: Done
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: None
    • Labels:
      None
    • Company:
      All Clients/Multiple Clients

      Description

      Test cases for the Template Library has to be written in Jasmine.

      Acceptance Criteria
      1. All the elements of the Template Library page needs to be checked after page load.

      Entry Criteria
      1. ng test should test all the cases written for checking the elements of Template Library page.

      Exit Criteria
      1. All basic elements along with their attributes will be checked for accuracy.

        Attachments

          Issue Links

            Activity

            mohd.belal Mohd Belal (Inactive) created issue -
            mohd.belal Mohd Belal (Inactive) made changes -
            Field Original Value New Value
            Status To Do [ 10000 ] In Progress [ 3 ]
            mohd.belal Mohd Belal (Inactive) logged work - 09/Sep/19 02:02 AM
            • Time Spent:
              8h
               
              <No comment>
            mohd.belal Mohd Belal (Inactive) made changes -
            Remaining Estimate 16h [ 57600 ] 8h [ 28800 ]
            Time Spent 8h [ 28800 ]
            Worklog Id 199069 [ 199069 ]
            mohd.belal Mohd Belal (Inactive) logged work - 10/Sep/19 02:19 AM
            • Time Spent:
              1h
               
              <No comment>
            mohd.belal Mohd Belal (Inactive) logged work - 10/Sep/19 04:33 AM
            • Time Spent:
              7h
               
              <No comment>
            mohd.belal Mohd Belal (Inactive) made changes -
            mohd.belal Mohd Belal (Inactive) made changes -
            Remaining Estimate 8h [ 28800 ] 1h [ 3600 ]
            Time Spent 8h [ 28800 ] 15h [ 54000 ]
            Worklog Id 199377 [ 199377 ]
            mohd.belal Mohd Belal (Inactive) made changes -
            Status In Progress [ 3 ] Code Review [ 11801 ]
            mohd.belal Mohd Belal (Inactive) made changes -
            Description Test cases for the Template Library has to be written in Jasmine.

            *Acceptance Criteria*
            1. All the elements of the Template Library page needs to be checked after page load.

            *Entry Criteria*
            1. *ng tes*t should test all the cases written for checking the elements of Template Library page.

            *Exit Criteria*
            1. All basic elements along with their attributes will be checked for accuracy.
            Test cases for the Template Library has to be written in Jasmine.

            *Acceptance Criteria*
            1. All the elements of the Template Library page needs to be checked after page load.

            *Entry Criteria*
            1. *ng test* should test all the cases written for checking the elements of Template Library page.

            *Exit Criteria*
            1. All basic elements along with their attributes will be checked for accuracy.
            Hide
            mohd.belal Mohd Belal (Inactive) added a comment - - edited

            Hi,
            Following is the Test Report and Code Coverage Report as attached in the screenshot for 2 components in Angular:

            Components are:
            1. Template Library
            2. Create Document Template

            Also attached is the console listing the number of Test cases Passed and Failed.

            Currently we have 55 Test cases which passed successfully .

            For running the Code Coverage Report following is the command we need need to run in terminal:

            ng test --code-coverage
            http-server -c-1 -o -p 9875 ./coverage
            

            cc - Samir
            Thanks

            Show
            mohd.belal Mohd Belal (Inactive) added a comment - - edited Hi, Following is the Test Report and Code Coverage Report as attached in the screenshot for 2 components in Angular: Components are: 1. Template Library 2. Create Document Template Also attached is the console listing the number of Test cases Passed and Failed. Currently we have 55 Test cases which passed successfully . For running the Code Coverage Report following is the command we need need to run in terminal: ng test --code-coverage http-server -c-1 -o -p 9875 ./coverage cc - Samir Thanks
            mohd.belal Mohd Belal (Inactive) made changes -
            mohd.belal Mohd Belal (Inactive) made changes -
            shashikant.mishra ShashiKant Mishra (Inactive) made changes -
            Sprint DMS - Gap Fall & Win Sprint 3 [ 177 ] DMS - Gap Fall & Win Sprint 3, DMS - Gap Fall & Win Sprint 4 [ 177, 179 ]
            shashikant.mishra ShashiKant Mishra (Inactive) made changes -
            Sprint DMS - Gap Fall & Win Sprint 3, DMS - Gap Fall & Win Sprint 4 [ 177, 179 ] DMS - Gap Fall & Win Sprint 3, DMS - Gap Fall & Win Sprint 4, DMS - Gap Fall & Win Sprint 5 [ 177, 179, 181 ]
            mohd.belal Mohd Belal (Inactive) made changes -
            Link This issue relates to DMS-1947 [ DMS-1947 ]
            mohd.belal Mohd Belal (Inactive) made changes -
            Link This issue relates to DMS-1956 [ DMS-1956 ]
            mohd.belal Mohd Belal (Inactive) made changes -
            Resolution Done [ 10000 ]
            Status Code Review [ 11801 ] Done [ 10001 ]
            mohd.belal Mohd Belal (Inactive) made changes -
            Remaining Estimate 1h [ 3600 ] 0h [ 0 ]
            Time Spent 15h [ 54000 ] 16h [ 57600 ]
            Worklog Id 206653 [ 206653 ]
            Transition Time In Source Status Execution Times
            Mohd Belal (Inactive) made transition -
            To Do In Progress
            3h 7m 1
            Mohd Belal (Inactive) made transition -
            In Progress Code Review
            4d 1h 31m 1
            Mohd Belal (Inactive) made transition -
            Code Review Done
            33d 17h 6m 1

              People

              Assignee:
              mohd.belal Mohd Belal (Inactive)
              Reporter:
              mohd.belal Mohd Belal (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 28h Original Estimate - 28h
                  28h
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 34h
                  34h