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

First attempt at DeploySentinel and fix couchdb notebook tests #6398

Merged
merged 40 commits into from
Apr 5, 2023

Conversation

unlikelyzero
Copy link
Collaborator

@unlikelyzero unlikelyzero commented Mar 6, 2023

WAIT FOR #6525

Closes #6399

Describe your changes:

Adds deploysentinel to our CI configs
a quick driveby for cleaning up test files from gitignore
driveby documentation
driveby stability fixed for couchdb tests

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)

@deploysentinel
Copy link

deploysentinel bot commented Mar 6, 2023

Current Playwright Test Results Summary

✅ 117 Passing - ❌ 1 Failing - ⚠️ 2 Flaky

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

(Last updated on 04/04/2023 11:50:04pm UTC)

Run Details

Running Job e2e-stable on CircleCI

Commit: b7310a9

Started: 04/04/2023 11:44:54pm UTC

❌ Failures

📄   framework/baseFixtures.e2e.spec.js • 1 Failure

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
baseFixtures tests Verify that tests fail if console.error is thrown
Initial Attempt
Error: Error: Console error detected: [error] This should result in a failure at ( 0:14...
Error: Console error detected: [error] This should result in a failure at ( 0:14)

Expected: not "error"

100% (4) 4 / 4 runs
failed over last 7 days
0% (0) 0 / 4 runs
flaked over last 7 days

⚠️ Flakes

📄   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 Disallows embeds to be deleted if page locked @addinit
Retry 1Initial Attempt
0% (0) 0 / 3 runs
failed over last 7 days
33.33% (1) 1 / 3 run
flaked over last 7 days

📄   functional/plugins/plot/overlayPlot.e2e.spec.js • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Overlay Plot Clicking on an item in the elements pool brings up the plot preview with data points
Retry 1Initial Attempt
0% (0) 0 / 3 runs
failed over last 7 days
100% (3) 3 / 3 runs
flaked over last 7 days

View Detailed Build Results


@codecov
Copy link

codecov bot commented Mar 6, 2023

Codecov Report

Merging #6398 (b7310a9) into master (2e60da0) will decrease coverage by 0.14%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #6398      +/-   ##
==========================================
- Coverage   54.90%   54.77%   -0.14%     
==========================================
  Files         628      628              
  Lines       26805    26805              
  Branches     2422     2422              
==========================================
- Hits        14718    14682      -36     
- Misses      11426    11457      +31     
- Partials      661      666       +5     
Flag Coverage Δ *Carryforward flag
e2e-ci 39.34% <ø> (ø) Carriedforward from 836b8bf
e2e-full 51.06% <ø> (ø) Carriedforward from 836b8bf
e2e-stable 55.78% <ø> (+0.37%) ⬆️
unit 48.93% <ø> (-0.35%) ⬇️

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

see 13 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 2e60da0...b7310a9. Read the comment docs.

@unlikelyzero unlikelyzero added the pr:e2e:couchdb npm run test:e2e:couchdb label Mar 7, 2023
@unlikelyzero unlikelyzero removed the pr:e2e:couchdb npm run test:e2e:couchdb label Mar 7, 2023
@unlikelyzero unlikelyzero requested a review from ozyx March 7, 2023 18:30
@unlikelyzero unlikelyzero added this to the Target:2.2.0 milestone Mar 7, 2023
package.json Outdated
@@ -84,6 +85,7 @@
"build:watch": "webpack --config ./.webpack/webpack.dev.js --watch",
"info": "npx envinfo --system --browsers --npmPackages --binaries --languages --markdown",
"test": "karma start",
"test:clean": "rm -rf ./coverage ./html-test-results ./test-results ./nyc_output/",
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

Copy link
Contributor

Choose a reason for hiding this comment

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

should be ./.nyc_output ?

@unlikelyzero unlikelyzero added the pr:e2e:couchdb npm run test:e2e:couchdb label Mar 7, 2023
@unlikelyzero unlikelyzero changed the title First attempt at DeploySentinel First attempt at DeploySentinel and some drivebys Mar 10, 2023
@unlikelyzero unlikelyzero added pr:e2e:couchdb npm run test:e2e:couchdb and removed pr:e2e:couchdb npm run test:e2e:couchdb labels Mar 10, 2023
@unlikelyzero unlikelyzero marked this pull request as draft April 3, 2023 15:22
@unlikelyzero unlikelyzero changed the title First attempt at DeploySentinel and some drivebys First attempt at DeploySentinel and fix couchdb notebook tests Apr 3, 2023
@unlikelyzero unlikelyzero marked this pull request as ready for review April 4, 2023 21:41
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.

Looks good overall! Just have a few small suggestions

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

@unlikelyzero unlikelyzero merged commit c0c383b into master Apr 5, 2023
@unlikelyzero unlikelyzero deleted the deploysentinel branch April 5, 2023 13:25
scottbell added a commit that referenced this pull request Apr 5, 2023
* First attempt

* Remove commented pattern

* Add deploysentinel to github action

* drive by

* Stablization

* remove only

* entries now selected on creation

* select previous entry on deletion

* add deletion test

* wip

* fix adding focus selection

* remove previous entry selection logic

* null check for event

* address review comments

* address review comments

* refactor tests a bit

* typo

* Add some determinism to avoid console errors

* refactor and use methods

* stabilize

* remove debug

* remove only

* combine clean commands

* comments

* change to expects

* test: await toBeHidden() assertion

* test: use `myItemsFolderName` instead of 'My Items'

---------

Co-authored-by: Scott Bell <[email protected]>
Co-authored-by: Jesse Mazzella <[email protected]>
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[e2e] Add deploysentinel to CI to aggregate test results
3 participants