Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run serenity tests in AWS codePipeline #3080

Closed
prashantrbs opened this issue Mar 8, 2023 · 4 comments
Closed

Run serenity tests in AWS codePipeline #3080

prashantrbs opened this issue Mar 8, 2023 · 4 comments
Labels

Comments

@prashantrbs
Copy link

prashantrbs commented Mar 8, 2023

Hi There,

i want to run my serenity BDD tests in aws codePipeline but i am not sure how to download and required dependencies in prebuild phase.

i have the below buildspec.yml file this will successfully executes API tests but UI tests are not executing as chrome driver and chrome is not installed. can someone give a sample buildspec.yml file that can download the required dependencies and then run API and Ui tests?

buildspec.yml

version: 0.2

phases:
  build:
    commands:
      - mvn clean verify "-Dtest.env=stage"
@wakaleo
Copy link
Member

wakaleo commented Mar 8, 2023

You would probably need to ask the AWS CodePipeline support folk about that, but you will most likely need to define an image that has chrome and a virtual display installed (Selenium 4 and Serenity will download the correct version of chromedriver if you have access to the internet).

@prashantrbs
Copy link
Author

Thanks John. i will check DevOps team.
Do you have a sample .yml file that can download the required dependencies?

@prashantrbs
Copy link
Author

Thanks. i will check.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants