Skip to content

Commit

Permalink
Release/1.8.0 (#901)
Browse files Browse the repository at this point in the history
* added listener for window closing (#752)

Co-authored-by: ost-ptk <[email protected]>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* fix displaying amount in CSPR only for Casper (#753)

Co-authored-by: ost-ptk <[email protected]>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* UI changed based on a new design (#754)

Co-authored-by: ost-ptk <[email protected]>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* fixed skeleton for NFT image and made small changes (#755)

Co-authored-by: ost-ptk <[email protected]>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* feature: add remembering scroll position in the NFT, Deploys and Tokens list (#759)

* added remembering scroll position in the NFT list and removed background fetch for nft

* added remembering scroll position in the NFT list and removed background fetch for nft

* added remembering scroll position in the Deploys list, removed background fetch for deploys and made some improvements

* small improvements

* added remembering scroll position in the Casper token activity list and small improvements

* added remembering scroll position in the ERC20 token activity list and small improvements

* removed duplication and small fix

* fixed infinity scroll for NFT

* fixed infinity scroll for Deploys tab

* fixed infinity scroll for Casper token activity

* fixed infinity scroll for ERC20 token activity

* unused infinite scroll hook removed

* updated error handler for account deploys and NFT tokens request

---------

Co-authored-by: ost-ptk <[email protected]>

* illustrations are updated (#762)

Co-authored-by: ost-ptk <[email protected]>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* fix: fix native transfer in Firefox (#763)

* added a check for deploy hash before the extended deploys info request

* updated manifest permission for Firefox

* removed comment

---------

Co-authored-by: ost-ptk <[email protected]>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* added tooltip on hover hash (#764)

Co-authored-by: ost-ptk <[email protected]>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* Redesign list of NFTs (#766)

* Redesign list of NFTs

* Fix PR issues and add useAsyncEffect hook

* Fix issue with audio loading state

* Fix issue with deploy timestamp (#768)

* Release 1.5.2 version (#777)

* feature: add NFT token transfer (#769)

* added UI for NFT token transfer flow and business logic draft

* added nft transfer logic

* added fix for deploy timestamp issue

* removed unused packages

* removed back button from success screen

---------

Co-authored-by: ost-ptk <[email protected]>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* fix issues with the layout of a deploy list (#772)

Co-authored-by: ost-ptk <[email protected]>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* build(deps): bump sqlite3 from 5.0.8 to 5.1.6 (#694)

Bumps [sqlite3](https://github.com/TryGhost/node-sqlite3) from 5.0.8 to 5.1.6.
- [Release notes](https://github.com/TryGhost/node-sqlite3/releases)
- [Commits](TryGhost/node-sqlite3@v5.0.8...v5.1.6)

---
updated-dependencies:
- dependency-name: sqlite3
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump json5 from 1.0.1 to 1.0.2 (#695)

Bumps [json5](https://github.com/json5/json5) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](json5/json5@v1.0.1...v1.0.2)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump dns-packet from 5.3.1 to 5.6.0 (#696)

Bumps [dns-packet](https://github.com/mafintosh/dns-packet) from 5.3.1 to 5.6.0.
- [Changelog](https://github.com/mafintosh/dns-packet/blob/master/CHANGELOG.md)
- [Commits](mafintosh/dns-packet@v5.3.1...v5.6.0)

---
updated-dependencies:
- dependency-name: dns-packet
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump xml2js and web-ext (#697)

Bumps [xml2js](https://github.com/Leonidas-from-XIV/node-xml2js) to 0.5.0 and updates ancestor dependency [web-ext](https://github.com/mozilla/web-ext). These dependencies need to be updated together.


Updates `xml2js` from 0.4.23 to 0.5.0
- [Commits](https://github.com/Leonidas-from-XIV/node-xml2js/commits/0.5.0)

Updates `web-ext` from 7.5.0 to 7.6.2
- [Release notes](https://github.com/mozilla/web-ext/releases)
- [Commits](mozilla/web-ext@7.5.0...7.6.2)

---
updated-dependencies:
- dependency-name: xml2js
  dependency-type: indirect
- dependency-name: web-ext
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Dmytro Vynnyk <[email protected]>

* build(deps-dev): bump eslint-plugin-jsx-a11y from 6.6.1 to 6.7.1 (#703)

Bumps [eslint-plugin-jsx-a11y](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y) from 6.6.1 to 6.7.1.
- [Release notes](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/releases)
- [Changelog](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/CHANGELOG.md)
- [Commits](jsx-eslint/eslint-plugin-jsx-a11y@v6.6.1...v6.7.1)

---
updated-dependencies:
- dependency-name: eslint-plugin-jsx-a11y
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* build(deps-dev): bump fs-extra from 11.1.0 to 11.1.1 (#705)

Bumps [fs-extra](https://github.com/jprichardson/node-fs-extra) from 11.1.0 to 11.1.1.
- [Changelog](https://github.com/jprichardson/node-fs-extra/blob/master/CHANGELOG.md)
- [Commits](jprichardson/node-fs-extra@11.1.0...11.1.1)

---
updated-dependencies:
- dependency-name: fs-extra
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps-dev): bump i18next-conv from 13.1.0 to 14.0.0 (#706)

Bumps [i18next-conv](https://github.com/i18next/i18next-gettext-converter) from 13.1.0 to 14.0.0.
- [Release notes](https://github.com/i18next/i18next-gettext-converter/releases)
- [Changelog](https://github.com/i18next/i18next-gettext-converter/blob/master/CHANGELOG.md)
- [Commits](i18next/i18next-gettext-converter@v13.1.0...v14.0.0)

---
updated-dependencies:
- dependency-name: i18next-conv
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* build(deps): bump word-wrap from 1.2.3 to 1.2.4 (#731)

Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](jonschlinkert/word-wrap@1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps-dev): bump apollo-server-core from 3.11.1 to 3.12.1 (#765)

Bumps [apollo-server-core](https://github.com/apollographql/apollo-server/tree/HEAD/packages/apollo-server-core) from 3.11.1 to 3.12.1.
- [Release notes](https://github.com/apollographql/apollo-server/releases)
- [Commits](https://github.com/apollographql/apollo-server/commits/[email protected]/packages/apollo-server-core)

---
updated-dependencies:
- dependency-name: apollo-server-core
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump i18next from 21.10.0 to 23.5.1 (#773)

Bumps [i18next](https://github.com/i18next/i18next) from 21.10.0 to 23.5.1.
- [Release notes](https://github.com/i18next/i18next/releases)
- [Changelog](https://github.com/i18next/i18next/blob/master/CHANGELOG.md)
- [Commits](i18next/i18next@v21.10.0...v23.5.1)

---
updated-dependencies:
- dependency-name: i18next
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* fix account status indicator (#775)

Co-authored-by: ost-ptk <[email protected]>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* build(deps-dev): bump eslint from 8.28.0 to 8.49.0 (#776)

Bumps [eslint](https://github.com/eslint/eslint) from 8.28.0 to 8.49.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](eslint/eslint@v8.28.0...v8.49.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* build(deps): bump got and @redux-devtools/cli (#780)

Bumps [got](https://github.com/sindresorhus/got) to 11.8.6 and updates ancestor dependency [@redux-devtools/cli](https://github.com/reduxjs/redux-devtools). These dependencies need to be updated together.


Updates `got` from 9.6.0 to 11.8.6
- [Release notes](https://github.com/sindresorhus/got/releases)
- [Commits](sindresorhus/got@v9.6.0...v11.8.6)

Updates `@redux-devtools/cli` from 1.0.7 to 3.0.1
- [Release notes](https://github.com/reduxjs/redux-devtools/releases)
- [Commits](https://github.com/reduxjs/redux-devtools/compare/@redux-devtools/[email protected])

---
updated-dependencies:
- dependency-name: got
  dependency-type: indirect
- dependency-name: "@redux-devtools/cli"
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* build(deps): bump react-player from 2.12.0 to 2.13.0 (#785)

Bumps [react-player](https://github.com/CookPete/react-player) from 2.12.0 to 2.13.0.
- [Changelog](https://github.com/cookpete/react-player/blob/master/CHANGELOG.md)
- [Commits](cookpete/react-player@v2.12.0...v2.13.0)

---
updated-dependencies:
- dependency-name: react-player
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps-dev): bump prettier from 2.8.0 to 3.0.3 (#786)

Bumps [prettier](https://github.com/prettier/prettier) from 2.8.0 to 3.0.3.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](prettier/prettier@2.8.0...3.0.3)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump redux from 4.2.0 to 4.2.1 (#787)

Bumps [redux](https://github.com/reduxjs/redux) from 4.2.0 to 4.2.1.
- [Release notes](https://github.com/reduxjs/redux/releases)
- [Changelog](https://github.com/reduxjs/redux/blob/master/CHANGELOG.md)
- [Commits](reduxjs/redux@v4.2.0...v4.2.1)

---
updated-dependencies:
- dependency-name: redux
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* build(deps-dev): bump webpack-dev-server from 4.11.1 to 4.15.1 (#788)

Bumps [webpack-dev-server](https://github.com/webpack/webpack-dev-server) from 4.11.1 to 4.15.1.
- [Release notes](https://github.com/webpack/webpack-dev-server/releases)
- [Changelog](https://github.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md)
- [Commits](webpack/webpack-dev-server@v4.11.1...v4.15.1)

---
updated-dependencies:
- dependency-name: webpack-dev-server
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps-dev): bump @types/chrome from 0.0.203 to 0.0.246 (#791)

Bumps [@types/chrome](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/chrome) from 0.0.203 to 0.0.246.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/chrome)

---
updated-dependencies:
- dependency-name: "@types/chrome"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* added message for not supporting reverse look-up modality (#783)

Co-authored-by: ost-ptk <[email protected]>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* added a placeholder for the contract logo (#784)

Co-authored-by: ost-ptk <[email protected]>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* fix: fix issue with prettier config (#792)

* fixed issue with prettier config

* fixed code style errors

---------

Co-authored-by: ost-ptk <[email protected]>

* added new UI for erc-20 action displaying (#790)

Co-authored-by: ost-ptk <[email protected]>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* build(deps-dev): bump geckodriver from 3.2.0 to 4.2.1 (#793)

Bumps [geckodriver](https://github.com/webdriverio-community/node-geckodriver) from 3.2.0 to 4.2.1.
- [Release notes](https://github.com/webdriverio-community/node-geckodriver/releases)
- [Changelog](https://github.com/webdriverio-community/node-geckodriver/blob/main/CHANGELOG.md)
- [Commits](webdriverio-community/node-geckodriver@v3.2.0...v4.2.1)

---
updated-dependencies:
- dependency-name: geckodriver
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump react-query from 3.39.2 to 3.39.3 (#794)

Bumps [react-query](https://github.com/tannerlinsley/react-query) from 3.39.2 to 3.39.3.
- [Release notes](https://github.com/tannerlinsley/react-query/releases)
- [Commits](https://github.com/tannerlinsley/react-query/commits)

---
updated-dependencies:
- dependency-name: react-query
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* build(deps): bump react-router-dom from 6.4.4 to 6.16.0 (#795)

Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom) from 6.4.4 to 6.16.0.
- [Release notes](https://github.com/remix-run/react-router/releases)
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md)
- [Commits](https://github.com/remix-run/react-router/commits/[email protected]/packages/react-router-dom)

---
updated-dependencies:
- dependency-name: react-router-dom
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* build(deps): bump @scure/bip39 from 1.1.0 to 1.2.1 (#796)

Bumps [@scure/bip39](https://github.com/paulmillr/scure-bip39) from 1.1.0 to 1.2.1.
- [Release notes](https://github.com/paulmillr/scure-bip39/releases)
- [Commits](paulmillr/scure-bip39@1.1.0...1.2.1)

---
updated-dependencies:
- dependency-name: "@scure/bip39"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* build(deps-dev): bump electron from 25.8.0 to 25.8.1 (#798)

Bumps [electron](https://github.com/electron/electron) from 25.8.0 to 25.8.1.
- [Release notes](https://github.com/electron/electron/releases)
- [Changelog](https://github.com/electron/electron/blob/main/docs/breaking-changes.md)
- [Commits](electron/electron@v25.8.0...v25.8.1)

---
updated-dependencies:
- dependency-name: electron
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* build(deps-dev): bump lint-staged from 13.0.4 to 14.0.1 (#800)

Bumps [lint-staged](https://github.com/okonet/lint-staged) from 13.0.4 to 14.0.1.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Changelog](https://github.com/okonet/lint-staged/blob/master/CHANGELOG.md)
- [Commits](lint-staged/lint-staged@v13.0.4...v14.0.1)

---
updated-dependencies:
- dependency-name: lint-staged
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps-dev): bump tsconfig-paths-webpack-plugin from 4.0.0 to 4.1.0 (#801)

Bumps [tsconfig-paths-webpack-plugin](https://github.com/dividab/tsconfig-paths-webpack-plugin) from 4.0.0 to 4.1.0.
- [Changelog](https://github.com/dividab/tsconfig-paths-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](dividab/tsconfig-paths-webpack-plugin@v4.0.0...v4.1.0)

---
updated-dependencies:
- dependency-name: tsconfig-paths-webpack-plugin
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* build(deps-dev): bump @types/facepaint from 1.2.2 to 1.2.3 (#803)

Bumps [@types/facepaint](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/facepaint) from 1.2.2 to 1.2.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/facepaint)

---
updated-dependencies:
- dependency-name: "@types/facepaint"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* build(deps-dev): bump webpack-cli from 5.0.0 to 5.1.4 (#804)

Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 5.0.0 to 5.1.4.
- [Release notes](https://github.com/webpack/webpack-cli/releases)
- [Changelog](https://github.com/webpack/webpack-cli/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-cli/compare/[email protected]@5.1.4)

---
updated-dependencies:
- dependency-name: webpack-cli
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* removed input type from the transaction fee fields (#807)

Co-authored-by: ost-ptk <[email protected]>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* changed method of creating Keys for signing (#808)

Co-authored-by: ost-ptk <[email protected]>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* fix: fix scope of bugs (#809)

* fixed issue with transfer NFT error after wallet unlocking and some improvements

* fixed issue with empty NFT details page after wallet unlocking and some improvements

* fixed issue with home screen scroll

* possible fix for an issue with a gap above the sticky tabs container

* fixed an issue with the scrollable Import account screen

---------

Co-authored-by: ost-ptk <[email protected]>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* fixed issue with the navigation menu screen scroll (#818)

Co-authored-by: ost-ptk <[email protected]>

* casper logo updated (#817)

Co-authored-by: ost-ptk <[email protected]>

* removed the tooltip with the full public key when the user has only one account (#819)

Co-authored-by: ost-ptk <[email protected]>

* build(deps-dev): bump electron from 25.8.1 to 25.9.0 (#822)

Bumps [electron](https://github.com/electron/electron) from 25.8.1 to 25.9.0.
- [Release notes](https://github.com/electron/electron/releases)
- [Changelog](https://github.com/electron/electron/blob/main/docs/breaking-changes.md)
- [Commits](electron/electron@v25.8.1...v25.9.0)

---
updated-dependencies:
- dependency-name: electron
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* disabled send button on NFT details page after this NFT was sent (#824)

Co-authored-by: ost-ptk <[email protected]>

* fixed issue with the scroll on home page (#825)

Co-authored-by: ost-ptk <[email protected]>

* Release 1.6.0 version (#826)

* added countdown for user password length (#806)

Co-authored-by: ost-ptk <[email protected]>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* feature: add change password page (#799)

* fixed issue with prettier config

* fixed code style errors

* added change password page and small refactor

* merge conflict fixed

* merge conflict issues fixed

---------

Co-authored-by: ost-ptk <[email protected]>

* added a checkbox for setting the max transfer amount for CSPR transfer and some refactoring (#805)

Co-authored-by: ost-ptk <[email protected]>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* fixed issue with words highlighting in the confirm secret phrase view (#823)

Co-authored-by: ost-ptk <[email protected]>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* feature: add dark mode (#821)

* added dark mode

* merge conflict issues fixed

* changed png images to svg

* Fix DefaultTheme interface

---------

Co-authored-by: ost-ptk <[email protected]>
Co-authored-by: Dmytro Vynnyk <[email protected]>

* build(deps): bump @scure/bip32 from 1.1.1 to 1.3.2 (#812)

Bumps [@scure/bip32](https://github.com/paulmillr/scure-bip32) from 1.1.1 to 1.3.2.
- [Release notes](https://github.com/paulmillr/scure-bip32/releases)
- [Commits](paulmillr/scure-bip32@1.1.1...1.3.2)

---
updated-dependencies:
- dependency-name: "@scure/bip32"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps-dev): bump webpack from 5.76.0 to 5.88.2 (#813)

Bumps [webpack](https://github.com/webpack/webpack) from 5.76.0 to 5.88.2.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](webpack/webpack@v5.76.0...v5.88.2)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps-dev): bump eslint-plugin-react from 7.31.11 to 7.33.2 (#814)

Bumps [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) from 7.31.11 to 7.33.2.
- [Release notes](https://github.com/jsx-eslint/eslint-plugin-react/releases)
- [Changelog](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/CHANGELOG.md)
- [Commits](jsx-eslint/eslint-plugin-react@v7.31.11...v7.33.2)

---
updated-dependencies:
- dependency-name: eslint-plugin-react
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps-dev): bump @babel/preset-env from 7.20.2 to 7.23.2 (#828)

Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.20.2 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-preset-env)

---
updated-dependencies:
- dependency-name: "@babel/preset-env"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Improve skeleton for dark mode (#835)

* Release 1.6.1 version (#837)

* fixed issue with insufficient data for displaying erc-20 tokens (#840)

Co-authored-by: ost-ptk <[email protected]>

* Update README.md to add reference to CSPR.click for integration (#842)

* Improve erc20 tokens fetching (#843)

* Release/1.6.2 (#844)

* Improve erc20 tokens fetching

* Release 1.6.2 version

* feature: add QR code option to the settings menu (#774)

* added QR code option to the settings menu

* added QR generation page and removed unused props

* merge conflict issue fixed

* temp commit

* Get symbol and decimal optional

* Add qr code generation for sync wallet

* UI and UX fixes, and fixed validation rule

* moved qr generation under password protection and removed one time password

* Improve qrCode generation

* Add multi qr code presenting

---------

Co-authored-by: ost-ptk <[email protected]>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* Release 1.6.3 version (#852)

* build(deps-dev): bump ts-jest from 29.0.3 to 29.1.1 (#831)

Bumps [ts-jest](https://github.com/kulshekhar/ts-jest) from 29.0.3 to 29.1.1.
- [Release notes](https://github.com/kulshekhar/ts-jest/releases)
- [Changelog](https://github.com/kulshekhar/ts-jest/blob/main/CHANGELOG.md)
- [Commits](kulshekhar/ts-jest@v29.0.3...v29.1.1)

---
updated-dependencies:
- dependency-name: ts-jest
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump redux-saga from 1.2.1 to 1.2.3 (#832)

Bumps [redux-saga](https://github.com/redux-saga/redux-saga) from 1.2.1 to 1.2.3.
- [Release notes](https://github.com/redux-saga/redux-saga/releases)
- [Changelog](https://github.com/redux-saga/redux-saga/blob/main/CHANGELOG.md)
- [Commits](https://github.com/redux-saga/redux-saga/compare/[email protected]@1.2.3)

---
updated-dependencies:
- dependency-name: redux-saga
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps-dev): bump css-loader from 6.7.2 to 6.8.1 (#833)

Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 6.7.2 to 6.8.1.
- [Release notes](https://github.com/webpack-contrib/css-loader/releases)
- [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md)
- [Commits](webpack-contrib/css-loader@v6.7.2...v6.8.1)

---
updated-dependencies:
- dependency-name: css-loader
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* feature: add delegation and undelegation flow (#846)

* added delegation and undelegation flow

* fixed issue with sticky header in tabs

* added a new modal window with buttons on the home page

* added empty state UI for undelegation

* fixed deploys tab and deploys details page for staking

---------

Co-authored-by: ost-ptk <[email protected]>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* added active address in top nav (#847)

Co-authored-by: ost-ptk <[email protected]>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* fixed issue with an open modal window (#848)

Co-authored-by: ost-ptk <[email protected]>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* build(deps-dev): bump @babel/core from 7.20.5 to 7.23.3 (#850)

Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.20.5 to 7.23.3.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.3/packages/babel-core)

---
updated-dependencies:
- dependency-name: "@babel/core"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump @babel/traverse from 7.20.5 to 7.23.3 (#853)

Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.20.5 to 7.23.3.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.3/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps-dev): bump axios from 1.1.3 to 1.6.1 (#854)

Bumps [axios](https://github.com/axios/axios) from 1.1.3 to 1.6.1.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](axios/axios@v1.1.3...v1.6.1)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps): bump i18next-http-backend from 1.4.5 to 2.4.1 (#856)

Bumps [i18next-http-backend](https://github.com/i18next/i18next-http-backend) from 1.4.5 to 2.4.1.
- [Changelog](https://github.com/i18next/i18next-http-backend/blob/master/CHANGELOG.md)
- [Commits](i18next/i18next-http-backend@v1.4.5...v2.4.1)

---
updated-dependencies:
- dependency-name: i18next-http-backend
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps-dev): bump chromedriver from 107.0.3 to 119.0.1 (#851)

Bumps [chromedriver](https://github.com/giggio/node-chromedriver) from 107.0.3 to 119.0.1.
- [Commits](giggio/node-chromedriver@107.0.3...119.0.1)

---
updated-dependencies:
- dependency-name: chromedriver
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Release 1.7.0 version (#864)

* feature: add e2e test with playwright (#849)

* added new e2e framework and CI config

* change test dir

* removed test example

* added onboarding tests and changed CI script

* removed CI scripts for selenium tests

* fixed CI script and removed unused function

* removed unused import

* CI config improvements

* added onboarding tests for firefox

* increase workers for CI tests

* added docker container for CI tests

* fixing flaky test and removed docker container form CI

* added headless mode for tests

* updated PR template and fixed whitespaces in the CI config file

* clean up playwright config

* added a few e2e tests for popup

* added a few e2e tests for popup

* added CI config for popup tests

* updated CI config for popup tests

* skipped all tests except import account

* fixing import account test

* fixing import account test

* fixing import account test

* fixing import account test

* fixing import account test

* fixing import account test

* fixing import account test

* fixing import account test

* fixing tests on CI

* use config context

* testing

* use config context

* testing

* testing

* testing

* added docker container to CI config

* testing

* testing

* testing

* testing

* testing

* testing

* testing

* testing

* testing

* testing

* testing

* testing

* testing

* testing

* enabled connect account test

* enabled all popup tests

* removed Firefox test from CI

* cleanup

* added container to CI config for onboarding tests

* cleanup

* testing

* added signature tests for popup

* added a few new tests

* fix import issue

* fixed issues with truncated keys

* fixed test issue

* updated playwright config

* removed old e2e config and unused packages

* added a new test and minor fixes

* minor fix

---------

Co-authored-by: ost-ptk <[email protected]>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* build(deps-dev): bump html-webpack-plugin from 5.5.0 to 5.5.3 (#858)

Bumps [html-webpack-plugin](https://github.com/jantimon/html-webpack-plugin) from 5.5.0 to 5.5.3.
- [Release notes](https://github.com/jantimon/html-webpack-plugin/releases)
- [Changelog](https://github.com/jantimon/html-webpack-plugin/blob/main/CHANGELOG.md)
- [Commits](jantimon/html-webpack-plugin@v5.5.0...v5.5.3)

---
updated-dependencies:
- dependency-name: html-webpack-plugin
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps-dev): bump prettier from 3.0.3 to 3.1.0 (#859)

Bumps [prettier](https://github.com/prettier/prettier) from 3.0.3 to 3.1.0.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](prettier/prettier@3.0.3...3.1.0)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* build(deps): bump react-loading-skeleton from 3.1.0 to 3.3.1 (#860)

Bumps [react-loading-skeleton](https://github.com/dvtng/react-loading-skeleton) from 3.1.0 to 3.3.1.
- [Release notes](https://github.com/dvtng/react-loading-skeleton/releases)
- [Changelog](https://github.com/dvtng/react-loading-skeleton/blob/master/CHANGELOG.md)
- [Commits](dvtng/react-loading-skeleton@v3.1.0...v3.3.1)

---
updated-dependencies:
- dependency-name: react-loading-skeleton
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps-dev): bump @adobe/css-tools from 4.0.1 to 4.3.1 (#865)

Bumps [@adobe/css-tools](https://github.com/adobe/css-tools) from 4.0.1 to 4.3.1.
- [Changelog](https://github.com/adobe/css-tools/blob/main/History.md)
- [Commits](https://github.com/adobe/css-tools/commits)

---
updated-dependencies:
- dependency-name: "@adobe/css-tools"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* added error handling for transfer and stakes (#867)

Co-authored-by: ost-ptk <[email protected]>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* fix: fix wallet setup kick-off automatically in the Reset Wallet flow (#863)

* fixed issue with auto launching onboarding after wallet reset

* fixed prettier issues

---------

Co-authored-by: ost-ptk <[email protected]>

* fix: fix truncated public key size (#868)

* fixed issue with truncated public key size

* fixed prettier issue

---------

Co-authored-by: ost-ptk <[email protected]>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* fix: fix the moon icon (#869)

* updated the moon icon

* updated the moon icon

* fixed issue with same keys

---------

Co-authored-by: ost-ptk <[email protected]>

* spacing between buttons was fixed (#870)

Co-authored-by: ost-ptk <[email protected]>

* build(deps): bump react-hook-form from 7.40.0 to 7.48.2 (#871)

Bumps [react-hook-form](https://github.com/react-hook-form/react-hook-form) from 7.40.0 to 7.48.2.
- [Release notes](https://github.com/react-hook-form/react-hook-form/releases)
- [Changelog](https://github.com/react-hook-form/react-hook-form/blob/master/CHANGELOG.md)
- [Commits](react-hook-form/react-hook-form@v7.40.0...v7.48.2)

---
updated-dependencies:
- dependency-name: react-hook-form
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps-dev): bump web-ext from 7.6.2 to 7.8.0 (#874)

Bumps [web-ext](https://github.com/mozilla/web-ext) from 7.6.2 to 7.8.0.
- [Release notes](https://github.com/mozilla/web-ext/releases)
- [Commits](mozilla/web-ext@7.6.2...7.8.0)

---
updated-dependencies:
- dependency-name: web-ext
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* build(deps-dev): bump @adobe/css-tools from 4.3.1 to 4.3.2 (#875)

Bumps [@adobe/css-tools](https://github.com/adobe/css-tools) from 4.3.1 to 4.3.2.
- [Changelog](https://github.com/adobe/css-tools/blob/main/History.md)
- [Commits](https://github.com/adobe/css-tools/commits)

---
updated-dependencies:
- dependency-name: "@adobe/css-tools"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Release/1.7.1 (#881)

* removed the button from the footer and fixed indent

* Release 1.7.1 version

---------

Co-authored-by: ost-ptk <[email protected]>

* feature: add contact book to the wallet (#878)

* added contact book to the wallet

* added contact sort and fixed the issue with updating contact

---------

Co-authored-by: ost-ptk <[email protected]>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* showed user stake amount for validator on undelegate page (#879)

Co-authored-by: ost-ptk <[email protected]>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* added new UI for account switcher (#883)

Co-authored-by: ost-ptk <[email protected]>

* updated header UI (#884)

Co-authored-by: ost-ptk <[email protected]>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* updated the theme switcher (#885)

Co-authored-by: ost-ptk <[email protected]>

* feature: merge recent recipients with contacts list (#886)

* added contact book to the wallet

* added contact sort and fixed the issue with updating contact

* merged recent recipient with contacts

* list height fix

---------

Co-authored-by: ost-ptk <[email protected]>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* fix: fix issue with empty contact screen (#888)

* fixed issue with not trimmed names for contacts

* minor fix

* minor code improvements

---------

Co-authored-by: ost-ptk <[email protected]>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* fix: fix contact list preserving after the wallet reset (#887)

* added contact book to the wallet

* added contact sort and fixed the issue with updating contact

* merged recent recipient with contacts

* list height fix

* added reset actions for vault settings, contacts and recent recipient

---------

Co-authored-by: ost-ptk <[email protected]>

* opening of the account import window has been updated (#889)

Co-authored-by: ost-ptk <[email protected]>
Co-authored-by: Vynnyk Dmytro <[email protected]>

* fixed an issue with a scrolled-down window in Firefox (#892)

Co-authored-by: ost-ptk <[email protected]>

* fixed validation issue in recipient dropdown input (#893)

Co-authored-by: ost-ptk <[email protected]>

* updated UI for recipient dropdown input (#894)

Co-authored-by: ost-ptk <[email protected]>

* removed the System option for Safari from the theme switcher (#895)

Co-authored-by: ost-ptk <[email protected]>

* changed 'Contacts list' to 'Contacts' (#896)

Co-authored-by: ost-ptk <[email protected]>

* removed the 'max delegator' rule for the validator field from the Undelegate flow (#897)

Co-authored-by: ost-ptk <[email protected]>

* removed hover tooltip from the public key in the account switcher (#898)

Co-authored-by: ost-ptk <[email protected]>

* feature: add unlock wallet animation (#640)

* Added animations lib and lottie dependency
Added new unlock animation in the unlock vault view

* Changed animation layout

* Fixed review comments

* Updated unlock animation to the linked animation file.

* Optimized build all script

* Optimized layout

* Optimized animation

* fix merge conflict issues

* fixed version in package lock

* updated unlock animation

* updated unlock e2e test

---------

Co-authored-by: ost-ptk <[email protected]>
Co-authored-by: Ostap Piatkovskyi <[email protected]>
Co-authored-by: Dmytro Vynnyk <[email protected]>

* Release 1.8.0 version

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Ostap Piatkovskyi <[email protected]>
Co-authored-by: ost-ptk <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Muhammet Kara <[email protected]>
Co-authored-by: Piotr Witek <[email protected]>
  • Loading branch information
6 people authored Dec 20, 2023
1 parent baff20e commit 7c077c3
Show file tree
Hide file tree
Showing 151 changed files with 7,046 additions and 3,996 deletions.
2 changes: 1 addition & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ _**Make sure to fill in all the below sections.**_

## Linked tickets

// Add a `#XXX` link to a related ticket
[WALLET-XXX](https://make-software.atlassian.net/browse/WALLET-XXX)

## Checklist

Expand Down
65 changes: 25 additions & 40 deletions .github/workflows/e2e-onboarding-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,51 +8,36 @@ on:

jobs:
e2e-onboarding-tests:
timeout-minutes: 60
runs-on: ubuntu-latest

container:
image: node:16

strategy:
fail-fast: false
matrix:
# Add Firefox after fixing CI errors
browser: [ 'chrome' ]
node-version: [ 16.x ]

services:
selenium:
image: selenium/standalone-${{ matrix.browser }}
image: mcr.microsoft.com/playwright:v1.39.0-jammy

steps:
- uses: actions/checkout@v3

- name: Cache npm dependencies
id: cache-npm
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
node-version: 18

- name: Install dependencies
run: |
npm install
- name: Run E2E onboarding tests on ${{ matrix.browser }}
run: npm run test:e2e:${{ matrix.browser }}:headless:onboarding
env:
SELENIUM_HOST: selenium
SELENIUM_PORT: 4444
run: npm ci

- name: Install Playwright Browsers
run: npx playwright install --with-deps

- name: Run Chrome tests
run: npm run e2e:chrome:headless:onboarding

- uses: actions/upload-artifact@v3
if: failure()
with:
name: playwright-report
path: playwright-report/
retention-days: 30

- uses: actions/upload-artifact@v3
if: failure()
with:
name: test-results
path: test-results/
retention-days: 30
65 changes: 21 additions & 44 deletions .github/workflows/e2e-popup-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,59 +8,36 @@ on:

jobs:
e2e-popup-tests:
timeout-minutes: 60
runs-on: ubuntu-latest

container:
image: node:16

strategy:
fail-fast: false
matrix:
# Add Firefox after fixing CI errors
browser: [ 'chrome' ]
node-version: [ 16.x ]

services:
selenium:
image: selenium/standalone-${{ matrix.browser }}
options: --shm-size=2gb
image: mcr.microsoft.com/playwright:v1.39.0-jammy

steps:
- uses: actions/checkout@v3

- name: Cache npm dependencies
id: cache-npm
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
node-version: 18

- name: Install dependencies
run: |
npm install
run: npm ci

- name: Install Playwright Browsers
run: npx playwright install --with-deps

- name: Run Chrome tests
run: npm run e2e:chrome:headless:popup

- name: Run E2E popup tests on ${{ matrix.browser }}
run: npm run test:e2e:${{ matrix.browser }}:headless:popup
env:
SELENIUM_HOST: selenium
SELENIUM_PORT: 4444
- uses: actions/upload-artifact@v3
if: failure()
with:
name: playwright-report
path: playwright-report/
retention-days: 30

- name: Add screenshot
uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v3
if: failure()
with:
name: ${{ matrix.browser }}
path: test-artifacts/
name: test-results
path: test-results/
retention-days: 30
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,7 @@ secrets.*.js

# packed extension
chrome.crx
/test-results/
/playwright-report/
/blob-report/
/playwright/.cache/
13 changes: 5 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,13 +158,10 @@ You should install Redux DevTools browser extension and connect it to Redux DevT

## E2E tests

Write tests into `e2e/tests` folder.
Write tests into `e2e-tests` folder.

There are a few options to run tests:
To run e2e tests, you must use npm script `npm run e2e:chrome:ui:popup` or `e2e:chrome:ui:onboarding`.
Tests are run in UI mode.

1. In docker container
- Run docker and up containers. `docker compose up` or `docker-compose -f docker-compose.arm.yml up` for Apple M processors
- Use npm scripts `npm run test:e2e:{chrome/firefox}:headless:{popup/onboarding}` depends on target browser and tests
- To see what is happening inside the container, open your web browser and navigate to the URL <http://localhost:7900> for Chrome and <http://localhost:7901> for Firefox, enter the password `secret`, and run your test again
2. Locally on computer
- Use npm scripts `npm run test:e2e:chrome` or `npm run test:e2e:firefox` depends on target browser
All information
about how to run and debug tests can be found in [playwright docs](https://playwright.dev/docs/running-tests).
14 changes: 6 additions & 8 deletions constants.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
const { Browser } = require('selenium-webdriver');
const { NODE_ENV, BROWSER: browserEnvVar } = require('./utils/env');

const extensionName = 'Casper Wallet';
Expand All @@ -7,9 +6,9 @@ const buildRootDir = ['test', 'production'].includes(NODE_ENV)
: 'output';

const ExtensionBuildPath = {
Chrome: `${buildRootDir}/${Browser.CHROME}`,
Firefox: `${buildRootDir}/${Browser.FIREFOX}`,
Safari: `${buildRootDir}/${Browser.SAFARI}/${extensionName}`
Chrome: `${buildRootDir}/chrome`,
Firefox: `${buildRootDir}/firefox`,
Safari: `${buildRootDir}/safari/${extensionName}`
};

const ManifestPath = {
Expand All @@ -18,16 +17,15 @@ const ManifestPath = {
v2_Safari: 'src/manifest.v2.safari.json'
};

const isSafari = browserEnvVar && browserEnvVar === Browser.SAFARI;
const isChrome = browserEnvVar && browserEnvVar === Browser.CHROME;
const isFirefox = browserEnvVar && browserEnvVar === Browser.FIREFOX;
const isSafari = browserEnvVar && browserEnvVar === 'safari';
const isChrome = browserEnvVar && browserEnvVar === 'chrome';
const isFirefox = browserEnvVar && browserEnvVar === 'firefox';

module.exports = {
ExtensionBuildPath,
extensionName,
browserEnvVar,
ManifestPath,
Browser,
isFirefox,
isSafari,
isChrome
Expand Down
23 changes: 0 additions & 23 deletions docker-compose.arm.yml

This file was deleted.

23 changes: 0 additions & 23 deletions docker-compose.yml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
-----BEGIN PRIVATE KEY-----
MC4CAQAwBQYDK2VwBCIEIHRZr1HEgKVbgchuatwA7dCWDWB7QZe+bpDb5dguIyLE
-----END PRIVATE KEY-----
-----BEGIN PRIVATE KEY-----
MC4CAQAwBQYDK2VwBCIEIHRZr1HEgKVbgchuatwA7dCWDWB7QZe+bpDb5dguIyLE
-----END PRIVATE KEY-----
47 changes: 47 additions & 0 deletions e2e-tests/constants.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
import path from 'path';

export const vaultPassword = '3hQqzYn4C7Y8rEZTVEZb';
export const recoverSecretPhrase =
'hold matrix spider subway bottom jazz charge fire lawn valley stay coil moral hospital dream cycle multiply december agree huge major tower devote old';
export const secretKeyPath = path.join(__dirname, './account_secret_key.pem');

export const ACCOUNT_NAMES = {
defaultFirstAccountName: 'Account 1',
defaultSecondAccountName: 'Account 2',
createdAccountName: 'New account 1',
importedAccountName: 'Imported account',
renamedAccountName: 'Renamed account'
};

export const PLAYGROUND_URL = 'https://casper-wallet-playground.make.services/';

export const IMPORTED_ACCOUNT = {
accountName: ACCOUNT_NAMES.importedAccountName,
publicKey:
'0184f6d260f4ee6869ddb36affe15456de6ae045278fa2f467bb677561ce0dad55',
truncatedPublicKey: '0184f...dad55'
};

export const DEFAULT_FIRST_ACCOUNT = {
accountName: ACCOUNT_NAMES.defaultFirstAccountName,
publicKey:
'0202b1943511b8c23b1b2b8ed7ddcedffcc7be70d9366a5005c7beab08a81b7ae633',
truncatedPublicKey: '0202b...ae633'
};

export const DEFAULT_SECOND_ACCOUNT = {
accountName: ACCOUNT_NAMES.defaultSecondAccountName,
publicKey:
'0203b2e05f074452f5e69ba512310deceaca152ebd3394eadcec26c6e68e91aa7724',
truncatedPublicKey: '0203b...a7724'
};

export const VALIDATOR = {
name: 'Validator',
truncatedPublicKey: '0106c...ca2ca'
};

export const NEW_VALIDATOR = {
name: 'New validator',
truncatedPublicKey: '017d9...2009e'
};
Loading

0 comments on commit 7c077c3

Please sign in to comment.