16 Commits

Author SHA1 Message Date
Robert Schäfer
3942f03ea1 Fix cypress test 2019-06-05 23:32:28 +02: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
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
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
Matt Rider
33ddeeebd3 Refactor to use url() 2019-04-17 00:08:43 -03:00
Robert Schäfer
540175b446 Merge remote-tracking branch 'origin/master' into 347-display_notifications 2019-04-12 20:21:52 +02:00
c2ef3c9c44
possible fix for cypress create post 2019-04-12 13:37:12 +02:00
Robert Schäfer
0c8cc7380b Minimal implementation to let cypress test pass 2019-04-10 14:09:55 +02:00
Robert Schäfer
3ceb4373e3 Create a simple dropdown for notifications 2019-04-10 14:09:55 +02:00
Robert Schäfer
8475884338 Sketch 🥒 for #345 2019-04-10 14:09:55 +02:00
Robert Schäfer
6ee9b9d830 Fix WritePost.feature 2019-03-26 17:13:41 +01:00
Robert Schäfer
51ca20335a Sketch 🥒 for #240 2019-03-26 13:52:56 +01:00
Robert Schäfer
16c58b77ba Fix cypress test, green 🥒 2019-03-23 02:04:17 +01:00
Robert Schäfer
8827add1c7 Improve 🥒 *must* fail if not implemented
cc @mattwr18
2019-03-22 20:03:25 +01:00
Robert Schäfer
44d1265681 Restructure for monorepo 2019-03-21 02:11:35 +01:00