Commit Graph
20 Commits
Author SHA1 Message Date
ShyamOOAIandNeha P 711dd00978 fix: E2e seconds precision updated (#4770)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Introduced new UI testing classes for various application pages,
including `AlertsPage`, `DashboardPage`, `LogsPage`, `ReportsPage`,
`TracesPage`, and `LoginPage`.
- Added a new test suite focusing on time-related features across
multiple pages.

- **Bug Fixes**
- Improved consistency in the GitHub Actions workflow for UI integration
tests.

- **Documentation**
- Enhanced organization of locators and methods for better usability in
UI testing.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Neha P <144308844+neha00290@users.noreply.github.com>
2024-10-21 18:55:38 +05:30
Neha P 05a84d3009 test: e2e logs search history (#4746)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Introduced new test cases for the search history feature, enhancing
verification of navigation between the search history and logs pages.
- **Chores**
- Added new environment variables `ZO_FILE_PUSH_INTERVAL`,
`ZO_USAGE_BATCH_SIZE`, `ZO_USAGE_PUBLISH_INTERVAL`, and
`ZO_USAGE_REPORTING_ENABLED` to the Playwright workflow configuration.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-10-10 15:14:08 +05:30
Neha P 2b13a4ce7b test: unflattened testcases (#4704)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Introduced a new suite of UI tests for a logging application,
enhancing testing coverage.
- Added functionality to automate user login and data ingestion
processes within the tests.
- Implemented a test case to toggle settings and verify UI interactions.

- **Bug Fixes**
- Expanded the test file list to include additional scenarios for more
comprehensive testing.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-10-04 09:00:35 +05:30
Hengfei Yang d1ed457369 feat: new search engine (#4182) 2024-09-20 15:10:54 +08:00
Omkar KesarkhaneandSai Nikhil bafbd205d4 feat: logs tables performance optimization (#4097)
fix #3973 
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit


- **New Features**
- Introduced a new dynamic table component for enhanced data display and
interaction.
- Added support for Tailwind CSS, improving styling capabilities across
the application.
- Implemented interactive controls for managing log entries in the data
table.

- **Improvements**
- Enhanced logging functionality with clearer error messaging, improved
content wrapping, and optimized selection of log fields based on user
input.
- Streamlined user interface in the JSON preview and search result
components for better usability and readability.
	- Improved performance and responsiveness of the search results table.
- Refined column visibility management in the search results, enhancing
user experience.

- **Bug Fixes**
- Updated column management logic in the search results for improved
robustness.
- Enhanced reliability of Playwright tests by refining timing and
interaction steps.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Sai Nikhil <nikhil@openobserve.ai>
2024-08-26 16:59:43 +05:30
Hengfei Yang 564ac641a8 fix: should exit when backend init failed (#4138) 2024-08-07 14:47:50 +08:00
df2488fa44 feat: optimize sql to plan execution (#4100)
Now we use sql to plan to execute the query. 

we split the PhysicalPlan to two stage:
1. Partial plan, it can be distributed will run on all the nodes.
2. Final plan, it can't be distributed will run on the leader querier
and merge the result.

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


- **New Features**
- Updated to version 0.10.9, introducing enhancements and new
dependencies for improved data processing functionalities.
- Added new Protocol Buffers schemas to define structures for cluster
management and data processing frameworks, enhancing integration
capabilities.

- **Bug Fixes**
  - Improved error handling in configuration to prevent runtime panics.
- Enhanced logic in caching mechanisms for more reliable query
responses.

- **Documentation**
- Added module declarations to improve organization and clarity within
the codebase.

- **Refactor**
- Streamlined execution plans and SQL processing for better performance
and maintainability.

- **Tests**
- Introduced new functions for log ingestion in test suites to enhance
reliability and coverage.

- **Style**
- Made formatting adjustments across various files to improve
readability and consistency.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Neha P <neha@openobserve.ai>
Co-authored-by: oasisk <ashish.j.kolhe@gmail.com>
2024-08-05 18:38:35 +08:00
ktx-akshay 355591cbef test: testcases for visualization functionality (#4061)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Expanded automated testing coverage by adding new UI test files for
dashboard management and logging visualization functionalities.
- Enhanced dashboard UI tests now cover creating, modifying,
duplicating, and applying filters to dashboards.
- Introduced tests for verifying user interactions with logging
visualizations, including error handling and data persistence.
- Added tests for Virtual Reference Language (VRL) features within the
dashboard, validating function applications and error handling.

- **Bug Fixes**
- Improved error handling in UI tests to ensure that invalid inputs
trigger appropriate error messages.

- **Tests**
- Comprehensive test cases implemented for various user interactions
across new features, ensuring functionality works as intended.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-08-05 14:26:57 +05:30
Ankur Srivastava c890ceb932 feat: parallelize the tests (#3930)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **Chores**
  - Reorganized the workflow jobs for better structure and efficiency.
  - Renamed the `ui_integration_tests` job to `build_binary`.
- Added steps to upload and download artifacts with defined path and
retention settings.
- Included a step to clone the current repository using
actions/checkout.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-07-09 14:14:45 +02:00
Hengfei Yang 03f1b192c2 feat: ugprade rust to 2024-07-07 (#3922) 2024-07-08 20:56:56 +08:00
Neha P 315d2c54c6 test: e2e-stream-multiselect (#3831)
- Added stream multiselect tests

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

## Summary by CodeRabbit

- **Tests**
- Enhanced UI tests for the login process and multistream selection
logic.
- Adjusted element interactions, timeouts, and added verification steps
in multistream selection tests.
- Included the multiselect stream test in the Playwright workflow
configuration.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-06-26 16:11:32 +05:30
Neha PandHengfei Yang 406ddb1384 test: e2e schema test fix (#3811)
- Fixed breaking schema testcase due to logs max query range changes

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

- **Tests**
- Enhanced login function tests with additional timeouts and
interactions with date-time elements and log search buttons.
- Adjusted timeouts for waiting during login and dropdown selection
operations in sanity tests.
- **Chores**
  - Updated environment variables configuration in Playwright workflow.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Hengfei Yang <hengfei.yang@gmail.com>
2024-06-25 14:23:29 +05:30
Neha P c15a4acc48 test: e2e-backfill-logdata (#3663)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Added new test cases for checking JSON responses with timestamps and
assertions for response statuses.

- **Bug Fixes**
  - Updated query functions for stream exploration to improve accuracy.

- **Chores**
- Added a new environment variable `ZO_INGEST_ALLOWED_UPTO` with a value
of `5`.

- **Tests**
- Enhanced UI tests with new functions and assertions to improve test
coverage and reliability.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-06-03 13:09:42 +05:30
abe6206361 fix: logs page histogram optimisation (#3586)
Co-authored-by: Bhargav <BJP232004@GMAIL.COM>
Co-authored-by: omkark06 <omkar@zinclabs.io>
2024-05-25 18:57:48 +05:30
Neha P e1380c7a5e test: add-dashboard-image-tests (#3510)
**Testcases covered** 
- Create an area type dashboard
- Take a screenshot of this dashboard
- Compare this image with an existing image 
- Delete the panel
- Delete the dashboard
2024-05-14 18:06:04 +05:30
Neha P 4d7cc602dc test: e2e-user-defined-schema (#3494)
Automation for below scenarios-

- Verify if Add to defined schema fields is displayed on UI
- Verify if on clicking the checkbox for items, the button gets enabled
- Verify on adding on user defined schema the selected fields are
displayed.
- Verify after updating these settings user is able to navigate to
stream via stream explorer
- Verify if user is able to click on log search results after updating
schema settings
- Verify if the updated schema displayed under results as ALL post new
data ingestion
- Verify if user is able to remove the fields and update the settings
- Verify after removing, the fields do not display under all in UI
2024-05-12 21:16:57 +05:30
Neha P 4f42c98253 test: e2e-region-testcases (#3490)
Tests for following scenarios
- Verify if user is able to view region tab
- Verify if user is able to click on region tab
- Verify if 2 options displayed under region tab
- Verify if 1 Region saved under saved view is displayed when the view
applied
- Verify if user is able to select stream explorer and click on saved
view only 1 selected option to be displayed
- Verify if saved view is deleted after adding only1 region should click
on region, change
2024-05-12 14:13:17 +05:30
Neha P 2135fc1a3d test: e2e-pipeline-testcases (#3472)
- Function creation and deletion for pipeline changes (bug fix)
- Created a function for pipeline delete
#3464
2024-05-10 19:38:41 +05:30
Neha P 6eb8c8b489 test: e2e pipeline testcases (#3451)
- Verify if user is able to click on pipeline via menu
- Verify if user is able to click on pipeline from the tabs via pipeline
menu
- Verify if user is able to select a stream on pipeline UI
- Verify if user is able to add name on pipeline UI
- Verify if user is able to close pipeline UI
- Verify if user is able to save a new pipeline
- Verify user is able to edit and delete a new pipeline
- Verify if functions is displayed when editing pipeline
- Verify if route is displayed on editing pipeline
- Verify functions drag drop works on pipeline UI
- Verify route drag drop works on pipeline UI
- Verify if error displayed on adding invalid functions on pipeline UI
- Verify if user is able add a new function successfully via pipeline
functions
- Verify if cancel button works on function additon UI
- Verify if error displayed when route created with only spaces
- Verify if user able to create route and then delete the pipeline post
creation of route
- Verify if error displayed on clicking save button directly without
adding name for function under pipeline
2024-05-09 21:19:59 +05:30
42982877e5 test: logs quickmode playwright tests (#3143)
- testing playwright testcases for logs quickmode

---------

Co-authored-by: Ankur Srivastava <best.ankur@gmail.com>
Co-authored-by: Kirtan Thakkar <kirtan@kiara.tech>
2024-05-09 11:18:45 +02:00