Skip to content

Commit

Permalink
[DDW-821] Reorganize Test Setup (input-output-hk#1540)
Browse files Browse the repository at this point in the history
* [DDW-821] Adds README to tests directory

* [DDW-821] Edits tests/README.md

* [DDW-821] Moves nav features to Navigation directory

* [DDW-821] Pulls in existing testing docs to README

* [DDW-821] Moves .eslintrc to tests directory

* [DDW-821] Moves address features to Addresses directory

* [DDW-821] Moves paper wallets features to PaperWallets directory

* [DDW-821] Moves settings features to Settings directory

* [DDW-821] Moves wallet status features to Status directory

* [DDW-821] Moves txns features to Transactions directory

* [DDW-821] Moves wallets features to Wallets directory

* [DDW-821] Removes all features files to domain structured directories within tests dir

* [DDW-821] Adds features dir to all domain dirs, moves in feature files

* [DDW-821] Moves status steps to tests/Status/steps

* [DDW-821] Moves settings steps to tests/Settings/steps

* [DDW-821] Moves status helper step

* [DDW-821] Moves paper wallets steps to tests/PaperWallets/steps

* [DDW-821] Moves txns steps to tests/Transactions/steps

* [DDW-821] Moves addresses steps to tests/Addresses/steps

* [DDW-821] Moves nav steps to tests/Navigation/steps

* [DDW-821] Moves wallets steps to tests/Wallets/steps

* [DDW-821] Moves nav helpers to tests/Navigation/helpers

* [DDW-821] Begins consolidating navigation-steps

* [DDW-821] Renames add wallet page helpers

* [DDW-821] Restructures test setup helpers and types

* [DDW-821] Consolidates Status helpers

* [DDW-821] Begins consolidating Wallets helpers

* [DDW-821] Creates e2e and unit sub-directories within each domain of tests directory

* [DDW-821] Creates documents sub-directory within PaperWallets domain

* [DDW-821] Creates documents sub-directory within Wallets domain

* [DDW-821] Updates .gitignore to ignore screenshots directories within new domains sub-directories

* [DDW-821] Moves about-dialog feature and steps to Status domain

* [DDW-821] Moves shared-helpers steps to appropriate locations

* [DDW-821] Consolidates Settings helper functions

* [DDW-821] Moves i18n helpers into Settings domain, refactors import routes

* [DDW-821] Moves import wallet dialog helpers into Wallets domain, refactors import routes

* [DDW-821] Moves remaining wallet-helpers into Wallets domain

* [DDW-821] Moves shared-helpers and screenshot helpers into new Common domain

* [DDW-821] Moves screenshots dir to root of tests dir, configures .gitignore

* [DDW-821] Renames domains directories to use lowercase

* [DDW-821] Renames status domain to nodes, fixes paths on all import statements within nodes dir

* [DDW-821] Fixes import statement paths for nodes domain, adds flow

* [DDW-821] Fixes import statement paths for transactions domain, adds flow

* [DDW-821] Fixes import statement paths for navigation domain, adds flow

* [DDW-821] Fixes import statement paths for addresses domain, adds flow

* [DDW-821] Fixes import statement paths for wallets domain, adds flow

* [DDW-821] Fixes import statement paths for settings domain, adds flow

* [DDW-821] Fixes import statement paths for common domain, adds flow

* [DDW-821] Fixes import statement paths for paper-wallets domain, adds flow

* [DDW-821] Renames wallets steps files

* [DDW-821] Renames transactions steps files

* [DDW-821] Renames settings steps files

* [DDW-821] Renames paper-wallets steps files

* [DDW-821] Renames nodes steps files

* [DDW-821] Moves quit-app.feature to nodes domain

* [DDW-821] Renames steps file in navigation domain

* [DDW-821] Renames steps file in addresses domain

* [DDW-821] Updates list of domains directories in tests/README.md

* [DDW-821] Adds utils property to Daedalus type in tests

* [DDW-821] Fixes all flow errors in wallets helpers

* [DDW-821] Fixes all flow errors in wallets steps files

* [DDW-821] Adds flow support to utxos-chart.js in txns domain

* [DDW-821] Adds flow support to basic-setup.js in settings domain

* [DDW-821] Adds flow support to general-settings.js in settings domain

* [DDW-821] Fixes all flow errors in settings helpers

* [DDW-821] Fixes all flow errors in settings select-language steps

* [DDW-821] Fixes all flow errors in settings.js steps file

* [DDW-821] Fixes all flow errors in settings terms-of-use steps file

* [DDW-821] Fixes all flow errors in settings file-names steps file

* [DDW-821] Fixes all flow errors in paper-wallets-certificates steps file

* [DDW-821] Fixes all flow errors in tests/setup.js

* [DDW-821] Fixes screenshots directory path in .gitignore

* [DDW-821] Updates CHANGELOG

* [DDW-821] Cucumber, ESLint, and Prettier config adjustments

* [DDW-821] Fixes ESLint error (abc order css rules)

* [DDW-821] Fixes Gulp task test:e2e:watch

* [DDW-821] Fixes screenshots logic in tests

* [DDW-821] Updates CHANGELOG

* [DDW-821] Fixes newsfeed e2e tests

* [DDW-821] Moves newsfeed features, tests, steps, and documents into news domain directory

* [DDW-821] Fix newsfeed tests
  • Loading branch information
MarcusHurney authored and nikolaglumac committed Oct 14, 2019
1 parent 958bc9e commit 6bc9b76
Show file tree
Hide file tree
Showing 115 changed files with 972 additions and 768 deletions.
5 changes: 3 additions & 2 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ main.js
logs
node_modules
translations
./tests
features/tests/e2e/documents/*
tests
tests/paper-wallets/e2e/documents/*
tests/wallets/e2e/documents/*
mainnet-genesis-dryrun-with-stakeholders.json
source/renderer/app/i18n/locales
nodemon.json
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ translations/messages
translations/reports

# 'Screenshots' and 'Paper wallet ceritifcate PDF file' generated by acceptance tests
features/tests/e2e/documents/paper_wallet_certificates/paper-wallet-certificate.pdf
features/tests/e2e/screenshots
tests/paper-wallets/e2e/documents/paper-wallet-certificate.pdf
tests/screenshots/

# Webpack
.cache
Expand Down
3 changes: 2 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,5 @@

# Ignore the following special folders and files
source/renderer/app/i18n/locales/
features/tests/e2e/documents/*
tests/paper-wallets/e2e/documents/*
tests/wallets/e2e/documents/*
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
Changelog
=========

## vNext

### Chores

- Reorganized tests directories by domain and added flow support to all tests JS files ([PR 1540](https://github.com/input-output-hk/daedalus/pull/1540))

## 0.15.0

### Features
Expand Down
20 changes: 0 additions & 20 deletions features/.eslintrc

This file was deleted.

62 changes: 0 additions & 62 deletions features/README.md

This file was deleted.

14 changes: 0 additions & 14 deletions features/tests/e2e/documents/default-wallet.json

This file was deleted.

Binary file not shown.
11 changes: 0 additions & 11 deletions features/tests/e2e/helpers/add-wallet-page-helpers.js

This file was deleted.

19 changes: 0 additions & 19 deletions features/tests/e2e/helpers/app-helpers.js

This file was deleted.

15 changes: 0 additions & 15 deletions features/tests/e2e/helpers/cardano-node-helpers.js

This file was deleted.

19 changes: 0 additions & 19 deletions features/tests/e2e/helpers/data-layer-migration-helpers.js

This file was deleted.

20 changes: 0 additions & 20 deletions features/tests/e2e/helpers/dialogs/import-wallet-dialog-helpers.js

This file was deleted.

27 changes: 0 additions & 27 deletions features/tests/e2e/helpers/i18n-helpers.js

This file was deleted.

14 changes: 0 additions & 14 deletions features/tests/e2e/helpers/language-selection-helpers.js

This file was deleted.

13 changes: 0 additions & 13 deletions features/tests/e2e/helpers/notifications-helpers.js

This file was deleted.

18 changes: 0 additions & 18 deletions features/tests/e2e/helpers/route-helpers.js

This file was deleted.

25 changes: 0 additions & 25 deletions features/tests/e2e/helpers/screenshot.js

This file was deleted.

57 changes: 0 additions & 57 deletions features/tests/e2e/helpers/shared-helpers.js

This file was deleted.

Loading

0 comments on commit 6bc9b76

Please sign in to comment.