14.1 Iteration I1: Email Notifications 13.1 Iteration H1: Webpacker and App-Like JavaScript
1 (tests|runs), 2 assertions, 0 failures, 0 errors. <0> was expected to be >= <1>. Traceback: /home/rubys/git/awdwr/edition4/checkdepot.rb:38:in `assert_test_summary' /home/rubys/git/awdwr/edition4/checkdepot.rb:353:in `block in <class:DepotTest>'
edit test/system/orders_test.rb
require "application_system_test_case"
class OrdersTest < ApplicationSystemTestCase
test "check routing number" do
visit store_index_url
first('.entry').click_on 'Add to Cart'
click_on 'Checkout'
fill_in 'order_name', with: 'Dave Thomas'
fill_in 'order_address', with: '123 Main Street'
fill_in 'order_email', with: 'dave@example.com'
assert_no_selector "#order_routing_number"
select 'Check', from: 'pay_type'
assert_selector "#order_routing_number"
end
end
RAILS_ENV=test bin/webpack
yarn run v0.24.6
$ "/home/rubys/git/awdwr/edition4/work-51/depot/node_modules/.bin/webpack" --config /home/rubys/git/awdwr/edition4/work-51/depot/config/webpack/test.js
Hash: 1d25ed21779733b8be0a
Version: webpack 2.6.1
Time: 2798ms
Asset Size Chunks Chunk Names
pay_type.js 745 kB 0 [emitted] [big] pay_type
hello_react.js 728 kB 1 [emitted] [big] hello_react
application.js 3.17 kB 2 [emitted] application
manifest.json 146 bytes [emitted]
[14] ./~/react/lib/ReactElement.js 11.2 kB {0} {1} [built]
[17] ./~/react/lib/React.js 5.08 kB {0} {1} [built]
[23] ./~/react/react.js 56 bytes {0} {1} [built]
[82] ./~/react-dom/index.js 59 bytes {0} {1} [built]
[83] ./~/prop-types/factoryWithTypeCheckers.js 18.6 kB {0} {1} [built]
[113] ./~/react-dom/lib/ReactDOM.js 5.17 kB {0} {1} [built]
[183] ./app/javascript/PayTypeSelector/index.jsx 4.26 kB {0} [built]
[184] ./~/prop-types/index.js 1.08 kB {1} [built]
[185] ./app/javascript/PayTypeSelector/CheckPayType.jsx 2.77 kB {0} [built]
[186] ./app/javascript/PayTypeSelector/CreditCardPayType.jsx 2.88 kB {0} [built]
[187] ./app/javascript/PayTypeSelector/NoPayType.jsx 1.98 kB {0} [built]
[188] ./app/javascript/PayTypeSelector/PurchaseOrderPayType.jsx 2.45 kB {0} [built]
[189] ./app/javascript/packs/hello_react.jsx 513 bytes {1} [built]
[190] ./app/javascript/packs/pay_type.jsx 680 bytes {0} [built]
[191] ./app/javascript/packs/application.js 515 bytes {2} [built]
+ 177 hidden modules
Done in 3.53s.
rake test:system
Run options: --seed 21240
# Running:
E
Error:
OrdersTest#test_check_routing_number:
Selenium::WebDriver::Error::UnknownError: unknown error: Chrome failed to start: exited abnormally
(Driver info: chromedriver=2.29.461571 (8a88bbe0775e2a23afda0ceaf2ef7ee74e822cc5),platform=Linux 3.13.0-119-generic x86_64)
test/system/orders_test.rb:6:in `block in <class:OrdersTest>'
Error:
OrdersTest#test_check_routing_number:
Selenium::WebDriver::Error::UnknownError: unknown error: Chrome failed to start: exited abnormally
(Driver info: chromedriver=2.29.461571 (8a88bbe0775e2a23afda0ceaf2ef7ee74e822cc5),platform=Linux 3.13.0-119-generic x86_64)
bin/rails test test/system/orders_test.rb:5
Finished in 120.725052s, 0.0083 runs/s, 0.0000 assertions/s.
1 runs, 0 assertions, 0 failures, 1 errors, 0 skips
rake test
Run options: --seed 7673
# Running:
.......................................
Finished in 1.174469s, 33.2065 runs/s, 66.4130 assertions/s.
39 runs, 78 assertions, 0 failures, 0 errors, 0 skips
14.1 Iteration I1: Email Notifications 13.1 Iteration H1: Webpacker and App-Like JavaScript