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

Update jest snapshots & cypress tests #314

Merged
merged 3 commits into from
Jan 10, 2024

Conversation

ps48
Copy link
Member

@ps48 ps48 commented Jan 10, 2024

Description

Update jest snapshots & cypress tests

Issues Resolved

  • update data ingestion
  • update date time changes
  • move jaeger data file to fixtures
  • Update jest snapshots due to upstream changes
  • Remove all explicit wait and delay calls

Check List

  • New functionality includes testing.
    • All tests pass, including unit test, integration test and doctest
  • New functionality has been documented.
    • New functionality has javadoc added
    • New functionality has user manual doc added
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Shenoy Pratik <[email protected]>
Signed-off-by: Shenoy Pratik <[email protected]>
@ps48 ps48 changed the title Update visualizations cypress tests Update jest snapshots & cypress tests Jan 10, 2024
Copy link

codecov bot commented Jan 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

❗ No coverage uploaded for pull request base (main@98aa505). Click here to learn what that means.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #314   +/-   ##
=======================================
  Coverage        ?   94.73%           
=======================================
  Files           ?        5           
  Lines           ?      152           
  Branches        ?       45           
=======================================
  Hits            ?      144           
  Misses          ?        8           
  Partials        ?        0           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

joshuali925
joshuali925 previously approved these changes Jan 10, 2024
DEFAULT_SIZE,
} from '../utils/constants';
import customParseFormat from 'dayjs/plugin/customParseFormat';
import dayjs from 'dayjs';
Copy link
Member

Choose a reason for hiding this comment

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

are we moving to dayjs or just for testing?

Copy link
Member Author

Choose a reason for hiding this comment

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

This is just for testing time formats. We had issues earlier when checking absolute time, hence moved to testing time format. FTR has this issue already fixed in.

mengweieric
mengweieric previously approved these changes Jan 10, 2024
gantt-chart/.cypress/integration/ui.spec.js Outdated Show resolved Hide resolved
YANG-DB
YANG-DB previously approved these changes Jan 10, 2024
@ps48 ps48 dismissed stale reviews from YANG-DB, mengweieric, and joshuali925 via 87162c7 January 10, 2024 22:56
@ps48 ps48 merged commit d1551b7 into opensearch-project:main Jan 10, 2024
11 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jan 10, 2024
* update visualizations cypress

Signed-off-by: Shenoy Pratik <[email protected]>

* update snapshots

Signed-off-by: Shenoy Pratik <[email protected]>

* remove cypress delay and wait calls

Signed-off-by: Shenoy Pratik <[email protected]>

---------

Signed-off-by: Shenoy Pratik <[email protected]>
(cherry picked from commit d1551b7)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
ps48 pushed a commit that referenced this pull request Jan 11, 2024
* update visualizations cypress



* update snapshots



* remove cypress delay and wait calls



---------


(cherry picked from commit d1551b7)

Signed-off-by: Shenoy Pratik <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants