Moriz Wahl
04ff82f880
Cypress test fixed
2020-01-28 10:18:15 +01:00
Mike Aono
d49afc25cf
test(cypress): Cover "Pinned post" feature
...
* Implement cypress tests
- Start implementation of cypress tests for pinned posts
* Test that Admin can pin a post
- Tests the process of an admin pinning a post
* Resolve failing tests
- Fix ordering of posts immediately after pinning posts by reloading page
- Check that tests are pinned posts are displayed first for role user
* Refactor to seperate the initialization
- Of the post data created in the database during setup
* Fix toaster test
* test(cypress): Add missing parts for pin feature
* docs(cucumber): Link to admin 🥒 folder
* Follow @mattwr18's suggestions
* test(backend): Order pinned posts like frontend
@mattwr18 I think this was a false negative.
Co-authored-by: Robert Schäfer <git@roschaefer.de>
2020-01-23 20:30:12 +01:00
mattwr18
769c0cd105
Merge branch 'master' of github.com:Human-Connection/Human-Connection into 2675-migrate-avatar-component-2
2020-01-21 17:08:51 +01:00
mattwr18
46343c923c
Fix cypress tests after renamed variables
2020-01-21 17:03:50 +01:00
mattwr18
7b73c990ec
Remove unintended changes to class name/comment
2020-01-20 10:19:39 +01:00
mattwr18
74a7db5388
Convert missed ds-avatar, fix cypress test
2020-01-20 10:08:27 +01:00
mattwr18
e31b9ff015
Fix failing cypress test
...
- the click trigger event lives on avatar-menu-trigger
2020-01-20 10:08:27 +01:00
mattwr18
b7c26f5a3e
Revert missed class name to be renamed
...
- I would like to rename HcPostCard to PostCard, but I decided to do it
in another PR as it's not relevant to the issue this PR addresses
2020-01-20 10:07:27 +01:00
mattwr18
177121d64d
Rename class back to open separate PR
2020-01-20 10:07:27 +01:00
mattwr18
77ef3b0406
Fix failing tests
2020-01-20 10:07:02 +01:00
mattwr18
068e2b4417
Fix styling, renaming classes
2020-01-20 10:04:30 +01:00
mattwr18
851babeac3
Merge branch 'master' of github.com:Human-Connection/Human-Connection into 279-blacklist-users-content
2020-01-16 14:48:56 +01:00
Alina Beck
56a3822377
Merge pull request #2562 from Human-Connection/migrate-styleguide-buttons
...
refactor(styleguide): migrate and redesign buttons
2020-01-15 14:17:06 +03:00
Alina Beck
1b127f1efb
fix cypress tests (wip)
2020-01-14 15:20:30 +03:00
mattwr18
84e475fd8a
Merge branch 'master' of github.com:Human-Connection/Human-Connection into 279-blacklist-users-content
2020-01-13 21:22:58 +01:00
mattwr18
84780013f4
Fix cypress tests/start refactor search story
...
- Cannot use data-test in cypress tests as we use production image and
data-test are removed to minimize the image. Select based on styleguide
input's class
- Story is still not working because of filter dateTime and
$i18n.locale(), we can fix this later.
- Co-authored-by: Moriz Wahl <moriz.wahl@gmx.de>
2020-01-10 12:52:54 +01:00
Moriz Wahl
e6f1672067
cypress matcher modified
2020-01-10 10:22:16 +01:00
Moriz Wahl
8c7079cf81
changes requested by reviews
2020-01-10 09:23:56 +01:00
mattwr18
fc567b9d84
Remove Content.feature
...
- Muting a user means I cannot see their content, they can still see
mine
- Even for blocking, we want a blocked user to be able to see the
content just not interact with it.
2020-01-09 13:47:30 +01:00
mattwr18
ba3e9e1025
Rename blacklist/whitelist to mute/unmute
...
- Follow @roschaefer suggestion in issue
- This can be reverted if we decide otherwise
2020-01-08 18:04:26 +01:00
mattwr18
cd7f0e2783
Fix/extend cypress tests
2020-01-08 17:08:06 +01:00
mattwr18
c297b83f87
Convert block/unblock to blacklist/whitelist
...
- at the moment, we have implemented blocked like we want the
blacklist/whitelistUserContent to be, with the exception that is should
not be both ways. If I blacklist a user's content, they still see my
content in their news feed.
2020-01-07 18:57:35 +01:00
Moriz Wahl
07b2b7ca3b
Please pass the tests now
2020-01-06 18:36:59 +01:00
Moriz Wahl
45e806defd
Trying to fix cypress errors
2020-01-06 17:45:13 +01:00
mattwr18
9f8c207b46
Try using Esc to clear previous search
2019-12-20 15:39:13 +01:00
mattwr18
61c80e920d
Force click on clear btn
...
- cypress passing locally, but failing the build, the previous search
term is not being cleared, which does happen when the clear button is
clicked
2019-12-20 12:40:01 +01:00
mattwr18
7ee57033be
Fix/extend cypress Search.feature
2019-12-19 17:14:45 +01:00
mattwr18
cce28e6c7a
Fix cypress tests
2019-12-19 00:01:42 +01:00
mattwr18
46c4602db1
Filter for blockedUsers/content, fix cypress
2019-12-18 20:42:06 +01:00
mattwr18
65cf8e4792
Merge pull request #2443 from Human-Connection/2237-longer-comments
...
Fix #2237 , Comments 4 times as long before "show more"
2019-12-10 11:07:24 +01:00
Jacob Brennan
08f4d5f0d7
Changed comments to be four times as long (was 300, now 1200 characters) before they are hidden behind show more. Added two tests, one to make sure comments of length > 300 but < 1200 are fully visible, and another to check that comments > 1200 characters are hidden.
2019-12-06 14:52:24 -05:00
roschaefer
77fb948c14
Fix cypress tests
2019-12-05 21:00:24 +01:00
mattwr18
985d53e52b
Fix broken tests
2019-11-29 20:49:46 +01:00
mattwr18
2f249a73c5
Rename REPORTED Claim to FILED Report
2019-11-26 15:35:48 +01:00
Moriz Wahl
a39a040e91
Changed translation must change test :(
2019-11-20 19:48:04 +01:00
roschaefer
c20a656405
Follow @mattwr18 suggestions
2019-11-15 12:04:43 +01:00
roschaefer
edbb0c3d1f
Fix cypress tests
2019-11-15 11:55:15 +01:00
Wolfgang Huß
d2fd33b102
Fix tests
2019-10-24 12:54:51 +02:00
mattwr18
807c3e1972
Update missed reasonCategory param in cypress test
2019-10-15 00:33:54 +02:00
Wolfgang Huß
fd27583c1d
Merge branch '1707-reporting-with-specific-information' of github.com:Human-Connection/Human-Connection into 1707-refactor-db-reporting-with-specific-information
...
# Conflicts:
# shared/moderation/report.js
2019-10-14 16:21:08 +02:00
Wolfgang Huß
c7849cedd8
Rename report reason category names to have '_' instead '-'
2019-10-14 16:12:21 +02:00
Wolfgang Huß
a07010f50c
First step of implementing direct report relation
2019-10-10 15:38:20 +02:00
Wolfgang Huß
b41f340ad6
Fix Cypher test by correcting syntax of GraphQL report mutation
2019-10-10 08:15:17 +02:00
Wolfgang Huß
0b549a9dea
Try to fix Cypress test for reports Latin1 error
...
Error in Cypress: `InvalidCharacterError: Failed to execute 'btoa' on 'Window': The string to be encoded contains characters outside of the Latin1 range.`
2019-10-09 18:05:54 +02:00
Wolfgang Huß
bc4cf2ee60
Fix Cypress tests
2019-10-09 17:11:16 +02:00
Wolfgang Huß
935252a16e
Rename variables, parameters and properties
2019-10-04 15:21:07 +02:00
mattwr18
d9bfad68a9
Update scenario description
...
- to be more similar to other descriptions of the file
2019-10-01 21:59:25 +02:00
mattwr18
624922b0e6
Check that reported post can be visited
...
- want to verify that it is not a post not found 402
2019-10-01 21:29:48 +02:00
mattwr18
478f6fef1c
Fix query builder/test
2019-10-01 20:57:45 +02:00
mattwr18
3dee2137d4
Find annoying user by id
2019-10-01 20:05:34 +02:00