api-manager icon indicating copy to clipboard operation
api-manager copied to clipboard

[4.5.0] Issues In UI tests

Open ashanhr opened this issue 8 months ago • 0 comments

Description

  1. publisher/003-run-time-configs/04-enable-mutual-ssl-and-upload-certificate.spec.js

    • https://github.com/wso2-support/apim-apps/blob/05b1f22dbf9bfbef434ba326311fe7948ba68b03/tests/cypress/integration/publisher/003-run-time-configs/04-enable-mutual-ssl-and-upload-certificate.spec.js#L38 and https://github.com/wso2-support/apim-apps/blob/05b1f22dbf9bfbef434ba326311fe7948ba68b03/tests/cypress/integration/publisher/003-run-time-configs/04-enable-mutual-ssl-and-upload-certificate.spec.js#L83 need to be updated as the current implementation fails.
      Update to:
      cy.get('#transportLevel div:first', { timeout: Cypress.config().largeTimeout }).click({ force: true });
      cy.wait(1000);
      
  2. publisher/018-third-party-api/00-publish-third-party-api.spec.js

    • The test expects a confirmation message but fails due to a UI bug. This issue needs to be fixed.
  3. publisher/021-api-linter-feature/00-lint-when-creating-api-with-swagger-url.spec.js

    • The API specification is now validated by both the Spectral linter and the Governance Engine. The test should be updated to reflect this new behavior.

Steps to Reproduce

  • Run UI tests.

Version

4.5.0

Environment Details (with versions)

No response

ashanhr avatar Apr 21 '25 09:04 ashanhr