BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
abfb4f6e
Commit
abfb4f6e
authored
Oct 12, 2016
by
Bryce Johnson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document Capybara errors from es6 in es5 file.
parent
3c31f185
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
frontend.md
doc/development/frontend.md
+11
-0
No files found.
doc/development/frontend.md
View file @
abfb4f6e
...
...
@@ -223,3 +223,14 @@ For our currently-supported browsers, see our [requirements][requirements].
[
xss
]:
https://en.wikipedia.org/wiki/Cross-site_scripting
[
scss-style-guide
]:
scss_styleguide.md
[
requirements
]:
../install/requirements.md#supported-web-browsers
## Common Errors
### Rspec (Capybara/Poltergeist) chokes on general JavaScript errors
If you see very generic JavaScript errors (e.g.
`jQuery is undefined`
) being thrown in tests, but
can't reproduce them manually, you may have included
`ES6`
-style JavaScript in files that don't
have the
`.js.es6`
file extension. Either use ES5-friendly JavaScript or rename the file you're
working in (
`git mv <file>.js> <file.js.es6>`
).
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment