Giter Club home page Giter Club logo

Comments (3)

aiojbot avatar aiojbot commented on August 27, 2024

JIRA issue created: https://jira.corp.adobe.com/browse/ACNA-1694

from aio-lib-console.

shazron avatar shazron commented on August 27, 2024

PR #40

from aio-lib-console.

shazron avatar shazron commented on August 27, 2024

Now only 2 failures, relating to Extension tests

Expand to see Test Log
 FAIL  e2e/e2e.js (64.751 s)
  init and input checks
    ✓ sdk init test
    ✓ test bad access token (783 ms)
    ✓ test bad api key (700 ms)
  organizations
    ✓ test getOrganizations API (729 ms)
    ✓ test getProjectsForOrg API (1519 ms)
  create, edit, get
    ✓ test createFireflyProject API (3634 ms)
    ✓ test createProject API (default project type) (888 ms)
    ✓ test editProject API (default project type) (853 ms)
    ✓ test editProject API for firefly project (803 ms)
    ✓ test getProject API (default type) (837 ms)
    ✓ test getProject API (firefly project type) (871 ms)
    ✓ test createWorkspace API for default project type - should fail because only one is allowed for a default project (873 ms)
    ✓ test deleteWorkspace API for default project type (to delete the default workspace) (904 ms)
    ✓ test createWorkspace API for default project type (2787 ms)
    ✓ test createWorkspace API for firefly project type (1025 ms)
    ✓ test getWorkspacesForProject API for firefly project type (855 ms)
    ✓ test getWorkspacesForProject API for default project type (802 ms)
    ✓ test editWorkspace API for default project type (846 ms)
    ✓ test editWorkspace API for firefly project type (852 ms)
    ✓ test getWorkspace API for default project type (879 ms)
    ✓ test getWorkspace API for firefly project type (841 ms)
    ✓ test getProjectForWorkspace API for default project type (852 ms)
    ✓ test getProjectForWorkspace API for firefly project type (809 ms)
  Workspace credential test
    Enterprise credentials
      ✓ test createEnterpriseCredential API (2355 ms)
      ✓ test getCredentials API (service) (803 ms)
      ✓ getSDKProperties (1516 ms)
      ✓ test subscribeCredentialToServices API (AdobeIOManagementAPISDK) (2089 ms)
      ✓ test downloadWorkspaceJson API (1964 ms)
      ✓ test getIntegration API (794 ms)
      ✓ test getIntegrationSecrets API (884 ms)
      ✓ test uploadAndBindCertificate API (1336 ms)
      ✓ test deleteCredential API (integrationType: entp) (1811 ms)
    AdobeID credentials
      ✓ test createAdobeIdCredential API (1153 ms)
      ✓ test getCredentials API (oauthweb) (793 ms)
      ✓ test subscribeCredentialToServices API (Adobe Stock) (1555 ms)
      ✓ test getWorkspaceForCredential API (806 ms)
      ✓ test getIntegration API (1145 ms)
      ✓ test getIntegrationSecrets API (860 ms)
      ✓ test deleteCredential API (integrationType: adobeid) (1935 ms)
  Extension API tests
    ✓ test get ALL ExtensionPoints API (982 ms)
    ✕ test update endpoints for workspace API (839 ms)
    ✕ test get endpoints for workspace API (854 ms)
  delete workspace/project
    ✓ test deleteWorkspace API (864 ms)
    ✓ test deleteWorkspace API for firefly project (846 ms)
    ✓ test deleteProject API (default type) (778 ms)
    ✓ test deleteProject API (firefly project template) (812 ms)
  dev terms
    ✓ get dev terms (1327 ms)
    ✓ check dev terms (821 ms)
    ✓ accept dev terms (852 ms)
  create, edit, get, delete: test trailing spaces
    ✓ test trailing spaces for firefly project (5299 ms)
    ✓ test trailing spaces for firefly workspace (2546 ms)
    ✓ delete (1583 ms)

  ● Extension API tests › test update endpoints for workspace API

    CoreConsoleAPIError: [CoreConsoleAPISDK:ERROR_UPDATE_WORKSPACE_ENDPOINTS] 400 - Bad Request ([{"template":"ERR_MSG_RETRY_OR_CONTACT","message":"{\"errors\":[{\"error_code\":\"1060\",\"message\":\"Extension point 'firefly/excshell/1' does not exist\"}]}"}])

      1258 |       return res
      1259 |     } catch (err) {
    > 1260 |       throw new codes.ERROR_UPDATE_WORKSPACE_ENDPOINTS({ sdkDetails, messageValues: reduceError(err) })
           |             ^
      1261 |     }
      1262 |   }
      1263 |

      at new <anonymous> (../node_modules/@adobe/aio-lib-core-errors/src/AioCoreSDKErrorWrapper.js:33:9)
      at CoreConsoleAPI.updateEndPointsInWorkspace (../src/index.js:1260:13)
      at Object.<anonymous> (e2e.js:658:17)

  ● Extension API tests › test get endpoints for workspace API

    CoreConsoleAPIError: [CoreConsoleAPISDK:ERROR_GET_WORKSPACE_ENDPOINTS] 400 - Bad Request ([{"template":"ERR_MSG_RETRY_OR_CONTACT","message":"{\"errors\":[{\"error_code\":\"1095\",\"message\":\"Workspace 'WN1660121382302' not found\"}]}"}])

      1234 |       return res
      1235 |     } catch (err) {
    > 1236 |       throw new codes.ERROR_GET_WORKSPACE_ENDPOINTS({ sdkDetails, messageValues: reduceError(err) })
           |             ^
      1237 |     }
      1238 |   }
      1239 |

      at new <anonymous> (../node_modules/@adobe/aio-lib-core-errors/src/AioCoreSDKErrorWrapper.js:33:9)
      at CoreConsoleAPI.getEndPointsInWorkspace (../src/index.js:1236:13)
      at Object.<anonymous> (e2e.js:666:17)

Test Suites: 1 failed, 1 total
Tests:       2 failed, 50 passed, 52 total
Snapshots:   0 total
Time:        64.788 s, estimated 69 s
Ran all test suites.

from aio-lib-console.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.