Skip to content

wait for canvas after reload#10347

Merged
archibald1418 merged 5 commits intodevelopfrom
ov/test-e2e-fix-canvas-reload-on-anno-check
Mar 27, 2026
Merged

wait for canvas after reload#10347
archibald1418 merged 5 commits intodevelopfrom
ov/test-e2e-fix-canvas-reload-on-anno-check

Conversation

@archibald1418
Copy link
Copy Markdown
Contributor

@archibald1418 archibald1418 commented Mar 9, 2026

Motivation and context

We've recently had a failure of a negative test on interpolation in CI-Nightly. There appears to be a UI race condition after canvas reload where the coordinates are checked for the wrong object. Visually though, the rectangles are functioning correctly

0:32-0:33

issue_8952_interpolation_impossible.js.mp4

How has this been fixed?

Added assertions for no cvat-spinner and canvas visibility

Checklist

  • I submit my changes into the develop branch
  • I have created a changelog fragment
  • I have updated the documentation accordingly
  • I have added tests to cover my changes
  • I have linked related issues (see GitHub docs)

License

  • I submit my code changes under the same MIT License that covers the project.
    Feel free to contact the maintainers if that's a concern.

@archibald1418 archibald1418 requested a review from klakhov March 9, 2026 13:07
@archibald1418 archibald1418 requested a review from bsekachev as a code owner March 9, 2026 13:07
@archibald1418 archibald1418 removed the request for review from bsekachev March 9, 2026 13:08
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Mar 9, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Copy link
Copy Markdown
Contributor

@klakhov klakhov left a comment

Choose a reason for hiding this comment

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

Im okay with waiting for spinner after reload.
The same change should be done for line 103 i suppose

+$shape.attr('x'),
+$shape.attr('y'),
];
cy.task('log', { xVal, yVal });
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Why do we need this?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

removed

@archibald1418 archibald1418 requested a review from klakhov March 23, 2026 17:40
@archibald1418 archibald1418 merged commit 78a6eaf into develop Mar 27, 2026
38 checks passed
@archibald1418 archibald1418 deleted the ov/test-e2e-fix-canvas-reload-on-anno-check branch March 27, 2026 16:07
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