Commit graph

12 commits

Author SHA1 Message Date
Clement Ho
b593565538 Add note about live_debug only working on javascript enabled specs 2018-01-22 17:50:39 +00:00
Anwar El Wakil
408e3cc1c4 Update best_practices.md
Remove duplicate list item in "General Guidelines" Section.
2018-01-19 13:15:35 +00:00
Rémy Coutable
4af9d592c5 Replace factory_girl_rails with factory_bot_rails
I've followed the [upgrade guide](https://github.com/thoughtbot/factory_bot/blob/4-9-0-stable/UPGRADE_FROM_FACTORY_GIRL.md) and ran these two commands:

```
grep -e FactoryGirl **/*.rake **/*.rb -s -l | xargs sed -i "" "s|FactoryGirl|FactoryBot|"
grep -e factory_girl **/*.rake **/*.rb -s -l | xargs sed -i "" "s|factory_girl|factory_bot|"
```

Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-12-14 15:01:55 +01:00
Douwe Maan
4d6830ec50 Merge branch 'patch-28' into 'master'
Add debugging section to testing_guide/best_practices.md.

See merge request gitlab-org/gitlab-ce!14858
2017-11-02 11:58:54 +00:00
Rémy Coutable
0364e07447
Address Douwe's feedback
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-11-02 12:02:51 +01:00
Rémy Coutable
1c17ddba66
Simplify the live debugger resume mechanism: press any key
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-10-26 18:03:33 +02:00
Eric Eastwood
43377979c6 Check for element before evaluate_script
Tip from
https://robots.thoughtbot.com/write-reliable-asynchronous-integration-tests-with-capybara#directly-interacting-with-javascript
2017-10-19 14:01:15 -05:00
Rémy Coutable
a3368a988d
Improve the LiveDebugger exit handler and documentation
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-10-17 17:42:21 +02:00
Rémy Coutable
9bccea6e34
Add LiveDebugger#live_debug to debug Capybara in feature tests.
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-10-16 10:50:12 +02:00
Clement Ho
88bd5fa274 Update best_practices.md 2017-10-12 21:38:52 +00:00
Fatih Acet
77d636cc16 Add debugging section to testing_guide/best_practices.md. 2017-10-12 21:29:32 +00:00
Rémy Coutable
676840ff9c Refactor the Development documentation, and divide the Testing documentation into multiple pages 2017-10-11 05:59:34 +00:00