Matt Rider
f551e9a637
Fix failing build due to lorempixel.com being down
2019-06-22 12:01:00 -03:00
Robert Schäfer
ab719eca3e
Merge pull request #732 from Human-Connection/688-hover-effect-user-image-upload
...
Hover effect user image upload
2019-06-06 15:54:50 +02:00
Robert Schäfer
3942f03ea1
Fix cypress test
2019-06-05 23:32:28 +02:00
aonomike
21131a1e45
Add cypress test to check date comment posted is displayed
2019-06-04 15:16:01 +03:00
Matt Rider
c6cadc60c3
Remove semicolons added with .vscode linting, unused library
2019-06-03 21:23:11 -03:00
Matt Rider
b5b6c3ef51
Fix cypress test
2019-06-03 20:10:49 -03:00
Matt Rider
cebd1046c7
Write cypress tests, show dropzone conditionally
...
- If it's the user's profile, show vueDropzone, if not show just the user's avatar
- apollo mutation is being called twice for drag and drop events
2019-05-24 01:26:37 -03:00
Robert Schäfer
a819d6353a
Fix probably randomly failing cypress test
...
@mattwr18 @ulfgebhardt @tirokk @appinteractive @ogerly
I think I just fixed a randomly failing test (so-called "flaky" test).
After an update of `neo4j-graphql-js` I wondered why the
`TagsAndCategories.feature` test failed consistently. It turns out the
table that you can see in the test is ordered by the "Users" column:
| | Name | Users | Posts |
| 1 | Democracy | 2 | 3 |
| 2 | Ecology | 1 | 1 |
| 3 | Nature | 1 | 2 |
So there is a tie between row 2 and row 3. It seems that on version
2.4.0 the backend would return those rows in arbitrary order and now it
returns them in a deterministic order, thus failing the test every time.
Therefore I changed the test setup and I believe this should also make
the build more robust now.
2019-05-17 00:09:54 +02:00
Wolfgang Huß
c4a4d3d1f0
Wrote an additional frontend unit test
...
Skipped writing of a modal dialog before deletion, because many code parts are on the way in the delete post PR.
So makes no sense to write them twice.
I make a new issue …
2019-05-08 16:04:09 +02:00
Wolfgang Huß
0ffbe567c7
Merge branch 'master' of https://github.com/Human-Connection/Human-Connection into 463-delete-socialMedia
2019-05-08 08:54:11 +02:00
Robert Schäfer
473a7ec95a
Merge pull request #512 from Human-Connection/test-out-cypress-plugin-retries
...
[WIP] Rerun moderation/report tests on failure
2019-05-07 12:44:26 +02:00
Robert Schäfer
a1b74bef00
Configure 1 retry on Travis
2019-05-07 00:51:18 +02:00
Robert Schäfer
d255a165b4
Delete unused folder cypres/cypress/
...
Where did that come from? @mattwr18
2019-05-07 00:49:48 +02:00
Robert Schäfer
e23c838aaa
Merge remote-tracking branch 'origin/master' into test-out-cypress-plugin-retries
2019-05-07 00:25:52 +02:00
Wolfgang Huß
41711c316a
Get delete SocialMedia to work, refactored Frontend Jest tests, written Cypress tests
...
Optimised tests and Vue for add Social Media a bit.
Added localisation.
Finished this commit together with @mattwr18 !!!
Thank you so much dude! You did great stuff …
2019-05-06 17:31:02 +02:00
Matt Rider
ad46c2d059
Remove cypress test
...
- it is not part of the scope of this ticket, and therefore should be extracted and dealt with separately
2019-05-05 12:26:02 -03:00
Matt Rider
1fff9bbc46
Add cypress test to expose comment creation bug
...
- at the moment, one can create the same comment by clicking rapidly on the "Comment" button
- an idea for a fix https://stackoverflow.com/questions/53101521/prevent-repeated-queries-in-apollo-server-2
2019-05-04 18:46:34 -03:00
Matt Rider
94384a7608
Merge branch 'master' of github.com:Human-Connection/Human-Connection into 260-add-comment-form
2019-04-29 14:57:46 -03:00
Matt Rider
7181f03fdf
Fix flaky cypress test
2019-04-27 18:00:37 -03:00
Matt Rider
b7b9f8c464
Require cypress plugin retries
2019-04-27 15:24:39 -03:00
Matt Rider
b8e17fa321
Rerun moderation/report tests on failure
...
- intermittent failing test
2019-04-27 13:45:37 -03:00
Matt Rider
30d0ff3cc7
Search for button with text "Comment" in cypress test
2019-04-26 11:31:18 -03:00
Matt Rider
8d7fdec17f
Update the cypress test for new button text
2019-04-26 09:22:57 -03:00
Matt Rider
c387760046
Extract CommentForm component
...
- Cypress test is now passing as a result
Co-authored-by: Tirokk <wolle.huss@pjannto.com>
2019-04-25 14:20:00 -03:00
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
4f7d5ee24f
Fix? flaky cypress by waiting for <no-ssr> content
...
Content menu is a client-side rendered component. Maybe an extra
assertion will wait for it? That's how you can flix flaky cucumbers if
you use capybara.
2019-04-18 19:05:36 +02: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