mattwr18
e31b9ff015
Fix failing cypress test
...
- the click trigger event lives on avatar-menu-trigger
2020-01-20 10:08:27 +01:00
mattwr18
6efd2fa345
Fix: Cypress Neo4j authentication without Docker
...
- It's a bit of a pain to need to run Docker just to run the cypress
tests, and while it would be nice to use the same .env, we have an issue
with relative paths, dotenv, and cypress playing nice together.
2020-01-20 10:08:12 +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
roschaefer
178143dfb7
refactor(modules): Various import fixes
...
* DRY schema stitching code
* Use same `.env` configuration file for cypress tests
That last part I couldn't improve a lot. I thought it might be possible
with cypress to import all files from a folder. But since it must be
browser compatible and our backend is not using webpack or anything,
it remains a goal unreached.
close #2773
close #2774
2020-01-17 15:59:19 +01:00
mattwr18
4fdcbc78aa
fix: cypress breaks locally in login step ( #2776 )
...
- We do not need to simulate a user closing the toaster, as this is not
that common of a user interaction, fails intermittently locally, and
costs unnecessary build time
2020-01-16 19:30:25 +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
roschaefer
b7e36345b9
Remove backendHost
2019-12-05 21:00:24 +01:00
roschaefer
825ad6d266
Fix cypress tests
...
Since `dotenv` in the backend now loads configuration from a file
relative to the current file, we don't have to duplicate the neo4j
configuration settings here.
2019-12-05 21:00:24 +01:00
roschaefer
8f0ce19f09
Implement getDriver() and getNeode() the same way
...
I want to introduce `neode` and `neo4j-graphql-js` to my students and
saw this.
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
mattwr18
c775884c59
Merge pull request #2160 from Human-Connection/2119_Create_Post_consistent_form_input_validation
...
🍰 2119-Fix Contribution consistent form input validation
2019-11-19 00:27:48 +01:00
roschaefer
978347ba7b
Tell github-linguists to ignore snapshots
2019-11-16 20:09:05 +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