Skip to content

Commit

Permalink
--Removed console
Browse files Browse the repository at this point in the history
  • Loading branch information
BaskarMitrah committed Sep 13, 2024
1 parent 607a02e commit b390ad6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cypress/e2e/get-credentials.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,7 @@ function checkRequestAccess() {
if ($body.find('[data-cy="request-access-button"]').length > 0) {
cy.get('[data-cy="request-access-button"]').click();

console.log('getIframeBody().find(h3[data-testid="title").invoke(text)', getIframeBody().find('h3[data-testid="title"]').invoke('text'))
getIframeBody().find('h3[data-testid="title"]').invoke('text').then((text) => {
console.log('text', text)
if (text.trim() !== 'Your request is on its way') {
getIframeBody().find('button[data-testid="send-request-button"]').should('exist').click();
}
Expand Down

0 comments on commit b390ad6

Please sign in to comment.