Conversation
| }); | ||
|
|
||
| it('Create new alert for all data assets', () => { | ||
| interceptURL('GET', '/api/v1/alerts/*', 'createAlert'); |
There was a problem hiding this comment.
| interceptURL('GET', '/api/v1/alerts/*', 'createAlert'); | |
| interceptURL('POST', '/api/v1/alerts/*', 'createAlert'); |
There was a problem hiding this comment.
Or it's not what I am thinking change alias name
| .click() | ||
| .type('Engineering'); | ||
| cy.get('[title="Engineering"]').should('be.visible').click(); | ||
| cy.get('#description').should('be.visible').click(); |
There was a problem hiding this comment.
Why description in case of owner?
There was a problem hiding this comment.
Its to close the dropdown once the selection is done
| cy.get('table').should('contain', ALERTS.name); | ||
| }); | ||
|
|
||
| it.only('Create new alert for Test case data asset', () => { |
There was a problem hiding this comment.
We should remove this to run all the tests right
| interceptURL('POST', '/api/v1/alerts', 'createAlert'); | ||
| //Click on create alert button | ||
| cy.get('button').contains('Create alert').should('be.visible').click(); | ||
| verifyResponseStatusCode('@createAlert', 200); |
| cy.get('.ant-select-item-option-content').contains('Email').click(); | ||
| cy.wait(500); | ||
| //Enter email | ||
| cy.get('.ant-select-selector > .ant-select-selection-overflow') |
There was a problem hiding this comment.
Can you add one more alert with Webhook, MSTeams, Slack as well?
Test summaryRun details
View run in Cypress Dashboard ➡️ Failures are unavailable for this run. For more information, see the Cypress Dashboard This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard |
Describe your changes :
I worked on the ..... because ...
Type of change :
Frontend Preview (Screenshots) :
For frontend related change, please link screenshots of your changes preview! Optional for backend related changes.
Checklist:
Reviewers