console: add tolerance time in cron trigger e2e test

This PR adds e2e test for tolerance time in already existing cron trigger e2e tests.

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9280
GitOrigin-RevId: e3159c89f39e74fb9feb5c332d1ba609f96939bd
This commit is contained in:
Varun Choudhary 2023-05-24 20:57:38 +05:30 committed by hasura-bot
parent bb290c38fe
commit 1a68d766fc
2 changed files with 2 additions and 1 deletions

View File

@ -33,7 +33,7 @@ exports[`Create Cron trigger with shortest possible path > When the users create
"num_retries": 3,
"retry_interval_seconds": 20,
"timeout_seconds": 80,
"tolerance_seconds": 21600
"tolerance_seconds": 80
},
"schedule": "*/10 * * * *",
"webhook": "http://httpbin.org/post"

View File

@ -73,6 +73,7 @@ describe('Create Cron trigger with shortest possible path', () => {
cy.get('[name=num_retries]').clear().type('3');
cy.get('[name=retry_interval_seconds]').clear().type('20');
cy.get('[name=timeout_seconds]').clear().type('80');
cy.get('[name=tolerance_seconds]').clear().type('80');
// add Sample context
cy.log('**--- Click on show sample context and fill the form');