Kuali Rice Development
  1. Kuali Rice Development
  2. KULRICE-13936

AFT Failure DemoTravelAccountMaintenanceViewPermissionAft Download Attachment button not present

    Details

    • Type: Bug Fix Bug Fix
    • Status: Closed Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 2.5.1
    • Fix Version/s: 2.5.1
    • Component/s: Development, Regression
    • Security Level: Public (Public: Anyone can view)
    • Labels:
      None
    • Similar issues:
      KULRICE-13017AFT Failure LabsLookupWithoutSearchButtonAft search button present
      KULRICE-13330AFT Failure DemoTravelAuthorizationPessimisticLockingAft.testPessimisticLockingOnRoute full lock is not present in CI
      KULRICE-11654AFT Failure krad.labs.inquiries.LabsInquiryAttributionDefinitionFormattingAft Text: ******1212 labeled by: Phone Number: not present.
      KULRICE-13212AFT Failure LabsLookupTravelAuthorizationDocumentCopyActionAft copy link no longer present
      KULRICE-11632AFT Failure Rice Sampleapp Create New PeopleFlow Attachments no longer added
      KULRICE-14022AFT Failure: edu.sampleu.krad.reference.ExternalIdentifierTypeAft
      KULRICE-12672AFT Failure LabsLookupWithUserControlAft myPrincipalName not present in the managed type
      KULRICE-11829AFT Failure PeopleFlowCreateNewNotesAndAttachmentsAft Note Text is a required field is not present
      KULRICE-10011Cannot download note attachments on documents
      KULRICE-14170AFT Failure : AgendaEditorAndOrToggleSyncAft
    • Rice Team:
      Middleware
    • Sprint:
      Middleware 2.5.1 Sprint 2
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required
    • Code Review Status:
      Not Required
    • Story Points:
      1

      Description

      AFT Step: Open http://env14.rice.kuali.org/kr-krad/kradsampleapp?viewId=KradSampleAppHome
      AFT Step: Click Demo Link
      AFT Step: Click Travel Account Maintenance (New) link.
      AFT Step: Type into document.documentHeader.documentDescription the text: Travel Account Maintenance AdHoc Recipients Document 14132he922667
      AFT Step: Type into document.newMaintainableObject.dataObject.number the text: 2667
      AFT Step: Type into document.newMaintainableObject.dataObject.name the text: 14132he922667
      AFT Step: Type into newCollectionLines['document.notes'].noteText the text: Bonzo!
      AFT Step: Type into attachmentFile the text: /var/folders/g4/mx49t0p54dbgfl_bzbcf_qt00000gn/T/junit1074033552408781357/attachment.oth
      AFT Step: Select OTH from newCollectionLines['document.notes'].attachment.attachmentTypeCode
      AFT Step: Is text 'Bonzo!' present? true
      AFT Step: Assert text 'attachment.oth' is present.
      AFT Step: Click Ad Hoc Recipients link.
      AFT Step: Type into newCollectionLines['document.adHocRoutePersons'].id the text: dev1
      AFT Step: Click Submit button.
      AFT Step: Click OK Confirmation
      AFT Step: Is text 'Document was successfully submitted.' present? true
      AFT Step: Is text 'Document was successfully submitted.' present? true
      AFT Step: Type into backdoorId the text: dev1
      AFT Step: Click Backdoor Login
      AFT Step: Assert text 'Bonzo!' is present.
      AFT Step: Assert text 'attachment.oth' is present.
      AFT Step: Assert Download Attachment button is enabled

      DemoTravelAccountMaintenanceViewPermissionAft.testDemoTravelAccountViewPermissionT2Nav
      org.kuali.rice.krad.demo.travel.account.DemoTravelAccountMaintenanceViewPermissionAft.testDemoTravelAccountViewPermissionT2Nav
      http://ci.kuali.org/view/rice/view/2.5/view/release/job/rice-2.5-test-functional-env14-jenkins-krad-sampleapp/lastCompletedBuild/testReport/org.kuali.rice.krad.demo.travel.account/DemoTravelAccountMaintenanceViewPermissionAft/testDemoTravelAccountViewPermissionT2Nav/

      DemoTravelAccountMaintenanceViewPermissionAft.testDemoTravelAccountViewPermissionT2Bookmark
      org.kuali.rice.krad.demo.travel.account.DemoTravelAccountMaintenanceViewPermissionAft.testDemoTravelAccountViewPermissionT2Bookmark
      http://ci.kuali.org/view/rice/view/2.5/view/release/job/rice-2.5-test-functional-env14-jenkins-krad-sampleapp/lastCompletedBuild/testReport/org.kuali.rice.krad.demo.travel.account/DemoTravelAccountMaintenanceViewPermissionAft/testDemoTravelAccountViewPermissionT2Bookmark/

        Issue Links

          Activity

          Hide
          Steve Edgar (Inactive) added a comment -

          If I impex and run this test locally, it passes. If I run it against env14, it fails, as described in this case.

          When I look at KIM roles and permissions locally, I see that the principal ID "dev1" has the role "Sample App Admin", to which this permission is assigned ...

          attachmentTypeCode=OTH, documentTypeName=TravelDocument

          When I look at KIM roles and permissions on env14, I see that the principal ID "dev1" has the role "Sample App Admin", but that role is not assigned the permission ...

          attachmentTypeCode=OTH, documentTypeName=TravelDocument

          The test in this case uses the principal ID "dev1". This explains the test passing locally, but failing on env14.

          What I'm not sure of is why the difference in assigned permissions between my local instance and env14 (Am adding Kristina as a watcher in case she knows a possible cause for this.)

          Show
          Steve Edgar (Inactive) added a comment - If I impex and run this test locally, it passes. If I run it against env14, it fails, as described in this case. When I look at KIM roles and permissions locally, I see that the principal ID "dev1" has the role "Sample App Admin", to which this permission is assigned ... attachmentTypeCode=OTH, documentTypeName=TravelDocument When I look at KIM roles and permissions on env14, I see that the principal ID "dev1" has the role "Sample App Admin", but that role is not assigned the permission ... attachmentTypeCode=OTH, documentTypeName=TravelDocument The test in this case uses the principal ID "dev1". This explains the test passing locally, but failing on env14. What I'm not sure of is why the difference in assigned permissions between my local instance and env14 (Am adding Kristina as a watcher in case she knows a possible cause for this.)
          Hide
          Steve Edgar (Inactive) added a comment -

          Consulted with Kristina, who found that the MySQL and Oracle SQL files which create the KIM permission and role assignments differed in that the MySQL version did not assign the needed permission to the role “Sample App Admin”. However, the Oracle version did make this assignment.

          Kristina reports that “Impex is taken off Oracle”, and that “My SQL is used to populate the databases of the running environments.” This explains why the test passes locally, but fails on env14.

          Kristina will coordinate with Martin to add the missing INSERT statement to the MySQL file. After that, we’ll wait for the AFT to run a few times, to make sure there are no other problems.

          Show
          Steve Edgar (Inactive) added a comment - Consulted with Kristina, who found that the MySQL and Oracle SQL files which create the KIM permission and role assignments differed in that the MySQL version did not assign the needed permission to the role “Sample App Admin”. However, the Oracle version did make this assignment. Kristina reports that “Impex is taken off Oracle”, and that “My SQL is used to populate the databases of the running environments.” This explains why the test passes locally, but fails on env14. Kristina will coordinate with Martin to add the missing INSERT statement to the MySQL file. After that, we’ll wait for the AFT to run a few times, to make sure there are no other problems.
          Hide
          Steve Edgar (Inactive) added a comment -

          These tests passed in build 286 ...

          https://ci.kuali.org/job/rice-2.5-test-functional-env14-jenkins-krad-sampleapp/286/

          I'll wait for one more round of testing, and if the tests pass, I will resolve this case.

          Show
          Steve Edgar (Inactive) added a comment - These tests passed in build 286 ... https://ci.kuali.org/job/rice-2.5-test-functional-env14-jenkins-krad-sampleapp/286/ I'll wait for one more round of testing, and if the tests pass, I will resolve this case.
          Hide
          Steve Edgar (Inactive) added a comment -
          Show
          Steve Edgar (Inactive) added a comment - These tests passed again. (Build 287) https://ci.kuali.org/job/rice-2.5-test-functional-env14-jenkins-krad-sampleapp/287/testReport/ Resolving this case.
          Hide
          Martin Taylor (Inactive) added a comment -

          Closing 2.5.1 Development

          Show
          Martin Taylor (Inactive) added a comment - Closing 2.5.1 Development

            People

            • Assignee:
              Steve Edgar (Inactive)
              Reporter:
              Erik Meade
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Agile

                  Structure Helper Panel