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

fix: cleanup from #7029 #7328

Merged
merged 4 commits into from
Dec 28, 2023
Merged

fix: cleanup from #7029 #7328

merged 4 commits into from
Dec 28, 2023

Conversation

LeoDog896
Copy link
Contributor

@LeoDog896 LeoDog896 commented Dec 28, 2023

Describe your changes:

Cleanup PR from #7029 to convert a few more modules to ESM, and to stop using require.

All Submissions:

  • Have you followed the guidelines in our Contributing document?
  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?
  • Is this change backwards compatible? For example, developers won't need to change how they are calling the API or how they've extended core plugins such as Tables or Plots.

Author Checklist

  • Changes address original issue?
  • Tests included and/or updated with changes?
  • Has this been smoke tested?
  • Have you associated this PR with a type: label? Note: this is not necessarily the same as the original issue.
  • Have you associated a milestone with this PR? Note: leave blank if unsure.
  • Is this a breaking change to be called out in the release notes?
  • Testing instructions included in associated issue OR is this a dependency/testcase change?

Reviewer Checklist

  • Changes appear to address issue?
  • Reviewer has tested changes by following the provided instructions?
  • Changes appear not to be breaking changes?
  • Appropriate automated tests included?
  • Code style and in-line documentation are appropriate?

src/api/objects/object-utils.js Fixed Show resolved Hide resolved
src/api/objects/object-utils.js Fixed Show resolved Hide resolved
Copy link

deploysentinel bot commented Dec 28, 2023

Current Playwright Test Results Summary

✅ 166 Passing - ⚠️ 7 Flaky

Run may still be in progress, this comment will be updated as current testing workflow or job completes...

(Last updated on 12/28/2023 06:34:02pm UTC)

Run Details

Running Job e2e-stable on CircleCI

Commit: b38ad12

Started: 12/28/2023 06:28:27pm UTC

⚠️ Flakes

📄   functional/plugins/imagery/exampleImagery.e2e.spec.js • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Example Imagery Object Can use independent time conductor to change time
Retry 2Retry 1Initial Attempt
0% (0) 0 / 46 runs
failed over last 7 days
4.35% (2) 2 / 46 runs
flaked over last 7 days

📄   functional/plugins/tabs/tabs.e2e.spec.js • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Tabs View Renders tabbed elements
Retry 1Initial Attempt
10.81% (4) 4 / 37 runs
failed over last 7 days
24.32% (9) 9 / 37 runs
flaked over last 7 days

📄   functional/plugins/notebook/restrictedNotebook.e2e.spec.js • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Restricted Notebook with a page locked and with an embed @addinit Allows embeds to be deleted if page unlocked @addinit
Retry 1Initial Attempt
0% (0) 0 / 39 runs
failed over last 7 days
56.41% (22) 22 / 39 runs
flaked over last 7 days

📄   functional/plugins/conditionSet/conditionSet.e2e.spec.js • 3 Flakes

Top 1 Common Error Messages

null

3 Test Cases Affected

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Condition Set CRUD Operations on @localStorage Condition set object properties persist in main view and inspector @localStorage
Retry 1Initial Attempt
5.41% (2) 2 / 37 runs
failed over last 7 days
2.70% (1) 1 / 37 run
flaked over last 7 days
Condition Set CRUD Operations on @localStorage condition set object can be modified on @localStorage
Retry 1Initial Attempt
0% (0) 0 / 34 runs
failed over last 7 days
2.94% (1) 1 / 34 run
flaked over last 7 days
Condition Set CRUD Operations on @localStorage condition set object can be deleted by Search Tree Actions menu on @localStorage
Retry 1Initial Attempt
-3.03% (-1) -1 / 33 runs
failed over last 7 days
3.03% (1) 1 / 33 run
flaked over last 7 days

📄   functional/plugins/timeConductor/timeConductor.e2e.spec.js • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Time conductor input fields real-time mode preserve offsets and url params when switching between fixed and real-time mode
Retry 1Initial Attempt
0% (0) 0 / 34 runs
failed over last 7 days
2.94% (1) 1 / 34 run
flaked over last 7 days

View Detailed Build Results


Copy link

codecov bot commented Dec 28, 2023

Codecov Report

Attention: 4 lines in your changes are missing coverage. Please review.

Comparison is base (5af4913) 55.69% compared to head (b38ad12) 55.65%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #7328      +/-   ##
==========================================
- Coverage   55.69%   55.65%   -0.05%     
==========================================
  Files         656      656              
  Lines       26203    26194       -9     
  Branches     2546     2546              
==========================================
- Hits        14594    14577      -17     
+ Misses      10911    10909       -2     
- Partials      698      708      +10     
Flag Coverage Δ
e2e-full 41.04% <ø> (-0.02%) ⬇️
e2e-stable 58.09% <50.00%> (-0.10%) ⬇️
unit 48.72% <20.00%> (-0.04%) ⬇️
Files Coverage Δ
src/api/objects/object-utils.js 94.73% <100.00%> (ø)
src/plugins/hyperlink/HyperlinkLayout.vue 100.00% <ø> (ø)
src/plugins/webPage/components/WebPage.vue 100.00% <ø> (ø)
src/ui/router/ApplicationRouter.js 86.02% <ø> (-0.58%) ⬇️
src/plugins/autoflow/AutoflowTabularPlugin.js 80.00% <0.00%> (ø)
...ins/conditionWidget/components/ConditionWidget.vue 21.87% <0.00%> (-2.37%) ⬇️
src/plugins/timer/components/TimerComponent.vue 2.43% <0.00%> (-2.33%) ⬇️

... and 10 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5af4913...b38ad12. Read the comment docs.

src/api/objects/object-utils.js Fixed Show resolved Hide resolved
src/api/objects/object-utils.js Fixed Show resolved Hide resolved
@LeoDog896 LeoDog896 changed the title refactor: cleanup from #7029 fix: cleanup from #7029 Dec 28, 2023
@ozyx ozyx self-requested a review December 28, 2023 17:18
@ozyx ozyx added the type:maintenance tests, chores, or project maintenance label Dec 28, 2023
@ozyx ozyx added this to the Target:3.3.0 milestone Dec 28, 2023
Copy link
Contributor

@ozyx ozyx left a comment

Choose a reason for hiding this comment

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

Nice! Thanks for fixing those. Looks like this just needs a npm run lint:fix and should be good to go.

@LeoDog896 LeoDog896 requested a review from ozyx December 28, 2023 19:44
@ozyx ozyx added the pr:e2e:couchdb npm run test:e2e:couchdb label Dec 28, 2023
Copy link
Contributor

@ozyx ozyx left a comment

Choose a reason for hiding this comment

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

Nice work! LGTM

@ozyx ozyx merged commit 68e60e3 into nasa:master Dec 28, 2023
31 of 39 checks passed
@unlikelyzero unlikelyzero modified the milestones: Target:3.3.0, Target:4.0.0 Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr:e2e:couchdb npm run test:e2e:couchdb type:maintenance tests, chores, or project maintenance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants