Commit Graph

17 Commits

Author SHA1 Message Date
Varun Choudhary
18e0ae0783 console: fix flaky test for event trigger
This PR fixes the flaky test, discussed [here ](https://hasurahq.slack.com/archives/C04E6U4TUM6/p1680545040680069?thread_ts=1680544673.299789&cid=C04E6U4TUM6)

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8613
GitOrigin-RevId: 79deee9bd4e1abfcde19cc848ce1de2b5bf248a5
2023-04-04 16:35:06 +00:00
Varun Choudhary
6621dc6adb console: e2e snapshot testing for event triggers
This PR adds e2e snapshot testing for event triggers.
We are testing it in 2 ways -
1. testing the shortest possible path to create ET and then modifying it to the longest possible path
    - here we are testing the shortest path and see no extra fields are added to avoid regression. Then we modify the shortest path to the longest one and see nothing will break on the metadata side
2. testing the longest possible path to create ET and then modifying it to the shortest possible path
   - here we are testing the longest path and see if all the fields are passing to avoid regression. Then we modify the longest path to the shortest one and see nothing will break on the metadata side
3. More info in the [doc](https://docs.google.com/document/d/1NjZsvd6xOq90lNMai8nKBaWl-LqBWrkiZCHSQ7wusdE/edit)

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8341
GitOrigin-RevId: f44d5297e70fe50fc4f2a2ac43a1707b71398ba1
2023-04-03 17:24:41 +00:00
Stefano Magni
0d078f2aca chore(frontend): Add testing library to the EE E2E tests
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8498
GitOrigin-RevId: 3168d103907b48514e6044179e81c8602e293b0c
2023-03-30 10:43:03 +00:00
Varun Choudhary
abcb2b4489 console: e2e snapshot testing for rs-to-x relationships
This PR has e2e snapshot testing for the rs-to-x relationship.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8407
GitOrigin-RevId: 4e288ba5efca3668db638eac1ce8ba1255c7f8e6
2023-03-27 14:33:57 +00:00
Nicolas Beaussart
5cd32ffd2a frontend: house keeping
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8395
GitOrigin-RevId: e577c320e96227fe0c8c3dc85fc3170b12080c45
2023-03-21 08:52:51 +00:00
Nicolas Beaussart
f3951e1680 frontend: update nx to latest 15
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/8079
Co-authored-by: Stefano Magni <173663+NoriSte@users.noreply.github.com>
GitOrigin-RevId: 46b1ed03ab225fccc9d769203d1af11a6bcdb63e
2023-02-28 19:42:51 +00:00
Stefano Magni
2516a6a028 frontend: Create a Cypress project for the EE Console
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7825
GitOrigin-RevId: 74e6009ae4fd3915c3c705194c8221dada4e21a6
2023-02-07 16:16:20 +00:00
Stefano Magni
d7cba83b16 frontend: Remove @cypress/snapshot in favour of cypress-plugin-snapshots
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7851
GitOrigin-RevId: 47bb9202550d620cc9cf039c827df1d63a8bfffd
2023-02-07 14:08:20 +00:00
Stefano Magni
1f469b279b frontend: Clear the slow or flaky Console CE E2E tests
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7779
GitOrigin-RevId: fda5d58c5739f1069fc5bab94f8bbde1961b7e17
2023-02-05 06:53:50 +00:00
Stefano Magni
f5ea2e6b5a console: Add the OpenTelemetry settings
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7665
GitOrigin-RevId: 9d150ec5137f8c2f8d1f0a921aa4a686720070a1
2023-01-27 00:45:53 +00:00
Stefano Magni
11294d2876 console: Fix the E2E tests in the frontend directory
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7661
GitOrigin-RevId: 3877a3b001da24e7e7db90fe51973695f5bb4c1e
2023-01-26 11:19:32 +00:00
Nicolas Beaussart
09c9cf8b46 frontend: apply prettier
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7668
GitOrigin-RevId: 0ed901780092994ae40c2c57557c5854812a91b2
2023-01-25 20:55:24 +00:00
Nicolas Beaussart
152cc6151c frontend: modify the code to have it work in nx
GitOrigin-RevId: e564d86de44bf81e708ca2c40bb505dec01076ce
2023-01-25 11:24:54 +00:00
Nicolas Beaussart
bdcbda5f54 frontend: migrate console to the new frontend folder
GitOrigin-RevId: bde5a5e36ff0093d141f666b9183caafefa39cf8
2023-01-25 11:24:38 +00:00
Nicolas Beaussart
6203a280db frontend: prepare nx migration by removing the old copied files
GitOrigin-RevId: 07e74dcd87e84610efab22c1645d82db378df31f
2023-01-25 11:24:27 +00:00
Stefano Magni
d864bed4f4 console: Setup cypress on the Nx monorepo (close #5463)
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5675
GitOrigin-RevId: b320b6f5bb092d20a4de8e51f6711323dd2b0a05
2022-08-31 09:04:45 +00:00
Nicolas Beaussart
79d9be5669 frontend: initial nx generation
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/5355
GitOrigin-RevId: b54bb378389ab4fae1fdf6b5a5cc97d1fd6abaf9
2022-08-05 18:53:54 +00:00