58 Commits

Author SHA1 Message Date
Matt Rider
092dcd7122 Get cypress test passing in a hacky way 2019-04-25 10:10:08 -03:00
Matt Rider
bc35ab835f Modify cypress tests, attempt to get them to work
- they are still not triggering a change in form.content, therefore sending an empty string and either failing the back end validations, or if removed creating a comment with an empty string
2019-04-24 20:56:57 -03:00
Matt Rider
8ae632be7b Fix component test, comment out form submission from cypress
- Added $t function to test now that it is being localised
- We are submitting the form by clicking on the button as a normal user would
- Cypress test still broken due to peculiarities of tiptap editor
2019-04-24 12:28:53 -03:00
Matt Rider
3b00a34199 Add cypress step to check the editor is cleared 2019-04-23 18:19:11 -03:00
Matt Rider
c6b11319fe Clear editor, write cypress test
- the editor only clears once, also there are some other bugs associated with clearing it this way
- according to https://github.com/scrumpy/tiptap/issues/21 there should be a clearContent(), but haven't been able to get it to work
- cypress test for some reason is with a weird bug where I need to submit the form, then click on the submit button, otherwise it doesn't call the handleSubmit method
2019-04-22 11:51:29 -03:00
aonomike
52e82d277e Add Post Comment feature file 2019-04-20 16:59:47 +03:00
Robert Schäfer
a1744d363c Click away iziToast message after login
Sometimes, the popup was covering the create-post button thus failing
some cypress tests locally.
2019-04-18 16:54:05 +02:00
Robert Schäfer
9a96f22870 Finish Mention.feature 🥒 2019-04-17 22:29:55 +02:00
Robert Schäfer
408c95a96c Implement mentioning in cypress test 2019-04-17 21:00:05 +02:00
Robert Schäfer
a127239988 Add cypress env configuration to docs 2019-04-17 20:59:54 +02:00
Robert Schäfer
91e11eb14d Merge remote-tracking branch 'origin/master' into 347-display_notifications 2019-04-17 20:23:24 +02:00
Robert Schäfer
49431b6bc7 Try to fix flaky "ReportContent.feature" 🥒 2019-04-17 11:28:15 +02:00
Matt Rider
33ddeeebd3 Refactor to use url() 2019-04-17 00:08:43 -03:00
Matt Rider
faf25f5e45 Rename mentions feature
- to use mentions instead of mentionings
2019-04-15 20:58:15 -03:00
Matt Rider
a08e6cb841 Remove duplicate test, rename
- Mentions is the proper English term
2019-04-15 20:36:09 -03:00
Matt Rider
72c1d3914a Merge branch '347-display_notifications' of github.com:Human-Connection/Human-Connection into 347-display_notifications 2019-04-15 19:40:02 -03:00
Matt Rider
7102618569 Merge github.com:Human-Connection/Human-Connection into 347-display_notifications 2019-04-15 19:38:13 -03:00
Robert Schäfer
7bc0851b90 Fix cypress test looking for English translations
Oops, I edited the translations and did not think of cypress tests that
might depend on them, sorry cc @mattwr18
2019-04-12 21:12:36 +02:00
Robert Schäfer
540175b446 Merge remote-tracking branch 'origin/master' into 347-display_notifications 2019-04-12 20:21:52 +02:00
Robert Schäfer
b75650ba38 Organize feature locations suggested by @datenbrei 2019-04-12 17:49:55 +02:00
Robert Schäfer
c0bff47275 Merge remote-tracking branch 'origin/master' into 236-list-social-media-accounts 2019-04-12 17:49:14 +02:00
Robert Schäfer
e89e038158 Prevent cypress from parsing markdown files
If there is a README.md in `integration/` folder, cypress crashes.
2019-04-12 14:54:40 +02:00
Robert Schäfer
d3ff3ca241 Merge remote-tracking branch 'origin/master' into 342-merge_documentation 2019-04-12 14:48:27 +02:00
Robert Schäfer
97dd3f8bee Link cucumber features in feature specification 2019-04-12 14:44:22 +02:00
Robert Schäfer
5fd269f419 Restructure feature specification 2019-04-12 14:04:46 +02:00
Robert Schäfer
216fc2b67c DRY + Better naming: Testing flavours and Github
cc @mattwr18

I would suggest that each subfolder like `/backend/`, `/webapp/`,
`/deployment/` and so on should have a file README.md. Thus, not only
gitbook will pick it up but also Github itself. Github is looking for a
file called README.md when iterating through subfolders.
2019-04-12 13:48:47 +02:00
c2ef3c9c44
possible fix for cypress create post 2019-04-12 13:37:12 +02:00
00a95f956a
cypress fixes (windows) 2019-04-12 13:24:15 +02:00
Matt Rider
1e4fad8425 Add cucumber scenario, component tests 2019-04-11 21:23:17 -03:00
mattwr18
4383431260
GitBook: [342-merge_documentation] 56 pages and 14 assets modified 2019-04-11 22:12:37 +00:00
Matt Rider
0bec423a81 Delete/move documentation markdown files 2019-04-11 19:02:55 -03:00
Matt Rider
9bdd0742c9 Update tests, start test driving new scenario
- tests had become outdated thanks to new implementation details, namely that a socialMedia node is being created and associated with a user instead of it being an attribute of the User
- scenario to ensure other user's can view my social media
2019-04-11 16:35:22 -03:00
Robert Schäfer
0c8cc7380b Minimal implementation to let cypress test pass 2019-04-10 14:09:55 +02:00
Robert Schäfer
3ceb4373e3 Create a simple dropdown for notifications 2019-04-10 14:09:55 +02:00
Robert Schäfer
8475884338 Sketch 🥒 for #345 2019-04-10 14:09:55 +02:00
Robert Schäfer
8d77731bbf Remove obsolete number prefix on cypress tests
Cypress tests don't need to be executed in order so we don't need the
numbers anymore.

cc @appinteractive
2019-04-10 14:09:55 +02:00
Robert Schäfer
4d2ba25576 Minimal implementation to let cypress test pass 2019-04-09 20:51:54 +02:00
Robert Schäfer
d0812dae09 Create a simple dropdown for notifications 2019-04-09 20:51:54 +02:00
Robert Schäfer
35e2640f37 Sketch 🥒 for #345 2019-04-09 20:51:54 +02:00
Robert Schäfer
f4fc2d6c30 Remove obsolete number prefix on cypress tests
Cypress tests don't need to be executed in order so we don't need the
numbers anymore.

cc @appinteractive
2019-04-09 20:51:54 +02:00
Matt Rider
4d4978c0f2 Merge github.com:Human-Connection/Human-Connection into 236-list-social-media-accounts 2019-04-05 07:29:44 -03:00
Robert Schäfer
6a356dd8b1 Hopefully fix flaky tags and categories test 2019-04-03 21:40:24 +02:00
Robert Schäfer
6cd857c731 Sledgehammer cypress flaky tests with force 2019-04-03 17:19:15 +02:00
Matt Rider
80f664dd78 Match user by id instead of email, update feature 2019-04-02 18:05:45 -03:00
Matt Rider
3f9916404e Merge branch 'master' of github.com:Human-Connection/Human-Connection into 236-list-social-media-accounts 2019-03-27 08:33:16 -03:00
Robert Schäfer
76dfd08c82 Follow @mattwr18's review
https://github.com/Human-Connection/Human-Connection/pull/248#pullrequestreview-219203465
2019-03-27 00:18:26 +01:00
Robert Schäfer
88ac0601f7 DRY: persistentLink implementation 2019-03-26 23:52:01 +01:00
Robert Schäfer
9545e20a22 Fix Search.feature 2019-03-26 17:28:15 +01:00
Robert Schäfer
6ee9b9d830 Fix WritePost.feature 2019-03-26 17:13:41 +01:00
Robert Schäfer
51cbc65f4b Rename profile-id to profile-id-slug route 2019-03-26 13:52:56 +01:00