Skip to content

test: add missing-key import automation test - #3366

Merged
jbair06 merged 2 commits into
mainfrom
3229-add-import-external-key-test
Sep 1, 2026
Merged

test: add missing-key import automation test#3366
jbair06 merged 2 commits into
mainfrom
3229-add-import-external-key-test

Conversation

@svienot

@svienot svienot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Description:

Add automation test for the following release-blocker test case:

  • 3.2.18 User can import an external private key for a missing key slot

The flow implemented by the test is:

  • generate an ED25519 key pair
  • Import the private key through the UI in Organization mode.
  • Delete only the local KeyPair through a direct access to the local database to provoque the 'missing key' situation
  • Toggle Personal → Organization mode to refresh state.
  • Restore the private key through the UI.

Related issue(s):

Fixes #3229

Note: the first part of the issue was previously addressed by PR #3362

@swirlds-automation

swirlds-automation commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Open Source Security 0 0 0 0 0 issues
Licenses 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@codecov

codecov Bot commented Sep 1, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.98%. Comparing base (5cd0f09) to head (203d401).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #3366   +/-   ##
=======================================
  Coverage   99.98%   99.98%           
=======================================
  Files         213      213           
  Lines        6699     6699           
  Branches     1209     1237   +28     
=======================================
  Hits         6698     6698           
  Misses          1        1           

Impacted file tree graph

🚀 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.

@steven-sheehy steven-sheehy added this to the v0.38.0 milestone Sep 1, 2026
@svienot svienot self-assigned this Sep 1, 2026
@svienot svienot added the Tests label Sep 1, 2026
…or a missing key'.

Signed-off-by: Simon Viénot <simon.vienot@icloud.com>
@svienot
svienot force-pushed the 3229-add-import-external-key-test branch from 67ff4f8 to edef3cb Compare September 1, 2026 16:13
@svienot
svienot marked this pull request as ready for review September 1, 2026 16:19
@svienot
svienot requested a review from a team as a code owner September 1, 2026 16:19
@svienot
svienot requested a review from jbair06 September 1, 2026 16:19
…hecklist.

Signed-off-by: Simon Viénot <simon.vienot@icloud.com>
@jbair06
jbair06 merged commit aeb3fe7 into main Sep 1, 2026
28 checks passed
@jbair06
jbair06 deleted the 3229-add-import-external-key-test branch September 1, 2026 22:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test: add encrypted and missing-key import automation tests (3.2.15, 3.2.18)

4 participants