Skip to content

Conversation

@pellecchialuigi
Copy link
Collaborator

There was an issue after the migration from sqlite3 to postgresql that prevented the visualization of the test results and the execution of test cases via tmt plugin.
This PR is solving the issues and is introducing an e2e test that verifies the tmt plugin as part of the CI.

Luigi Pellecchia and others added 30 commits September 27, 2025 15:04
…d unit test for passing and failing tmt test cases from local files

Signed-off-by: Luigi Pellecchia <[email protected]>
Signed-off-by: Luigi Pellecchia <[email protected]>
Signed-off-by: Luigi Pellecchia <[email protected]>
Limit the wait-on to 2 minutes
Fix BASIL project root path in test_testrun_tmt.py
Signed-off-by: Luigi Pellecchia <[email protected]>
Signed-off-by: Luigi Pellecchia <[email protected]>
…ot see the patch applied during the test execution on github actions.

Signed-off-by: Luigi Pellecchia <[email protected]>
expose basil-api-image to artifacts for investigation
recreate the basil-api image from the running container
podman save need to run with sudo as run_demo.sh has been executed with sudo. Otherwise the image list is different.
remove image export and investigate podman.py and tmt version and file used in the api image
collect tmt logs in case of failure
fix wrong version of upload artifacts
tmt log directory is defeind as TEST_RUNS_BASE_DIR env variable
Signed-off-by: Luigi Pellecchia <[email protected]>
TEST_RUNS_BASE_DIR wasn't used in the CI job. Used its default value TEST_RUNS_BASE_DIR
Restore default values for e2e api and app urls
set BASIL_ADMIN_PASSWORD as the one used by the e2e Testing
Signed-off-by: Luigi Pellecchia <[email protected]>
Update constants.tsx fix api url
Luigi Pellecchia and others added 8 commits September 30, 2025 11:24
…o ids. Fix app/cypress/e2e/test_failing_tmt_test_case.cy.js strings to cerify in log.

Signed-off-by: Luigi Pellecchia <[email protected]>
…s. Added unit test for validation phase of the tmt plugin.

Signed-off-by: Luigi Pellecchia <[email protected]>
Remove check for podman.py patch and move the collection of test run folder after cypress and pytest
… to avoid to be considered an abs path

Signed-off-by: Luigi Pellecchia <[email protected]>
Signed-off-by: Luigi Pellecchia <[email protected]>
Signed-off-by: Luigi Pellecchia <[email protected]>
@pellecchialuigi pellecchialuigi marked this pull request as ready for review September 30, 2025 16:12
@pellecchialuigi pellecchialuigi merged commit 92f9f86 into main Sep 30, 2025
2 of 3 checks passed
@pellecchialuigi pellecchialuigi deleted the test-testrun branch October 1, 2025 09:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants