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

Use Bamboo API in e2e tests #428

Merged
merged 1 commit into from
Aug 26, 2024
Merged

Use Bamboo API in e2e tests #428

merged 1 commit into from
Aug 26, 2024

Conversation

bianchi2
Copy link
Collaborator

@bianchi2 bianchi2 commented Aug 26, 2024

In Bamboo 10.0.0 agents url is $BASE_URL/admin/agent/viewAgents.action while tests go to admin/agent/configureAgents!doDefault.action, also introduction of websudo makes things more complicated.

It's more reliable to call RESAT API to assert:

  • total number of agents > 2
  • at least 2 of those agents are online (offline agents may be in the dataset used to restore the DB)

Checklist

  • I have successful end to end tests run (with & without domain)
  • I have added unit tests (if applicable)
  • I have user documentation (if applicable)

@bianchi2 bianchi2 added e2e and removed e2e labels Aug 26, 2024
@bianchi2 bianchi2 changed the title Update agent management page Use Bamboo API in e2e tests Aug 26, 2024
@bianchi2 bianchi2 added e2e and removed e2e labels Aug 26, 2024
@bianchi2 bianchi2 merged commit 219e42e into main Aug 26, 2024
4 checks passed
@bianchi2 bianchi2 deleted the fix-bamboo-e2e-test branch August 26, 2024 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants