roschaefer
2ca4939ef0
Refactor: Don't use async/await in cypress
2020-02-18 00:30:53 +01:00
mattwr18
1ca8a7fc86
Fix other syntax error :doh:
2020-02-17 21:23:49 +01:00
mattwr18
119e542e86
Fix syntax error
2020-02-17 20:51:13 +01:00
mattwr18
a2f78462d2
Use promise for creating category
2020-02-17 20:23:09 +01:00
mattwr18
54af884e50
Log out before logging in as other user
2020-02-17 18:38:51 +01:00
mattwr18
3398c2c12a
Merge branch 'master' of github.com:Human-Connection/Human-Connection into 3054-add-e2e-tests-image-uploader
2020-02-17 18:38:09 +01:00
mattwr18
6d635bac1d
Wait for category to be created
2020-02-17 12:41:46 +01:00
mattwr18
7ce40b3b37
Fix cypress test
2020-02-14 20:44:39 +01:00
mattwr18
d8d1db389a
Follow @roschaefer PR review suggestions
...
- create mapping for expectedValues in post.js
- check from image/jpeg and compress, if not just pass to backend as is
2020-02-14 19:49:00 +01:00
mattwr18
fa02a4dd33
Write cypress tests for ImageUploader
...
- have I missed any important features? too many tests?
2020-02-12 17:53:38 +01:00
Alina Beck
f1efdbad7d
fix final failing cypress test
2020-02-12 00:27:40 +01:00
mattwr18
fb429f6ef3
Fix BlockUser/MuteUser.feature
2020-02-11 21:57:20 +01:00
mattwr18
2adfe1665b
Implement direct login in cypress tests
...
- there is a manualLogin for tests which test the manual logging in, all
others just set the cookie in the frontend
2020-02-11 21:44:19 +01:00
Alina Beck
53931a38e5
fix cypress tests
2020-02-11 19:47:05 +01:00
mattwr18
5347f734af
Fix cypress tests/frontend implementation
...
- Co-authored-by: Wolfgang Huß <wolle.huss@pjannto.com>
2020-02-10 16:25:00 +01:00
mattwr18
c2802aa4f2
Merge branch 'master' of github.com:Human-Connection/Human-Connection into 3033-fix-block-users-bug
2020-02-10 14:24:32 +01:00
mattwr18
3b29d480e3
Display unblock feature only for blocking user
...
- add hasBlocked query to check if userA initiated the blocking and, if
true, only them to unblock userB.
- add cypress tests to make sure we don't break this in the future.
2020-02-10 12:34:40 +01:00
roschaefer
3c50255da2
Merge remote-tracking branch 'origin/master' into refactor_factories_with_rosie
2020-02-07 14:07:19 +01:00
Robert Schäfer
a9b7318874
Merge pull request #2826 from Human-Connection/error-pages
...
fix: Error pages can be translated
2020-02-07 11:59:33 +01:00
roschaefer
fa0e64b7cb
Merge remote-tracking branch 'origin/master' into refactor_factories_with_rosie
...
There was a single step definition that created a post and a comment. I
would say let's put that in two different steps.
2020-02-01 13:33:07 +01:00
mattwr18
ce42b2b8e9
Update cypress test casing
2020-01-31 14:45:27 +01:00
mattwr18
701411e270
Merge branch 'master' of github.com:Human-Connection/Human-Connection into 1680-Direct_answer_on_Comment
2020-01-31 13:08:31 +01:00
mattwr18
60cd593826
Merge branch 'master' of github.com:Human-Connection/Human-Connection into 1724-block-users
2020-01-30 10:47:50 +01:00
roschaefer
910f122087
Fix lint and cypress
2020-01-29 02:02:58 +01:00
roschaefer
fc367297e3
Get rid of different factory files
...
..and fix some cypress tests
2020-01-28 23:12:50 +01:00
roschaefer
094fa196e6
Fix factories for cypress tests
2020-01-28 22:43:26 +01:00
Moriz Wahl
04ff82f880
Cypress test fixed
2020-01-28 10:18:15 +01:00
mattwr18
35395d15a2
Add missing . for chain method
2020-01-27 20:37:54 +01:00
mattwr18
d6a2f2d9e3
Merge branch 'master' of github.com:Human-Connection/Human-Connection into 1680-Direct_answer_on_Comment
2020-01-27 20:08:37 +01:00
mattwr18
b48b93dd0d
Set up cypress test for direct reply to comment
2020-01-27 15:07:32 +01:00
mattwr18
f8f62cc71f
Merge branch 'master' of github.com:Human-Connection/Human-Connection into neo4j_data_migrations
2020-01-23 20:42:44 +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
bbb4dd56cd
Follow review suggestions/add button to unblock
...
- @roschaefer gave several suggestions
- we have a button to unblock/unmute users on profile page
2020-01-23 19:18:12 +01:00
mattwr18
8accc62f18
Merge branch 'master' of github.com:Human-Connection/Human-Connection into neo4j_data_migrations
2020-01-22 15:23:11 +01:00
mattwr18
e639358557
Test drive to get the functionality how we'd like
2020-01-21 21:16:42 +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
8fe6ad77e0
Merge pull request #2686 from Human-Connection/279-blacklist-users-content
...
feat: Convert block/unblock to mute/unmute
2020-01-21 17:05:09 +01:00
mattwr18
46343c923c
Fix cypress tests after renamed variables
2020-01-21 17:03:50 +01:00
roschaefer
b063847849
refactor: Make db:setup init stage of migrate
2020-01-20 11:00:52 +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
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