67 Commits

Author SHA1 Message Date
Robert Schäfer
2c606ec304 Settings page component without fetchCurrentUser 2019-02-26 22:10:40 +01:00
Robert Schäfer
a14a819420 Remove TODOs 2019-02-26 00:25:32 +01:00
Robert Schäfer
7c629ed4f0 Configure Travis to use factories for cypress 2019-02-26 00:25:32 +01:00
Robert Schäfer
250c70991a All cucumber tests pass on my machine 2019-02-26 00:25:32 +01:00
Robert Schäfer
cf898d5417 Report feature uses factories 2019-02-26 00:25:32 +01:00
Grzegorz Leoniec
459b582fb4 Fixed some linting issues 2019-02-26 00:25:32 +01:00
Robert Schäfer
1e219934d2 Obsolete cypress command 2019-02-26 00:25:31 +01:00
Robert Schäfer
233c6abbab Refactor most of report cucumber feature 2019-02-26 00:25:31 +01:00
Robert Schäfer
5e0d245b40 Implemented most cucumber features with factories 2019-02-26 00:25:31 +01:00
Robert Schäfer
a024282f75 Implement first cucumber features with factories 2019-02-26 00:25:31 +01:00
Robert Schäfer
a58861427b Expose a bug: wrong redirect on Post#create
1/2 cucumber tests are green. The reason why the first test does not
succeed reliably is that the frontend redirects to a wrong URL after you
create the post. It's the slug of the first created post. I want to be
redirected to the slug of the created post.

CC @appinteractive please fix
2019-02-15 16:03:21 +01:00
Robert Schäfer
3c825ae9b0 Expose missing translation 2019-02-15 15:24:54 +01:00
Robert Schäfer
1806565eb2 Provide step definitions 2019-02-15 15:07:04 +01:00
Robert Schäfer
74d1f9c00a Sketch a cucumber feature for writing a post
@appinteractive
Cucumber lesson: Write the cucumber feature first, then add step
definitions. If you do it the other way round, it will make your
cucumber features less readable.
2019-02-15 14:10:28 +01:00
Grzegorz Leoniec
9d76a904e8
Made very basic edit and create of posts possible 2019-02-04 17:19:06 +01:00
Robert Schäfer
fb18264387 Re-add step definition of unrelated cucumber 2019-01-21 15:46:38 +01:00
Robert Schäfer
6efa2b01c9 Fix eslint 2019-01-21 15:16:13 +01:00
Robert Schäfer
e63e346720 Refactor "Report content" cucumber feature 2019-01-21 15:12:13 +01:00
Grzegorz Leoniec
834973f3d3
Try to fix test 2019-01-21 11:49:37 +01:00
Grzegorz Leoniec
90d7b94e7a
Merged master in 2019-01-18 14:27:00 +01:00
Grzegorz Leoniec
4d80dab441
Fixed settings form and its test 2019-01-18 13:45:40 +01:00
Grzegorz Leoniec
9a63da733f
Added moderation menu item check for non moderators to be hidden 2019-01-18 10:25:49 +01:00
Grzegorz Leoniec
12d713d528
Fixed user report test 2019-01-18 10:10:42 +01:00
Grzegorz Leoniec
cd40879c6e
Added user report test (broken for no reason) 2019-01-17 22:41:48 +01:00
Grzegorz Leoniec
a87c9e4f4a
Added report content tests 2019-01-17 22:22:10 +01:00
Grzegorz Leoniec
57c106ab13
Fixe typo in AboutMeAndLocation feature 2019-01-17 19:24:00 +01:00
Grzegorz Leoniec
54b690bcc7
Fixed username test on settings page by waiting for the form to be saved 2019-01-15 11:09:01 +01:00
Grzegorz Leoniec
a3a229c36f
Fixed location test with region on english locale by using Saxony-Anhalt instead 2019-01-15 11:08:37 +01:00
Robert Schäfer
096b3b7e9d Use multiline strings in the step definition
@appinteractive I'm having trouble to run cypress on my machine right
now. But I think this is the correct syntax.
2019-01-11 18:46:35 +01:00
Robert Schäfer
82eb66a170 Merge remote-tracking branch 'origin/master' into locations 2019-01-11 13:56:40 +01:00
Grzegorz Leoniec
02ed3db6fc
Improved integration tests 2019-01-10 15:55:05 +01:00
Grzegorz Leoniec
9cfbb8429b
Removed unused steps 2019-01-10 13:54:01 +01:00
Grzegorz Leoniec
a6b8a81574
Renamed scenario "I change my name" to "change username" 2019-01-10 13:51:45 +01:00
Grzegorz Leoniec
5c7ecfc6a6
Improved integration tests 2019-01-10 13:50:20 +01:00
Grzegorz Leoniec
5a664053a5
Refactored testingsetup 2019-01-08 19:25:40 +01:00
Grzegorz Leoniec
aeed12a2bf
Fixed linting 2019-01-08 18:47:14 +01:00
Grzegorz Leoniec
272012c020
Further condensed testing 2019-01-08 18:45:36 +01:00
Grzegorz Leoniec
f982ea2c40
Improved testing 2019-01-08 18:37:28 +01:00
Grzegorz Leoniec
c563d7ccc1
Added: And I am on the "settings" page on given 2019-01-08 18:24:48 +01:00
Robert Schäfer
bd502da17b
Update cypress/integration/AboutMeAndLocation.feature
Co-Authored-By: appinteractive <greg@app-interactive.de>
2019-01-08 18:19:32 +01:00
Grzegorz Leoniec
ee8dbb7765
Always use english lang on login 2019-01-08 17:34:36 +01:00
Grzegorz Leoniec
a518412ea0
Improved location testing 2019-01-08 15:19:04 +01:00
Grzegorz Leoniec
e13e14ce64
Added Cypress Tests for about me and location 2019-01-07 18:17:58 +01:00
Grzegorz Leoniec
ce3a812eb2
Fixed a test 2019-01-07 18:17:38 +01:00
Robert Schäfer
ab541300ac Remove probably unused semver dependency 2019-01-07 16:55:57 +01:00
Matt Rider
9f8a292c7e Fix lint issues 2019-01-04 20:59:33 -02:00
Grzegorz Leoniec
8b40bae372
Merge branch 'master' into refactor_login_method_and_setup_unit_tests 2018-12-24 16:17:54 +01:00
Grzegorz Leoniec
1e1864277d
Improved intarnationalization test 2018-12-21 15:31:07 +01:00
Grzegorz Leoniec
4fe90668a6
Improved internationalization tests 2018-12-21 15:27:11 +01:00
Grzegorz Leoniec
4f3a18263b
Refactored internationalization tests 2018-12-21 15:11:13 +01:00