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

test(extension): initial tests for sanchonet #770

Draft
wants to merge 25 commits into
base: main
Choose a base branch
from

Conversation

wklos-iohk
Copy link
Contributor

Checklist

  • JIRA - <link>
  • Proper tests implemented
  • Screenshots added.

Proposed solution

Explain how does this PR solves the problem stated in JIRA ticket.
You can also enumerate different alternatives considered while approaching this task.

Testing

Describe here, how the new implementation can be tested.
Provide link or briefly describe User Acceptance Criteria/Tests that need to be met

Screenshots

Attach screenshots here if implementation involves some UI changes

lgobbi-atix and others added 23 commits November 13, 2023 16:38
* chore!: bump cardano-js-sdk packages to latest versions

* ci: add cardano services urls parameters to build step

* Feat/sanchonet network switch support (#612)

* feat: update env to support switching to sanchonet

* chore: remove old testnet

* chore: bump cardano-sdk packages to latest version

---------

Co-authored-by: mirceahasegan <[email protected]>
* refactor: move logic out of component

* fix: file path

* feat(core): setup storybook

* refactor(ui): extract insufficient funds warning component

* feat(core): add lace/ui package

* feat(core): create ConfirmDRepRegistration component

* feat(extension): install @lace/ui

* refactor: move functions to utils

* fix: type

* refactor: types file

* feat: check for DRep transaction

* feat: integrate confirm drep registration component

* refactor(core): use Metadata component

* refactor(core): use flexbox

* refactor(core): remove insufficient funds message

* refactor(core): create ConfirmDRepRetirement

* refactor: remove insufficient funds warning; break down main component

* feat: add certificate data

* feat: add drep retirement container

* fix: condition

* fix: type

* fix: style

* fix: check for anchor

* fix: check for undefined certificates

* fix: merge conflict

* fix: type error

* feat: temp env changes

* feat(extension): use consistent naming of DRep ID

* feat(extension): show anchor metadata if exists

* feat(extension): convert user facing DRepID to bech32

* fix: add cardano symbol to deposit amount

* chore(core): downgrade storybook to v6

* fix: update lock file

* fix: styles and text

* fix: storybook build

* fix: storybook build

* feat: check retired drep key

* fix: check retired drep key

---------

Co-authored-by: Renan Ferreira <[email protected]>
Co-authored-by: Michael Chappell <[email protected]>
* feat(ui): create metadata component

* wip

* feat(ui): text link component

* chore(ui): fix rebase

* feat(ui): create metadata link component

* feat(core): create voting procedures component

* chore(extension): fix rebase

* fix(ui): add work break

* feat(extension): voting procedures

* refactor(core): make actions optional

* refactor(core): use action as key prop

* refactor(extension): add custom title for voting procedures
* feat(core): setup storybook

* feat(core): add lace/ui package

* feat: check for DRep transaction

* feat: integrate confirm drep registration component

* refactor: remove insufficient funds warning; break down main component

* feat: add certificate data

* feat: add drep retirement container

* feat(extension): use consistent naming of DRep ID

* fix: add cardano symbol to deposit amount

* refactor: certificate inspector factory

* feat: voting delegation

* fix: type errors

* fix: merge conflicts

---------

Co-authored-by: Michael Chappell <[email protected]>
* chore(core): fix extension of stories .ts -> .tsx (impacts: rollup)

* chore(all): exclude test files from rollup builds
* chore: stake pools sort by ros

* chore: metrics require lastRos and ros
* feat(staking): maintenance 24 Nov 2023 (#754)

* feat(staking): maintenance 24 Nov 2023

* [LW-9151] Edit account name component (#746)

* feat(ui): input component

* feat(extension): edit account drawer

* feat(extension): add unit test

* feat: rename input component

* feat(ui): use pseudo parameters

* feat(ui): input width

* feat(ui): input disabled style

* feat(extension): add ui package

* feat: update lock file

* feat(ui): remove redundant styles

* feat(extension): [LW-5806] update Minting transaction display from dapps (#608)

* feat: identify minting txs from dapps and display proper UI to confirm

refs: LW-5806

* feat(extension): update dapp transaction styling

* refactor(extension,core): fix sonarcloud quality checks

* ci(core): add @lace/ui to dependencies

* test(extension): add mocks in ConfirmTransaction.test.tsx

* test(extension): remove leftover from local testing

* refactor(core): add missing newline at end of file

---------

Co-authored-by: przemyslaw.wlodek <[email protected]>

* test(extension): maintenance 27 nov (#757)

* test(extension): maintenance nov 27

* test(extension): clear failed request test logs

* test(extension): add real time console test logging, remove unnecessary logs

* test(extension): update wdio version

* test(extension): add node option env variable for e2e github runs

* test(extension): move node options to e2e test sections

* test(extension): increase max-old-space-size

* test(extension): downgrade wdio to stable version, remove node env variable

* feat(staking): [LW-6437, LW-8877] past epochs rewards chart (#718)

---------

Co-authored-by: refi93 <[email protected]>
Co-authored-by: przemyslaw.wlodek <[email protected]>
Co-authored-by: januszjanus <[email protected]>

* feat(extension): track manual re-sync and hd wallet discovery (#712)

* feat(staking): [LW-8929, LW-8777] apply pool search also to selected pools (#706)

---------

Co-authored-by: refi93 <[email protected]>

* feat(staking,common): enable manageDelegation CTA from pool details (#720)

Co-authored-by: przemyslaw.wlodek <[email protected]>

* feat(staking): load multi-delegation for HW wallets (#686)

---------

Signed-off-by: Kamil Džurman <[email protected]>
Co-authored-by: Rafael Korbaš <[email protected]>
Co-authored-by: januszjanus <[email protected]>
Co-authored-by: przemyslaw.wlodek <[email protected]>

* test(extension): test maintenance 29 Nov - fix Dapp e2e (#760)

* feat(extension): [LW-9028] Add wallet concepts to menu (#742)

* feat(extension): update dropdown menu with new wallet component

* feat(extension): add add new wallet option to profile dropdown

* refactor(ui): add test id

* refactor(extension): add test id for multi wallet

* refactor(extension): increase button width to match figma

* refactor(extension): remove copy address tooltip from multi-wallet menu it em

* refactor(extension): align top navigation buttons with side panel

* refactor(extension): update the expand button styling

* refactor(extension): update network pill and expand button styling

* refactor(extension): update network pill border radius

* refactor(extension): limit network pill change to popup only

* fix(extension): fix moving left side bar

* refactor(extension,core,cardano): post-merge fixes

* chore(extension): fix unit tests + rename

* chore(extension): fix unit tests and mocks

* chore(extension): remove TODO comments

* chore(core): review comments

---------

Signed-off-by: Kamil Džurman <[email protected]>
Co-authored-by: Janusz Janus <[email protected]>
Co-authored-by: Lucas <[email protected]>
Co-authored-by: Leonel Gobbi <[email protected]>
Co-authored-by: bslabiak <[email protected]>
Co-authored-by: Tomek Marciniak <[email protected]>
Co-authored-by: refi93 <[email protected]>
Co-authored-by: Kamil Džurman <[email protected]>
Co-authored-by: Lukasz Jagiela <[email protected]>
Co-authored-by: Renan Valentin <[email protected]>
@github-actions github-actions bot added the e2e Changes to the e2e testing instrumentation. label Dec 4, 2023
Copy link

github-actions bot commented Dec 4, 2023

Allure report

allure-report-publisher generated test report!

smokeTests: ✅ test report for 65b765ad

passed failed skipped flaky total result
Total 31 0 0 0 31

@coveralls
Copy link

coveralls commented Dec 4, 2023

Coverage Status

Changes unknown
when pulling 65b765a on test/sanchonet-initial-tests
into ** on feat/sanchonet**.

Copy link

sonarcloud bot commented Dec 6, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 2 Code Smells

No Coverage information No Coverage information
2.8% 2.8% Duplication

Base automatically changed from feat/sanchonet to main March 6, 2024 10:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
e2e Changes to the e2e testing instrumentation.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants