Webpage only loading partially when running automated UI tests with AWS Codepipeline and Katalon Studio Docker image

0

I am trying to run automated UI tests on the pipeline using AWS codepipeline. The test runs perfectly fine on local but the dashboard/homepage of the application only loads partially (the table showing the orders is never loaded) when the test is run on AWS codepipeline using Katalon Studio docker image. This issue has been occurring since February 2023. We were able to run tests perfectly fine up until mid February.

Any thought or suggestions would be much appreciated.

已提問 1 年前檢視次數 450 次
1 個回答
0

Hello,

Thank you for reaching out to us.

For us to check if its a CodePipeline issue please share with us the following :

  • Pipeline name that you are using
  • The AWS region

If you are using CodeBuild to perform your tests, please use pause-resume feature with CodeBuild. This will allow you to connect to the build and debug any issue before you resume the build.In summary, you will follow the steps below.

  1. Enable session connection for the AWS CodeBuild
  2. Add codebuild-breakpoint command  to your buildspec.yml
  3. Start a build for debugging
  4. Connect to the build container either by using CodeBuild console or AWS CLI
  5. Resume the build with codebuild-resume command

For more information about pausing the build and connecting to the build, please refer to our guide : https://docs.aws.amazon.com/codebuild/latest/userguide/session-manager.html

Please also reach out to Katalon Studio support team and check with them about this issue.

AWS
已回答 1 年前
  • Hi,

    Our suspicion is that an API is getting blocked on AWS codepipeline (because the issue I mentioned only happens on the AWS codepipeline and not when running locally). Is there a way to enable/disable APIs that are allowed to be called in AWS codepipeline. This used to work fine for us until February but then stopped working. We have tried reverting our codebase to January to rule out any code changes being the cause but the issue still persists.

    Thanks,

    Umair

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南