Skip to content
Snippets Groups Projects

Stt 179 refactor specification constraint to capability spec

Merged Reid Givens requested to merge STT-179-allocation-request-model into main

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Three acceptance tests fail for me: should copy a capability spec when assigned to multiple capabilitySpecs:

    `- Expected 0 to be greater than 0.

      /Users/skagan/Code/ttat/ttat/frontend/e2e/src/capabilities.e2e-spec.ts:67:172
          await editForm?.showCapabilitySpecsButton.click();
          const capabilitySpecsList = await editForm?.capabilitySpecsList;
          let count = capabilitySpecsList?.length;
    
          count = count || 0;
          await capabilitySpecsList?.pop()?.selectButton.click();
    
      internal/process/task_queues.js:93:5
      jasmine-spec-reporter: unable to open 'internal/process/task_queues.js'
      Error: ENOENT: no such file or directory, open 'internal/process/task_queues.js'
    
      - Expected 0 to be greater than 0.
    
      /Users/skagan/Code/ttat/ttat/frontend/e2e/src/capabilities.e2e-spec.ts:68:162
          const capabilitySpecsList = await editForm?.capabilitySpecsList;
          let count = capabilitySpecsList?.length;
          count = count || 0;
    
          await capabilitySpecsList?.pop()?.selectButton.click();
          expect((await editForm?.capabilityCapabilitySpecsList)?.length).toBeGreaterThan(startCount);
    
      internal/process/task_queues.js:93:5
      jasmine-spec-reporter: unable to open 'internal/process/task_queues.js'
      Error: ENOENT: no such file or directory, open 'internal/process/task_queues.js'`

    should remove a capability spec from capabilities:

    ` - Expected 0 to be greater than 0.

      /Users/skagan/Code/ttat/ttat/frontend/e2e/src/capabilities.e2e-spec.ts:81:28
          expect(editForm).toBeDefined();
          await editForm?.capabilityCapabilitySpecsButton.click();
          const capabilityList = await editForm?.capabilityCapabilitySpecsList;
    
          let startCount = capabilityList?.length;
          startCount = startCount || 0;
    
      internal/process/task_queues.js:93:5
      jasmine-spec-reporter: unable to open 'internal/process/task_queues.js'
      Error: ENOENT: no such file or directory, open 'internal/process/task_queues.js'
    
      - Expected 0 to be less than 0.
    
      /Users/skagan/Code/ttat/ttat/frontend/e2e/src/capabilities.e2e-spec.ts:84:172
          let startCount = capabilityList?.length;
          startCount = startCount || 0;
          expect(startCount).toBeGreaterThan(0);
    
          const lastCap = capabilityList?.pop();
          await lastCap?.removeButton.click();
    
      internal/process/task_queues.js:93:5
      jasmine-spec-reporter: unable to open 'internal/process/task_queues.js'
      Error: ENOENT: no such file or directory, open 'internal/process/task_queues.js'`

    should list capabilitySpecs:

    `- Expected 0 to be greater than or equal 1.

      /Users/skagan/Code/ttat/ttat/frontend/e2e/src/capabilitySpecs.e2e-spec.ts:12:43
        it('should list capabilitySpecs', async () => {
          await page.navigateTo();
          const capabilitySpecRows = await page.capabilitySpecsList;
    
          expect(capabilitySpecRows.length).toBeGreaterThanOrEqual(1);
        });
    
     internal/process/task_queues.js:93:5
      jasmine-spec-reporter: unable to open 'internal/process/task_queues.js'
      Error: ENOENT: no such file or directory, open 'internal/process/task_queues.js'`

    I don't know why Jasmine keeps looking for internal/process/task_queues.js

  • Reid Givens added 1 commit

    added 1 commit

    • f08810ee - added test data migration for allocation requests

    Compare with previous version

  • Reid Givens added 1 commit

    added 1 commit

    • c2baef33 - fixed migration to not include the primary keys

    Compare with previous version

  • Sam Kagan approved this merge request

    approved this merge request

  • merged

  • Reid Givens mentioned in commit 62529f90

    mentioned in commit 62529f90

Please register or sign in to reply
Loading