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

[CI] Stabilize visual tests, remove appAction, and update pane buttons #7033

Merged
merged 25 commits into from
Sep 11, 2023

Conversation

unlikelyzero
Copy link
Collaborator

@unlikelyzero unlikelyzero commented Sep 3, 2023

Note: this is blocked on #6990

Describe your changes:

  • Adds the 'timer create date' css to percyCSS to ignore a changing timestamp on notebooks. Note: we may want to remove this test if it adds no value
  • Adds a new constant called VISUAL_URL which contains all of the encoded paths necessary to hide the inspector and the tree and put the clock into fixed time
  • Updates documentation
  • Adds pane button name attribute to open inspector and tree panes
  • Removes appAction selectInspectorTab

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?
  • Command line build passes?
  • Has this been smoke tested?
  • 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?
  • Has associated issue been labelled unverified? (only applicable if this PR closes the issue)
  • Has associated issue been labelled bug? (only applicable if this PR is for a bug fix)

@unlikelyzero unlikelyzero enabled auto-merge (squash) September 3, 2023 17:29
@codecov
Copy link

codecov bot commented Sep 3, 2023

Codecov Report

Merging #7033 (23fdb93) into master (8e917b2) will decrease coverage by 0.13%.
The diff coverage is 40.00%.

@@            Coverage Diff             @@
##           master    #7033      +/-   ##
==========================================
- Coverage   55.87%   55.74%   -0.13%     
==========================================
  Files         643      643              
  Lines       25786    25787       +1     
  Branches     2517     2517              
==========================================
- Hits        14407    14375      -32     
- Misses      10684    10715      +31     
- Partials      695      697       +2     
Flag Coverage Δ *Carryforward flag
e2e-full 42.04% <ø> (-0.03%) ⬇️ Carriedforward from 1a0d920
e2e-stable 57.19% <ø> (+0.04%) ⬆️
unit 49.40% <40.00%> (-0.16%) ⬇️

*This pull request uses carry forward flags. Click here to find out more.

Files Changed Coverage Δ
src/ui/layout/pane.vue 47.56% <40.00%> (+0.64%) ⬆️

... and 12 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 8e917b2...23fdb93. Read the comment docs.

@deploysentinel
Copy link

deploysentinel bot commented Sep 3, 2023

Current Playwright Test Results Summary

✅ 14 Passing

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

(Last updated on 09/11/2023 11:33:35pm UTC)

Run Details

Running Workflow e2e-couchdb on Github Actions

Commit: 23fdb93

Started: 09/11/2023 11:31:30pm UTC

View Detailed Build Results


Current Playwright Test Results Summary

✅ 138 Passing - ⚠️ 1 Flaky

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

(Last updated on 09/11/2023 11:33:35pm UTC)

Run Details

Running Job e2e-stable on CircleCI

Commit: 23fdb93

Started: 09/11/2023 11:20:49pm UTC

⚠️ Flakes

📄   functional/planning/timelist.e2e.spec.js • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Time List Create a Time List, add a single Plan to it and verify all the activities are displayed with no milliseconds
Retry 1Initial Attempt
0% (0) 0 / 73 runs
failed over last 7 days
45.21% (33) 33 / 73 runs
flaked over last 7 days

View Detailed Build Results


@unlikelyzero unlikelyzero added this to the Target:3.1.0 milestone Sep 3, 2023
@unlikelyzero unlikelyzero changed the title [CI] Stabalize visual tests [CI] Stabilize visual tests Sep 5, 2023
@unlikelyzero unlikelyzero changed the title [CI] Stabilize visual tests [CI] Stabilize visual tests and add pane buttons Sep 6, 2023
@unlikelyzero unlikelyzero changed the title [CI] Stabilize visual tests and add pane buttons [CI] Stabilize visual tests and update pane buttons Sep 6, 2023
@unlikelyzero unlikelyzero changed the title [CI] Stabilize visual tests and update pane buttons [CI] Stabilize visual tests, remove appAction, and update pane buttons Sep 7, 2023
@@ -233,7 +233,6 @@ test.describe('Example Imagery Object', () => {
});

test('Can use the reset button to reset the image @unstable', async ({ page }, testInfo) => {
test.slow(testInfo.project === 'chrome-beta', 'This test is slow in chrome-beta');
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

drive by

Copy link
Contributor

@scottbell scottbell left a comment

Choose a reason for hiding this comment

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

One small change, but looks good otherwise!

e2e/tests/visual/notification.visual.spec.js Outdated Show resolved Hide resolved
});
test.use({
storageState: './e2e/test-data/overlay_plot_with_delay_storage.json',
clockOptions: {
now: MISSION_TIME,
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

driveby to match the readme

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.

LGTM! Just had a question about the prettier bypass

@@ -1,3 +1,4 @@
/* eslint-disable prettier/prettier */
Copy link
Contributor

Choose a reason for hiding this comment

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

does prettier mess this file up somehow?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

the length of the constants are too long. I figured it'd be a regular thing if we're doing URLs

Copy link
Contributor

Choose a reason for hiding this comment

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

oh, wild. I didn't know that would fail prettier? does it not except that automatically?

@unlikelyzero unlikelyzero added the pr:e2e:couchdb npm run test:e2e:couchdb label Sep 11, 2023
@github-actions github-actions bot removed the pr:e2e:couchdb npm run test:e2e:couchdb label Sep 11, 2023
@unlikelyzero unlikelyzero merged commit 2a1064c into master Sep 11, 2023
9 checks passed
@unlikelyzero unlikelyzero deleted the stable-visual-tests branch September 11, 2023 23:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants