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

chore(itests): add more integration tests and fix CI integration #1062

Merged
merged 11 commits into from
Aug 24, 2023

Conversation

maxcao13
Copy link
Member

@maxcao13 maxcao13 commented Jul 18, 2023

Welcome to Cryostat! 👋

Before contributing, make sure you have:

  • Read the contributing guidelines
  • Linked a relevant issue which this PR resolves
  • Linked any other relevant issues, PR's, or documentation, if any
  • Resolved all conflicts, if any
  • Rebased your branch PR on top of the latest upstream main branch
  • Attached at least one of the following labels to the PR: [chore, ci, docs, feat, fix, test]
  • Signed the last commit: git commit --amend --signoff

Fixes: #1063
Rebased on: #1092

Description of the change:

Fixes CI integration. The flakey tests were due to the browser not loading the correct page fast enough and the web driver erroring out since it couldn't find some elements. I just added a time out to solve this. Also adds a Recording Workflow test suite.

Motivation for the change:

See #1063. There should also be more integration tests so that we can be fully sure of our application.

How to manually test:

  1. Run yarn itest:preview

@maxcao13 maxcao13 added chore Refactor, rename, cleanup, etc. fix safe-to-test labels Jul 18, 2023
@github-actions github-actions bot added the needs-triage Needs thorough attention from code reviewers label Jul 18, 2023
@maxcao13 maxcao13 removed the needs-triage Needs thorough attention from code reviewers label Jul 18, 2023
@github-actions
Copy link

Test image available:

CRYOSTAT_IMAGE=ghcr.io/cryostatio/cryostat-web:pr-1062-367922373bd3aa6a97dff1a4b69eeb2cc3a2cd55 sh smoketest.sh

@andrewazores andrewazores marked this pull request as draft July 25, 2023 12:13
@github-actions
Copy link

Test image available:

CRYOSTAT_IMAGE=ghcr.io/cryostatio/cryostat-web:pr-1062-b2dd2120581b9c7150beec188e29416426abacd9 sh smoketest.sh

@maxcao13 maxcao13 marked this pull request as ready for review August 24, 2023 21:16
@maxcao13 maxcao13 requested review from tthvo, aali309 and mwangggg August 24, 2023 21:16
@maxcao13
Copy link
Member Author

PR pretty much in done state except for any review comments. I hope some one can solve these errors if there are any, but if they are small I can probably resolve them myself. :)

LOCALIZATION.md Outdated Show resolved Hide resolved
@github-actions
Copy link

Test image available:

CRYOSTAT_IMAGE=ghcr.io/cryostatio/cryostat-web:pr-1062-e69175610e018c80ffd74297ebd4e8991ce3b9cc sh smoketest.sh

Copy link
Member

@andrewazores andrewazores left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, just needs a rebase

@github-actions
Copy link

Test image available:

CRYOSTAT_IMAGE=ghcr.io/cryostatio/cryostat-web:pr-1062-3782ea2a7feb41fd357a52e2589e2f06c02d0e58 sh smoketest.sh

@andrewazores andrewazores merged commit 0b61f98 into cryostatio:main Aug 24, 2023
@maxcao13 maxcao13 deleted the integration-tests branch August 25, 2023 01:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Refactor, rename, cleanup, etc. fix safe-to-test
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

[Task] CI for integration tests seem to fail sometimes
2 participants