Skip to content

chore: stabilizing named views e2e tests#6246

Merged
jacebrowning merged 7 commits intomainfrom
nadro/named-view-e2e-fixes
Apr 11, 2025
Merged

chore: stabilizing named views e2e tests#6246
jacebrowning merged 7 commits intomainfrom
nadro/named-view-e2e-fixes

Conversation

@nadr0
Copy link
Contributor

@nadr0 nadr0 commented Apr 10, 2025

Issue

named view playwright tests were flaky

Fix

  • implemented new application that logic that sends the toast message after create and delete are finished on the desktop.
  • updated E2E tests to wait for toast notifications instead of timeouts
  • implemented better camera moving code inside of using the mouse drag
  • updated the snapshots since the deleted snapshot was wrong

@vercel
Copy link

vercel bot commented Apr 10, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
modeling-app ✅ Ready (Inspect) Visit Preview Apr 11, 2025 2:11pm

@qa-wolf
Copy link

qa-wolf bot commented Apr 10, 2025

QA Wolf here! As you write new code it's important that your test coverage is keeping up.
Click here to request test coverage for this PR!

@nadr0 nadr0 changed the title chore: stablizing named views e2e tests chore: stabilizing named views e2e tests Apr 10, 2025
@codecov
Copy link

codecov bot commented Apr 10, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.97%. Comparing base (1f6b90d) to head (0ae9bd4).
Report is 4 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6246   +/-   ##
=======================================
  Coverage   84.97%   84.97%           
=======================================
  Files         108      108           
  Lines       45169    45169           
=======================================
  Hits        38381    38381           
  Misses       6788     6788           
Flag Coverage Δ
rust 84.97% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@jacebrowning jacebrowning enabled auto-merge (squash) April 10, 2025 18:42
@franknoirot
Copy link
Contributor

Hey this got rolled into #6265 so we could see a full green run, nice work!

auto-merge was automatically disabled April 11, 2025 01:13

Pull request was closed

@jacebrowning jacebrowning reopened this Apr 11, 2025
* main:
  #6182 Improve calculate_circle_center (#6192)
  make sure the nix flake never breaks (#6273)
  Add CSG operations to the artifact graph (#6104)
  refactor: Change to use topLevelModule helper function (#6264)
  Remove experimental warning on whole-module imports (#6240)
  Insert a newline between block comments and attributes (#6250)
  Remove import function from std (#6241)
  Fix vscode lsp bugs (#6271)
  bump kcl friends (#6272)
  Bump modeling api & pull thru csg endpoints (#6245)
  Franknoirot/adhoc/improve e2e (#6265)
  Fix URL encoded names after rename to Zoo Design Studio (#6269)
  Repetitive structs removed for import file extensions (#6211)
@jacebrowning
Copy link
Contributor

It seems we are missing commits on main so I'm going to reopen this.

@jacebrowning jacebrowning merged commit a07dbc3 into main Apr 11, 2025
40 checks passed
@jacebrowning jacebrowning deleted the nadro/named-view-e2e-fixes branch April 11, 2025 14:32
modeling-app-github-app bot pushed a commit that referenced this pull request Apr 11, 2025
* fix: moving toast application state:

* fix: forgot the await on the expect calls, ts didn't yell at me?

* fix: cleaning up the camera move e2e code

* fix: lint,tsc,fmt

* Unblock on macOS for now

---------

Co-authored-by: Frank Noirot <frank@zoo.dev>
Co-authored-by: Jace Browning <jacebrowning@gmail.com>
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