Adding owner and customproperties data#25723
Adding owner and customproperties data#25723kshinde3110 wants to merge 3 commits intoopen-metadata:mainfrom
Conversation
|
Hi there 👋 Thanks for your contribution! The OpenMetadata team will review the PR shortly! Once it has been labeled as Let us know if you need any help! |
| @@ -125,7 +166,7 @@ test.describe('Right Panel Test Suite', () => { | |||
| // Cleanup test data | |||
| test.afterAll(async ({ browser }) => { | |||
There was a problem hiding this comment.
⚠️ Bug: Missing cleanup for user1 in afterAll hook
The user1 instance is created in beforeAll (line 149) but is not deleted in the afterAll cleanup section. This will cause test data pollution, as each test run will leave behind a user entity in the database.
Impact: Test isolation issues, potential test flakiness if user with same name exists, and accumulation of orphaned test data.
Suggested fix: Add await user1.delete(apiContext); in the afterAll try block alongside the other entity deletions:
try {
await tableEntity.delete(apiContext);
// ... other deletions ...
await user1.delete(apiContext); // Add this line
} finally {
await afterAction();
}Was this helpful? React with 👍 / 👎
🔍 CI failure analysis for 8b5238f: Shard 6/6 has only 1 failure after merging with main - the persistent database custom properties timeout. Major improvement: 9 LearningResources tests that previously failed now all pass. Success rate improved from 98.2% to 99.8%.IssuePlaywright shard 6/6 failed with only 1 test failure after merging with main branch (commit 8b5238f). This represents a significant improvement from previous runs. Root CausePR-Related Failure (Persistent Backend Issue)Test: Status: Continues to fail despite merge with main Error: Analysis:
Root cause: Backend/infrastructure issue specific to database entity custom property creation. The
Evidence it's backend, not PR code:
DetailsMajor Improvement: LearningResources Tests Now PassBefore merge (Previous runs):
After merge with main (Current run):
Tests now passing:
Why fixed: Merge commit 8b5238f included Learning Resources improvements from PR #25681, which resolved page load and infrastructure issues. Success MetricsCurrent Run:
Historical Comparison:
For PR Functionality:
Flaky Tests (12 tests, all passed on retry)
Note: Flaky test count is normal and consistent with previous runs. Database Entity Test DetailsTest execution timeline:
Pattern: databaseSchema entity (child of database) works perfectly, but database entity itself fails. This strongly suggests backend API treats database entity type differently. ConclusionPositive Outcomes:
Remaining Issue:
Assessment: The PR is functionally sound. The single failure is a backend issue that should be investigated separately and doesn't warrant blocking this PR. Code Review
|
| Auto-apply | Compact |
|
|
Was this helpful? React with 👍 / 👎 | Gitar
|



Describe your changes:
Fixes
I worked on ... because ...
Type of change:
Checklist:
Fixes <issue-number>: <short explanation>Summary by Gitar
entityInstance.prepareCustomProperty()to create custom properties for all entity types with error handlinguser1viaUserClassfor owner assignment tests instead of hardcoded "Aaron Johnson"scrollIntoViewIfNeeded()for reliable element visibility checksCustomPropertiesPageObject.tslocators from CSS classes togetByTestIdfor reliabilityThis will update automatically on new commits.