90 Commits

Author SHA1 Message Date
Robert Schäfer
9987ad1c95 Merge branch 'master' of github.com:Human-Connection/Nitro-Web into 37-full-text-search-top-bar 2019-03-18 15:08:31 +01:00
Robert Schäfer
41cf347f21 Fix ReportContent.feature 2019-03-16 19:41:56 +01:00
Robert Schäfer
4db242933f Fix HidePosts.feature 2019-03-16 19:24:39 +01:00
Grzegorz Leoniec
0d38505054
Merge branch 'master' into 27_disable_posts 2019-03-12 19:36:56 +01:00
Grzegorz Leoniec
abf5a3143d
Merge branch 'master' into 37-full-text-search-top-bar 2019-03-12 19:34:32 +01:00
Grzegorz Leoniec
4810fd1497
Fixed tag and categories tests by trimming names 2019-03-12 18:44:51 +01:00
Grzegorz Leoniec
ab09f356ca
Fixed a submit buttion translation for reporting content 2019-03-12 17:59:40 +01:00
Matt Rider
85ffd67a49 Merge branch 'master' of github.com:Human-Connection/Nitro-Web into 37-full-text-search-top-bar 2019-03-12 12:49:48 -03:00
Matt Rider
92aacf6900 Write more component tests
- test the default props values
- test that is open changes when focused on or on blur
- test that the input is clearable, failing still
2019-03-08 17:35:02 -03:00
Robert Schäfer
e10b9fde74 Fix translations, lint and some tests 2019-03-08 20:41:17 +01:00
Matt Rider
3cebb0eea0 Update ReportModal to work with back end 2019-03-08 20:41:17 +01:00
Matt Rider
bc96333bae Refactor cypress/component tests 2019-03-08 14:41:08 -03:00
Robert Schäfer
47eaf7dea0 Fix cypress test with more specific matcher 2019-03-08 01:41:28 +01:00
Robert Schäfer
ba369d82fe Fix translations, lint and some tests 2019-03-08 01:39:28 +01:00
Matt Rider
842d68c129 Update ReportModal to work with back end 2019-03-07 20:59:13 -03:00
Matt Rider
11ca909b85 Write cypress tests
- Press enter starts search
- Press escape clears search
- Select entry goes to post
- Select dropdown content
2019-03-07 19:28:50 -03:00
Robert Schäfer
2f9ab97b14 Fix cypress test with more specific matcher 2019-03-04 19:31:01 +01:00
Robert Schäfer
6f116b6963 Remove custom error page
I find the custom error page out of scope of this PR so I will create
another tracking PR to get this feature merged as soon as possible.

See: https://github.com/Human-Connection/Nitro-Web/pull/216
2019-03-04 15:56:56 +01:00
Robert Schäfer
1672db0dfb Implement custom error page
We need styling and additional translation for other
HTTP error codes.

CC @appinteractive
2019-03-04 15:39:09 +01:00
Robert Schäfer
eaa2017ba4 This technically lets the cypress tests pass
@appinteractive when I run the whole apollo request in `asyncData` I get
errors that there is a mismatch of the virtual DOM trees for client and
server. Any ideas?
2019-03-04 15:39:09 +01:00
Robert Schäfer
804cb796b8 Fix lint 2019-03-04 15:39:09 +01:00
Robert Schäfer
370748ce55 Sketch cypress test to hide posts from the public 2019-03-04 15:39:09 +01:00
Matt Rider
cba5e10397 Merge branch 'master' of github.com:Human-Connection/Nitro-Web into 37-full-text-search-top-bar 2019-03-01 14:26:03 -03:00
Matt Rider
450a79c634 Merge branch 'master', modify cypress search test 2019-02-27 22:59:03 -03:00
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
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
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
Matt Rider
f09d3ed685 Write steps, start implemenation of search input component 2019-02-02 17:22:40 -02:00
Matt Rider
049fa2893b Write first cucumber scenario 2019-01-30 11:37:58 -02: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