Commit Graph
138 Commits
Author SHA1 Message Date
06920b203b fix: previous histogram getting display even after there is no data (#6346)
Co-authored-by: ktx-vaidehi <vaidehi.akhani@kiara.tech>
Co-authored-by: sai nikhil kethe <nikhil@openobserve.ai>
2025-03-24 11:27:20 +05:30
Sai Nikhil c5be09fbf4 fix: changes for icon bar in logs page (#6362)
This PR includes changes 
1. introduced icons for histogram , sql mode, quickmode and moved search
history , download logs , search scheduled jobs options into menu that
will be there at right end
2. this will make the UI to accommodate upto 1200px with datetime as
relative , 1350 when it is absolute
3. introducing icons saved space of ~200px in total for both sides
2025-03-23 10:16:34 +05:30
71b32480ab feat: alerts folder implementation (UI) (#6228)
implemented alerts folders in the UI

1. search across folders
2. alert listing page moved condition and description column to the
expand so whenever user clicks on any row it will show respective
condition and description if there
3. provided fixed width for columns so that all columns are in view port
visibility expect name column as it can be varied depending upon name
given by user
4. search across all folders implemented in this PR only
Import alert add ons
1 additional things done to import alert as well like introducing the
folders in import page

---------

Co-authored-by: omkark06 <omkar@zinclabs.io>
Co-authored-by: Subhradeep Chakraborty <chakrabortysubhradeep556@gmail.com>
2025-03-21 13:31:54 +05:30
Omkar Kesarkhaneandudev bb4f30f21d feat: Actions in Logs and Alert Destinations (#6129)
Co-authored-by: udev <uddhavdave1@gmail.com>
2025-03-18 14:42:30 +05:30
ktx-kirtanandSubhra264 022506462d test: dashboard filters remove failed test case (#6286)
Co-authored-by: Subhra264 <chakrabortysubhradeep556@gmail.com>
2025-03-17 19:42:39 +05:30
73b49ea686 test: dashboard filter testcases (#6284)
Co-authored-by: ktx-kirtan <124270523+ktx-kirtan@users.noreply.github.com>
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
Co-authored-by: Kirtan Thakkar <kirtan@kiara.tech>
2025-03-17 15:13:49 +05:30
Bhargav 0fc1e65fc7 fix: added debounce in stream list filter (#6253) 2025-03-13 22:57:32 +05:30
77a70ef4fa fix: search type to lowercase (#6197)
Co-authored-by: Taiming Liu <liutaiming3@gmail.com>
Co-authored-by: Bhargav <BJP232004@GMAIL.COM>
2025-03-13 21:43:05 +05:30
ktx-akshayandHengfei Yang d7b90a48e0 test: dashboard timeout testcases (#6184)
Co-authored-by: Hengfei Yang <hengfei.yang@gmail.com>
2025-03-07 10:46:54 +05:30
Sai Nikhil 2bea89307c fix: search jobs UI (#5706)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

## Release Notes

- **New Features**
  - Introduced search job scheduling functionality.
- Added ability to create, list, cancel, retry, and delete scheduled
searches.
- Enhanced user interface for managing scheduled search jobs, including
a new component for displaying scheduled jobs.
- Implemented conditional rendering for search history and search
scheduler components.
- Added new methods for handling scheduled searches within the service
layer.

- **Improvements**
  - Refined search bar interface with new scheduling options.
  - Updated pagination handling for job-related data.
- Enhanced overall functionality related to job management and
pagination.
- Improved loading indicators and user experience during data retrieval.

- **Bug Fixes**
  - Corrected conditional rendering of search history components.
  - Optimized job data retrieval and pagination logic.
  - Simplified sorting logic within the search history component.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-02-27 16:07:45 +05:30
Sai NikhilandTaiming Liu 85e8af977d fix: Pipeline improvements (#6078)
1. this PR introduces new design for query node 
2. dynamic stream name for destination node instead of create new stream
it allows user to input any non existing stream name as destination and
at the time of ingestion it will be created dynamically
3. Fixes issues of #5886

---------

Co-authored-by: Taiming Liu <liutaiming3@gmail.com>
2025-02-26 14:05:11 -08:00
Shyam Panjiyar b897f5439e test: websocket- Undefined Partitions Error When Histogram is disabled and run query and enabled again (#6085) 2025-02-26 14:57:41 +05:30
Neha P 50daaec8dc test: e2e-string-matchignorecase-fix (#6083) 2025-02-24 20:55:35 +05:30
Neha Pandsai nikhil kethe e3f685898b test: e2e-custom-charts (#6007)
Co-authored-by: sai nikhil kethe <nikhil@openobserve.ai>
2025-02-24 19:21:07 +05:30
Shyam Panjiyar b9eb81ffb8 test: Websocket Playwright (#6061) 2025-02-24 12:05:52 +05:30
ktx-akshay ad2d8882f2 test: dashboard login test cases (#5920) 2025-02-22 10:23:19 +05:30
Shyam Panjiyar acb434b455 test: Updated URL variable for UI Super Cluster (#6022) 2025-02-19 13:37:45 +05:30
Bhargav 19d9f6ffe0 feat: reduced rows per page to 50 (#5978) 2025-02-17 16:30:39 +05:30
Neha P 3bac86c507 test: e2e-fix-flaky-tests (#5980) 2025-02-14 18:47:14 +05:30
Abhay PadamaniandKirtan Thakkar 5e3297903b fix: show warning and allow data parsing if there is a function error (#5961)
Co-authored-by: Kirtan Thakkar <kirtan@kiara.tech>
2025-02-14 16:21:36 +05:30
Neha P f6fb0e0605 test: e2e-logs-loadtest (#5971)
**Tests covered** 
- Ingest 79k fields with 100 user defined schema
- Reset stream selection while reloading home page and navigating to
logs
- Selecting stream and checking schema and values
- Go to streams page and enable store original data 
- Go to stresstest stream via stream explorer 
- Check if results are visible
2025-02-14 13:40:26 +05:30
Shyam Panjiyar 9570a93be2 test: Updated logged out steps for reports refactoring playwright (#5927) 2025-02-11 19:08:20 +05:30
Shyam Panjiyar 082255a704 test: internal user for login and super cluster steps refactoring (#5922)
internal user for login and super cluster steps refactoring
2025-02-11 17:29:19 +05:30
Shyam Panjiyar 9ca79d95ef test: Reports playwright two parts with added test cases in Super Cluster (#5906)
Reports playwright two parts with added test cases in Super Cluster
2025-02-10 10:18:56 +05:30
Neha P 527fcbc76e test: fix stream-selection flakiness (#5898) 2025-02-07 13:48:44 +05:30
Patrick SullivanandSubhradeep Chakraborty 89783b7df4 fix: Fix compiler error in enterprise unit test (#5896)
Co-authored-by: Subhradeep Chakraborty <chakrabortysubhradeep556@gmail.com>
2025-02-07 11:23:56 +05:30
Sai Nikhil fcd6647b63 fix: place holder text for select stream (#5869)
1. select stream as a place holder text added in logs page
2025-02-05 19:12:43 +05:30
Neha P 873b8ca93e test: sanity fix test (#5874) 2025-02-04 19:47:30 +05:30
+1 9184a090f8 feat: dashboard annotations (#5680)
- #5844

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

Based on the comprehensive summary of changes, here are the updated
release notes:

- **New Features**
	- Added timed annotations functionality for dashboards.
	- Introduced ability to create, edit, and delete annotations on panels.
- Implemented annotation management across frontend and backend systems.

- **Improvements**
	- Enhanced chart rendering to support annotation visualization.
	- Added new API endpoints for annotation operations.
	- Improved dashboard interaction with annotation mode.

- **Backend Changes**
- Created new database migrations for timed annotations and timed
annotation panels.
	- Added database entities and relationships for annotations.
	- Implemented service-level logic for annotation management.

- **Frontend Changes**
- Added new components for annotation management, including
`AddAnnotation`.
	- Integrated annotation services and composables.
- Updated chart rendering to display annotations and improved panel
interactivity.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: ktx-vaidehi <vaidehi.akhani@kiara.tech>
Co-authored-by: Kirtan Thakkar <kirtan@kiara.tech>
Co-authored-by: Shyam Panjiyar <shyam@openobserve.ai>
Co-authored-by: ktx-vaidehi <134508096+ktx-vaidehi@users.noreply.github.com>
Co-authored-by: Huaijin <haohuaijin@gmail.com>
Co-authored-by: Neha P <144308844+neha00290@users.noreply.github.com>
Co-authored-by: Subhra264 <chakrabortysubhradeep556@gmail.com>
Co-authored-by: Hengfei Yang <hengfei.yang@gmail.com>
Co-authored-by: Bhargav <BJP232004@GMAIL.COM>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-31 18:02:06 +05:30
Neha P 83b92c1672 test: schema assertion for str_match (#5852)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **Tests**
	- Enhanced UI testing for logs search functionality
	- Added test steps to validate search query execution
	- Implemented checks to ensure no error messages appear during search

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-01-31 13:52:06 +05:30
Neha P d2b2165f9c test: e2e-remote-pipeline (#5842)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **Tests**
	- Added new Playwright test suite for pipeline management.
	- Implemented comprehensive UI interaction tests.
	- Included tests for pipeline creation, deletion, and log management.
	- Enhanced test coverage with parallel test execution.
- Expanded integration tests with additional scenarios for pipeline
interactions.
	- Introduced a new test file for improved CI integration.

- **New Features**
- Added functionality for managing remote destinations within the
pipeline.
	- Introduced new methods for creating and deleting remote destinations.

- **Bug Fixes**
- Improved the logic for selecting the current date in the logs page to
ensure accurate date selection.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-01-30 13:35:00 +05:30
Bhargav bbd34911c6 fix: about page locator and link (#5815)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Added a new help menu option to the About Page for improved
navigation.
- Enhanced testability by adding data-test attributes to key elements in
the layout.

- **Tests**
- Updated tests to include interactions with the new help menu before
validating the About page.
	- Adjusted method calls for consistency in validation tests.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-01-27 16:29:59 +05:30
Shyam Panjiyar 2714579307 test: skipping RUM Search Pytest sanity get history playwright (#5803)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **Tests**
	- Removed several RUM and search-related test functions in API testing
	- Skipped a search history test case in UI testing

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-01-25 10:27:30 +05:30
Shyam PanjiyarandTaiming Liu d98164b127 test: rum search updated pytest (#5797)
rum search updated pytest

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **Tests**
- Enhanced RUM (Real User Monitoring) test suite with improved logging
and data validation.
- Added print statements to output response payloads for better test
visibility.
- Introduced additional assertions for geographical data and log message
checks in search tests.
	- Commented out specific actions in UI tests to refine test execution.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Taiming Liu <liutaiming3@gmail.com>
2025-01-25 07:25:13 +05:30
Shyam Panjiyar 309b0ae009 test: Updated Sanity Playwright for SELECT histogram (#5789)
SELECT histogram in place of select histogram

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **Tests**
- Simplified the login function by removing the click action for the
"Login as internal user" button.
- Enhanced search history test case to allow for case-insensitive
matching of the text "select histogram".
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-01-24 16:24:21 +05:30
Bhargav 74c9aa6236 fix: fix automation changes (#5763)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **Tests**
- Enhanced UI testing for visualization page by improving index field
search interactions
- Updated test case to verify data display and input field manipulation
after page refresh

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-01-21 20:38:55 +05:30
Neha P 311153e89e test: selected-duration-results (#5756)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Introduced a method to set log date and time filters to the current
day.
- Enhanced log query testing with improved date and time selection
functionality.

- **Tests**
	- Updated test suites to incorporate the new log date filtering method.
- Added test cases for verifying log results based on selected date and
time settings.

- **Refactor**
- Improved test code organization by introducing a dedicated `LogsPage`
class.
	- Streamlined log interaction methods in test scripts.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-01-21 18:07:20 +05:30
Neha P 59c61f268c test: enrichment-pipeline-test (#5731)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **Tests**
- Updated test cases for pipeline creation and action handling with
corrected boolean value casing.
	- Added new test case to validate pipeline creation failure scenario.
- Enhanced UI testing for enrichment table functionality by adding
date-time button interaction and visibility checks.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-01-17 16:27:15 +05:30
Neha P fd084dd7f0 test: e2e-enrichment-test (#5697)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **Tests**
- Re-enabled previously skipped test for uploading enrichment table with
VRL.
- Added new test case to verify error handling when CSV file is not
provided during enrichment table upload.
	
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-01-14 20:46:10 +05:30
Shyam Panjiyar 340fec113c test: Deleting logo Management to execute from Open Source (#5682)
Deleting logo Management to execute from enterprise

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **Removed Features**
	- Removed logo management test suite and associated page objects
- Eliminated methods for updating custom logo text and uploading logos
in management page

- **Impact**
- Logo management testing functionality has been completely removed from
the test suite
	- No current capability to test logo-related operations

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-01-13 17:43:36 +05:30
Shyam Panjiyar 6d50fe4f9f test: Updated Logo Management Page Playwright (#5650)
Updated Logo Management Page 

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
	- Added a new page object for logo management in UI testing.
	- Introduced functionality to generate random logo names.
	- Enhanced logo upload and management test capabilities.

- **Tests**
	- Updated logo management test suite with more robust interactions.
	- Improved test navigation and logo management workflows.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-01-10 11:52:54 +05:30
c32c9dac7b feat: functions UI design revamp (#5549)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

## Release Notes

- **New Features**
- Added a new function testing capability for VRL (Variable Runtime
Language) functions.
- Introduced interactive UI components for testing and managing
functions, including `FunctionsToolbar`, `TestFunction`, and
`FullViewContainer`.
  - New API endpoint for testing VRL functions against a set of events.
  - Added new localization strings for user interface elements.

- **Improvements**
- Refined UI components for better user experience, including sidebar
management and editor functionalities.
- Enhanced function management with improved error handling and
validation.
- Improved code structure and maintainability across multiple
components.

- **Bug Fixes**
  - Addressed various minor formatting and syntax issues.
  - Improved error handling in function testing and management.

- **Enhancements**
- Updated the `QueryEditor` component for improved formatting and error
diagnostics.
- Enhanced Playwright tests for better targeting and reliability in
function management scenarios.
- Improved layout and responsiveness of several components, including
`AssociateFunction` and `ScheduledAlert`.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: udev <uddhavdave1@gmail.com>
Co-authored-by: udev <uddhav@openobserve.ai>
2025-01-03 15:24:59 +05:30
Shyam Panjiyar f003d32308 test: join automation updated (#5416)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
	- Added a quick mode toggle button on the Logs Page.
- Introduced new methods for validating log displays and error messages.
- New test cases to verify the functionality of toggling quick mode and
interacting with interesting fields.

- **Bug Fixes**
- Enhanced test scenarios to ensure correct display of streams and count
queries during log searches.
	- Improved verification of results after executing queries.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-12-31 11:16:42 +05:30
Shyam Panjiyar f1d7a0de9a test: Updated for report automation with playwright (#5401)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Introduced multiple new test cases for creating and deleting reports,
enhancing the testing coverage for report functionalities.

- **Tests**
- Added specific tests for various report scheduling options, including
"Now" and "Later" types.
- Updated existing test case for creating, using, and deleting
dashboards and reports to include detailed method calls for report
creation.

- **Chores**
- Added several new asynchronous methods to streamline the report
creation and scheduling process, improving interaction robustness.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-12-30 14:32:44 +05:30
Neha P 8e6e968997 test: add fuzzy and values UI test (#5435)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Introduced a new test suite for end-to-end testing of fuzzy matching
SQL queries.
- Added new test cases for verifying API data display and error message
handling in the UI.

- **Bug Fixes**
- Improved reliability of existing tests by enhancing visibility checks
before UI interactions.

- **Tests**
- Added helper functions for dynamic timestamp generation and SQL query
posting in the testing framework.
- Updated existing tests to streamline processes and improve interaction
logic.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-12-24 14:37:33 +05:30
ktx-vaidehiandKirtan Thakkar 5c2857ff86 feat: on click of refresh button or apply button only apply variables (#5077)
- #4885 

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Enhanced refresh button functionality in dashboard panels, providing
visual feedback when variable data changes.
- Introduced a new utility function to check if variables are fully
loaded before updates.
- Added computed properties and event emissions to improve user
interaction and responsiveness to variable updates.
- Improved error handling and logging in dashboard components for better
user visibility.
- Introduced new methods for handling user interactions in variable
selection components.

- **Bug Fixes**
- Improved test case flows for dashboard settings and variable settings,
ensuring smoother interactions in automated tests.

- **Documentation**
- Updated tooltips and button states for better user guidance regarding
variable changes.

- **Chores**
- Streamlined test cases by removing redundant steps, enhancing clarity
and efficiency.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Kirtan Thakkar <kirtan@kiara.tech>
2024-12-19 23:57:48 +05:30
Neha P eecafe12ac test: pipeline updated assertions (#5413)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Introduced a new suite of Playwright tests for validating enrichment
table functionality.
- Added new functions for enhanced navigation and interaction within the
pipeline UI.
- Added tests to assert the data in every derived stream with condition,
function and only source + derived stream
- Added tests to assert if user clicks on any menu option and cancel on
dialog box, user stays on pipeline page
- Added tests to assert if user clicks on dashboard menu option and
accept on dialog box, user navigates to dashboard page

  
- **Bug Fixes**
- Improved error handling in tests to ensure accurate feedback during
interactions.

- **Chores**
- Updated the GitHub Actions workflow to include additional integration
tests.
- Removed outdated test files related to function management, Kinesis
ingestion, and reporting functionality.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-12-19 17:14:37 +05:30
Shyam Panjiyar 49f5716b6b test: Service-Account-updated-automation (#5406)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **Chores**
	- Removed automated UI tests for managing service accounts.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-12-19 13:58:20 +05:30
Shyam Panjiyar ca7b05aba6 test: service account API access automation (#5258)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **Bug Fixes**
- Updated the locator for the management menu item to enhance navigation
reliability.
- Streamlined the control flow by removing unnecessary wait times in the
management navigation process.

- **New Features**
- Added methods for managing service accounts, including adding,
validating, and deleting service accounts.
- Introduced a new test suite for validating service account
functionality, covering error handling and successful operations during
creation.
- Added a new method for automatic login based on visibility of the
login option.

- **Improvements**
- Updated the login method to ensure it waits for the correct login page
URL before proceeding.
- Simplified the login process in UI tests by removing unnecessary
parameters and wait times.
- Enhanced test scripts with improved structure and clarity, including
comments for better understanding.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-12-17 09:50:29 +05:30
Neha P 505bd69aa3 test: e2e-enrichment-bulkapi-pytest (#5371)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Introduced end-to-end testing for bulk ingestion with comprehensive
coverage.
- Enhanced functionality for managing enrichment tables, including
adding, uploading, and deleting entries.

- **Bug Fixes**
- Improved error handling and user interaction checks in the enrichment
table upload process.

- **Tests**
- Added multiple new test cases for enrichment table functionality,
including upload and error handling scenarios.
	- Updated existing test cases for consistency and improved logic.

- **Chores**
- Standardized import statements and improved overall test structure for
clarity.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-12-16 17:13:55 +05:30