You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/contribute/README.md
+20Lines changed: 20 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,6 +55,26 @@ bundle exec rspec
55
55
56
56
Tests follow quite the same rules as the documentation: Make sure to either add relevant tests (when introducing new concepts or components) or change existing ones to fit your changes (updating existing concepts and components). Pull requests that add/change concepts & components and do not come with corresponding tests will not be approved.
57
57
58
+
### Note: Running tests on macOS
59
+
60
+
Make sure you have installed `chromedriver` on your machine. You can install `chromedriver` via `brew` with
61
+
62
+
```shell
63
+
brew cask install chromedriver
64
+
```
65
+
66
+
You can then run your the testsuite with `bundle exec rspec`.
67
+
68
+
If you get an error about a version mismatch similar to this one:
69
+
70
+
`Chrome version must be between X and Y (Driver info: chromedriver=X.Y.Z)`
71
+
72
+
Make sure you update your chromedriver by executing this command in the project root:
73
+
74
+
```shell
75
+
rails app:webdrivers:chromedriver:update
76
+
```
77
+
58
78
## Release
59
79
60
80
Webpacker is used for managing all JS assets. In order to deploy a packed JS, we use a "builder" app found in `repo_root/builder`. This builder app uses a symlink in order to reference the actual core found in `builder/vendor`.
0 commit comments