Skip to content

Commit

Permalink
testing 8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
usmanmani1122 committed Aug 29, 2024
1 parent 818c9ac commit 1e21f06
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 14 deletions.
6 changes: 3 additions & 3 deletions test/e2e/support.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ Cypress.Commands.add('provisionFromFaucet', (walletAddress, command) => {
})
.then((resp) => {
cy.task(
'log',
'info',
`response for "${txHash}": ${JSON.stringify(resp.body)}`,
);
const { transactionStatus } = resp.body;
Expand All @@ -125,9 +125,9 @@ Cypress.Commands.add('provisionFromFaucet', (walletAddress, command) => {
retryOnStatusCodeFailure: true,
})
.then((resp) => {
cy.task('log', `headers: ${JSON.stringify(resp.headers)}`);
cy.task('info', `headers: ${JSON.stringify(resp.headers)}`);
const locationHeader = resp.headers.location;
cy.task('log', `Redirect Location: ${locationHeader}`);
cy.task('info', `Redirect Location: ${locationHeader}`);
return new Promise((resolve, reject) =>
getStatus(
reject,
Expand Down
11 changes: 0 additions & 11 deletions test/e2e/synpress.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,5 @@ module.exports = defineConfig({
supportFile: 'test/e2e/support.js',
screenshotsFolder: 'test/e2e/screenshots',
videosFolder: 'test/e2e/videos',
setupNodeEvents: (on) =>
on('task', {
info: (message) => {
console.info(message);
return null;
},
log: (message) => {
console.log(message);
return null;
},
}),
},
});

0 comments on commit 1e21f06

Please sign in to comment.