console: fix action with transform e2e tests

This PR fixes e2e tests for action with transforms

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9452
GitOrigin-RevId: b8f2254969a8d6fe3b64e468e114b0e509d48f2d
This commit is contained in:
Varun Choudhary 2023-06-07 17:10:16 +05:30 committed by hasura-bot
parent 4e990f5e58
commit 0a55d3cf70

View File

@ -155,10 +155,13 @@ describe('Actions with Transform', () => {
// --------------------
cy.get('[data-cy="Change Request Options"]').within(() => {
cy.log('**--- Check the Preview of the Request URL Template**');
cy.findByLabelText('Preview').should(
'have.value',
'https://hasura-actions-demo.glitch.me/login?name=login&id=5'
);
cy.get('[name=request_url_preview]')
.invoke('attr', 'value')
.should('contains', 'name=login');
cy.get('[name=request_url_preview]')
.invoke('attr', 'value')
.should('contains', 'id=5');
});
cy.log('**------------------------------**');