9527 autotests get rid of clickinthemiddleofthescreen function#9982
Conversation
…stency across test files
…TheCanvas for consistency in API tests
…totests-get-rid-of-clickinthemiddleofthescreen-function
…totests-get-rid-of-clickinthemiddleofthescreen-function
…totests-get-rid-of-clickinthemiddleofthescreen-function
…totests-get-rid-of-clickinthemiddleofthescreen-function
…Canvas in ketcher-api.spec.ts
…Canvas in ketcher-canvas.spec.ts
…Canvas in cdx-files.spec.ts
…Canvas in cdxml-files.spec.ts
…Canvas in InChi.spec.ts
…Canvas in InChi.spec.ts and ket-v2-text-formatting.spec.ts
…Canvas in open-file.spec.ts
…totests-get-rid-of-clickinthemiddleofthescreen-function
…Canvas in InChi.spec.ts
…Canvas in load-fragment.spec.ts
…Canvas in save-file.spec.ts
…totests-get-rid-of-clickinthemiddleofthescreen-function
…anvas in SMARTS files tests
…anvas in SMILES files tests
…anvas in Aromatize/Dearomatize and Calculate CIP Tool tests
…anvas in Clean Tools and Enhanced Stereochemistry tests
…anvas in add-fragment and get-ket tests; update expected hydrogen location in selected-hydrogen-expected.ket
…anvas in set-molecule, set-zoom, and erase-tool tests
…totests-get-rid-of-clickinthemiddleofthescreen-function
- Updated binary image snapshots for R-group fragment tool tests to reflect recent changes in the UI and functionality. - Modified expected .mol files for V2000 and V3000 formats to correct atom coordinates and ensure consistency with the latest structure generation logic. - Adjusted expected reaction files for V2000 and V3000 formats to align with the updated R-group handling and atom positioning. - Ensured all changes maintain compatibility with existing test cases and improve overall test accuracy.
…totests-get-rid-of-clickinthemiddleofthescreen-function
|
@copilot Investigate (only — no fixes are needed!) the causes of the test failures in the latest CI run. Compile a list of failed tests and, separately, the files in which these tests are located, including the total number of failed tests and affected files. Analyze and generalize the root causes of the test failures. |
Investigation of the latest CI run (SHA Summary
Failed tests — complete listFullScale — Part (1, 6): 29 failed, 2 flaky
2 flaky: FullScale — Part (6, 6): 72 failed
Popup — Part (1, 1): 2 failed, 18 flaky
18 flaky tests all passed on retry — timing/infra issues, unrelated to this PR. Affected spec files (9 unique)
(The ketcher-2.28.0 test appears in both FullScale and Popup suites as separate file paths, so 10 file paths total, 9 distinct spec names.) Root cause analysisAll 103 failures fall into two failure types that share a single root cause: Root cause:
Failure type 1 — Screenshot mismatch (ratio 0.01)Affects 80 tests across Failure type 2 — File-comparison coordinate shift (
|
- Updated the expected .mol files for V2000 and V3000 formats to adjust atomic coordinates for better alignment. - Modified reaction files to reflect changes in atom positions and identifiers. - Ensured that all changes maintain the integrity of the molecular structures while improving readability and accuracy.
…totests-get-rid-of-clickinthemiddleofthescreen-function
|
@copilot Investigate and analize (only — no fixes are needed!) the causes of the test failures in the latest CI run. |
Investigation of the latest CI run (SHA Summary — significant improvement vs. previous run
This is a major reduction from the previous run (103 permanently failed → 2). Permanently failed tests (2)Both failures are the same test in both suites:
Affected spec files: 1 ( Flaky tests (24 total — all passed on retry)FullScale — 3 flaky (all timing/infra, unrelated to this PR)
Popup — 21 flaky
Root cause analysisPermanent failures (2 tests)Both are the same Flaky screenshot mismatches (ratio 0.01–0.02)The 9 flaky tests with screenshot ratio 0.01–0.02 are likely residual effects of the same y-shift: their baselines weren't updated, but the test passed on the second or third attempt due to minor run-to-run rendering variation. They are unstable and will likely fail permanently in a future run unless their baselines are regenerated. Flaky timeouts and infra issues (12 tests)Tests in |
|
@copilot Try to fix those two failing tests. |
Agent-Logs-Url: https://github.com/epam/ketcher/sessions/c8e1efc6-98b0-473f-99bf-93280c732d73 Co-authored-by: YatsekTest <71060724+YatsekTest@users.noreply.github.com>
Fixed in commit The actual failure in the latest CI run (SHA The fix adds |
How the feature works? / How did you fix the issue?
(Screenshots, videos, or GIFs, if applicable)
Check list
#1234 – issue name