Commit a9adf03
committed
Fix window resizing of solidus_chrome_headless driver
Fixes errors similar to the one below when running
`solidus_chrome_headless` in a Solidus extension:
```
1) Checkout leaving and returning to address step
Got 0 failures and 2 other errors:
1.1) Failure/Error: visit spree.root_path
NoMethodError:
undefined method `args' for nil:NilClass
# ./spec/features/checkout_spec.rb:25:in `block (2 levels) in <top (required)>'
# ./spec/support/confirm_helpers.rb:14:in `block (2 levels) in <top (required)>'
```
According to #183:
> After updating to cimg/ruby:2.7-browsers, we have a newer version of
Selenium running on CircleCI. As such, we need to define our
configuration in a way that is compatible with the new version.1 parent 2a924be commit a9adf03
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
7 | 9 | | |
8 | 10 | | |
9 | 11 | | |
| |||
12 | 14 | | |
13 | 15 | | |
14 | 16 | | |
15 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
16 | 20 | | |
17 | 21 | | |
18 | 22 | | |
| |||
0 commit comments