Skip to content

Commit

Permalink
[DDW-617] rename ui tests to e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
DominikGuzei committed Apr 9, 2019
1 parent 8897248 commit c8b8d06
Show file tree
Hide file tree
Showing 83 changed files with 38 additions and 38 deletions.
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/ui/documents/paper_wallet_certificates/paper-wallet-certificate.pdf
features/tests/ui/screenshots
features/tests/e2e/documents/paper_wallet_certificates/paper-wallet-certificate.pdf
features/tests/e2e/screenshots

# Webpack
.cache
Expand Down
2 changes: 1 addition & 1 deletion features/about-dialog.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ui
@e2e
Feature: About Dialog

Background:
Expand Down
2 changes: 1 addition & 1 deletion features/accept-terms-of-use.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ui
@e2e
Feature: Accept "Terms of use"
Background:
Expand Down
2 changes: 1 addition & 1 deletion features/ada-redemption.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ui
@e2e
Feature: Ada Redemption

Background:
Expand Down
2 changes: 1 addition & 1 deletion features/add-wallet-via-sidebar.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ui
@e2e
Feature: Add Wallet via Sidebar

Background:
Expand Down
2 changes: 1 addition & 1 deletion features/block-consolidation-page.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ui
@e2e
Feature: Display Block Consolidation Page

Background:
Expand Down
2 changes: 1 addition & 1 deletion features/data-layer-migration.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ui
@e2e
Feature: Data Layer Migration

Background:
Expand Down
2 changes: 1 addition & 1 deletion features/delete-wallet-via-settings.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ui
@e2e
Feature: Delete Wallet via Settings

Background:
Expand Down
2 changes: 1 addition & 1 deletion features/import-wallet-via-sidebar.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ui
@e2e
Feature: Import Wallet via Sidebar

Background:
Expand Down
2 changes: 1 addition & 1 deletion features/local-time-difference.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ui
@e2e
Feature: Local Time Difference

Scenario: Wrong local time
Expand Down
2 changes: 1 addition & 1 deletion features/navigate-general-settings-menu.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ui
@e2e
Feature: General Settings

Background:
Expand Down
2 changes: 1 addition & 1 deletion features/navigate-sidebar-categories.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ui
@e2e
Feature: Navigate Sidebar Categories

Background:
Expand Down
2 changes: 1 addition & 1 deletion features/navigate-wallet-tabs.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ui
@e2e
Feature: Navigate Wallet Tabs

Background:
Expand Down
2 changes: 1 addition & 1 deletion features/no-disk-space.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ui
@e2e
Feature: No Disk Space Overlay

Background:
Expand Down
2 changes: 1 addition & 1 deletion features/node-update-exit.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ui
@e2e
Feature: Node Update Exit

Background:
Expand Down
2 changes: 1 addition & 1 deletion features/node-update-notification.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ui
@e2e
Feature: Node Update Notification

Background:
Expand Down
2 changes: 1 addition & 1 deletion features/paper-wallets-certificate.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ui
@e2e
Feature: Paper Wallets Certificate generation

Background:
Expand Down
2 changes: 1 addition & 1 deletion features/quit-app.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ui
@e2e
Feature: Quitting Daedalus

Daedalus can be quit in multiple (and unexpected) ways and
Expand Down
2 changes: 1 addition & 1 deletion features/receive-money.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ui
@e2e
Feature: Receive money

Background:
Expand Down
2 changes: 1 addition & 1 deletion features/restore-wallet-via-sidebar.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ui
@e2e
Feature: Add Wallet via Sidebar

Background:
Expand Down
2 changes: 1 addition & 1 deletion features/select-language.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ui
@e2e
Feature: Select Language

Scenario: User Selects Language
Expand Down
2 changes: 1 addition & 1 deletion features/send-money-to-receiver.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ui
@e2e
Feature: Send Money to Receiver

Background:
Expand Down
2 changes: 1 addition & 1 deletion features/switching-between-wallets.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ui
@e2e
Feature: Switching Between Wallets

Background:
Expand Down
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion features/toggle-sidebar-submenus.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ui
@e2e
Feature: Toggle Sidebar Submenus

Background:
Expand Down
2 changes: 1 addition & 1 deletion features/transactions-display.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ui
@e2e
Feature: Display wallet transactions

The wallet summary screen displays the five most recent transactions,
Expand Down
2 changes: 1 addition & 1 deletion features/trouble-connecting-notification.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ui
@e2e
Feature: Trouble Connecting Notification

Background:
Expand Down
2 changes: 1 addition & 1 deletion features/trouble-syncing-notification.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ui
@e2e
Feature: Trouble Syncing Notification

Background:
Expand Down
2 changes: 1 addition & 1 deletion features/wallet-address-generate.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ui
@e2e
Feature: Generate Wallet Address

Background:
Expand Down
2 changes: 1 addition & 1 deletion features/wallet-settings.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ui
@e2e
Feature: Wallet Settings

Background:
Expand Down
2 changes: 1 addition & 1 deletion features/wallets-limit.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ui
@e2e
Feature: Wallet Settings

Background:
Expand Down
2 changes: 1 addition & 1 deletion features/wallets-ordering.feature
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@ui
@e2e
Feature: Wallet Odering

Background:
Expand Down
6 changes: 3 additions & 3 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,13 +125,13 @@ gulp.task(
);

gulp.task(
'test:ui:nodemon',
'test:e2e:nodemon',
shell.task(
'nodemon --watch dist --watch features --exec "yarn test:ui --tags \'@ui and @watch\'"'
'nodemon --watch dist --watch features --exec "yarn test:e2e --tags \'@e2e and @watch\'"'
)
);

gulp.task('test:ui:watch', gulp.series('build:watch', 'test:ui:nodemon'));
gulp.task('test:e2e:watch', gulp.series('build:watch', 'test:e2e:nodemon'));

gulp.task(
'purge:translations',
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
"start": "gulp start",
"start:dev": "NODE_ENV=development gulp start",
"dev": "IS_WATCH_MODE=true gulp dev",
"test": "NODE_ENV=test yarn build && yarn test:unit && yarn test:ui",
"test": "NODE_ENV=test yarn build && yarn test:unit && yarn test:e2e",
"test:unit": "yarn cucumber --require 'features/tests/unit/**/*.js' --tags '@unit and not @skip'",
"test:unit:watch": "nodemon --watch source --watch features --exec \"yarn test:unit --tags '@unit and @watch'\"",
"test:unit:unbound": "yarn cucumber --require 'features/tests/unit/**/*.js' --tags '@unbound and not @skip'",
"test:ui": "yarn cucumber --require 'features/tests/ui/**/*.js' --tags '@ui and not @skip'",
"test:ui:watch": "gulp test:ui:watch",
"test:e2e": "yarn cucumber --require 'features/tests/e2e/**/*.js' --tags '@e2e and not @skip'",
"test:e2e:watch": "gulp test:e2e:watch",
"cucumber": "cross-env NODE_ENV=test cucumber-js --require-module @babel/register -f node_modules/cucumber-pretty --format-options '{\"snippetInterface\": \"async-await\"}'",
"debug": "gulp debug",
"package": "gulp build && cross-env NODE_ENV=production node -r @babel/register -r @babel/polyfill scripts/package.js",
Expand Down

0 comments on commit c8b8d06

Please sign in to comment.