73 Commits

Author SHA1 Message Date
1cadf80a43
fixed fullstack tests 2023-06-22 16:48:51 +02:00
23c2be3093
Merge branch 'master' into update-database 2023-06-16 15:02:58 +02:00
5f545f3b8f
fixed cypress 2023-06-13 15:06:04 +02:00
mahula
5dd9c03b4f
Merge branch 'master' into seed-posts-as-articles 2023-06-07 09:32:01 +02:00
mahula
d70030387d fix reporting e2e tests 2023-06-07 08:44:08 +02:00
mahula
38a135d966 fix social media test step 2023-06-07 08:44:07 +02:00
520e1e44b4 removed duplicate step defintion 2023-06-07 08:44:07 +02:00
38c3fc1397 fix .env loading 2023-06-07 08:44:07 +02:00
00c615d796 fix first errors 2023-06-07 08:44:07 +02:00
mahula
b308b290aa drop usage of environment variables for neo4j in cypress:
- the default values in backend's neo4j.js are used
2023-06-07 08:41:43 +02:00
mahula
74a054e2b4 correct dependencies in step definition files 2023-06-07 08:41:43 +02:00
mahula
a73af27870 move support index to e2e.js for cypress v10.x 2023-06-06 17:33:33 +02:00
mahula
df1a542a56 Cypress: move step definition files to new default location 2023-06-06 17:33:33 +02:00
mahula
040295184a
update cypress/support/step_definitions/Moderation.ReportContent/somebody_reported_the_following_posts.js
Co-authored-by: Hannes Heine <heine.hannes@gmail.com>
2023-06-05 20:29:19 +02:00
mahula
ad1ee56064 fix reporting e2e tests 2023-06-03 07:14:59 +02:00
mahula
20ad70362a fix social media test step 2023-06-03 06:00:53 +02:00
e804ff52da
removed duplicate step defintion 2023-06-02 13:51:34 +02:00
3ad8588d6f
fix .env loading 2023-06-02 13:44:43 +02:00
810e1c085b
fix first errors 2023-06-02 13:15:06 +02:00
mahula
14ed84620b add network waiting to several cypress steps 2023-05-26 17:28:04 +02:00
mahula
18288efa1b wait for network to be idle in cypress tests 2023-05-26 11:16:58 +02:00
mahula
b2b9ebc400 wait for network to be idle in cypress tests 2023-05-26 10:47:35 +02:00
8223024c30
removed write rights from query where its not needed 2023-05-22 16:58:04 +02:00
mahula
01ded1bbcf Merge branch 'master' into cypress-migrate-to-v10 2023-03-09 17:08:42 +01:00
elweyn
a09960aa54 Remove gql tag of cypress code. 2023-03-03 20:40:16 +01:00
elweyn
71820a94f5 Change gql tag in cypress. 2023-02-28 13:14:18 +01:00
mahula
722856a7d7 drop usage of environment variables for neo4j in cypress:
- the default values in backend's neo4j.js are used
2023-02-22 20:35:15 +01:00
mahula
d7d28798ed correct dependencies in step definition files 2023-02-22 11:56:08 +01:00
mahula
4afe3e05a5 Merge branch 'master' into cypress-migrate-to-v10 2023-02-22 09:14:11 +01:00
mahula
57a9d3789b move support index to e2e.js for cypress v10.x 2023-02-20 12:35:02 +01:00
mahula
f17397e2bc Cypress: move step definition files to new default location 2022-11-06 17:10:46 +01:00
7d92eb3950
fixed includes 2021-04-12 13:24:52 +02:00
d661cb8b32
Internationalization.feature 2021-04-12 13:24:52 +02:00
c08f173b50
User.ChangePassword.feature
unified user creation and logging in
2021-04-12 13:24:51 +02:00
161b38a8f8
post create cypress feature 2021-04-12 13:24:51 +02:00
2c881c4f48
authentication feature
fixed a problem in login component
2021-04-12 13:22:30 +02:00
9add0fe1e9
started to refactor cypress tests 2021-04-12 13:22:30 +02:00
0ec0574375
have cypress running locally - the tests still fail 2021-04-12 13:22:29 +02:00
mattwr18
f67a000c11 Stub Websockets, remove vue-loader
- no reason we need websockets to try connect endlessly
- vue-loader was stopping the cypress tests in debugger at webpack:///./node_modules/vue-style-loader/lib/addStylesClient.js?499e
and we are not using anywhere.
2020-02-20 18:24:31 +01:00
mattwr18
1fefc6e754 Take advantage of Cypress built-in promises 2020-02-20 12:38:09 +01:00
mattwr18
447b19eea0 Use cy.exec() to talk to the database
- Cypress says "To talk to your database or server you need to use the
  cy.exec(), cy.task(), or cy.request() commands. That means you will
need to expose a way to seed and setup your database." https://docs.cypress.io/guides/references/trade-offs.html#Inside-the-browser
2020-02-20 10:52:36 +01:00
mattwr18
6c32104330 Clean database with neode and Cypress.Promise 2020-02-20 09:55:35 +01:00
roschaefer
2ca4939ef0 Refactor: Don't use async/await in cypress 2020-02-18 00:30:53 +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
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
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
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