Skip to content

Commit

Permalink
chore: fix: agops path
Browse files Browse the repository at this point in the history
  • Loading branch information
rabi-siddique committed Oct 14, 2024
1 parent 9b0d7b1 commit a2d4ccb
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions test/e2e/support.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const balanceUrl =
: 'http://localhost:1317/cosmos/bank/v1beta1/balances/';
const COMMAND_TIMEOUT = configMap[network].COMMAND_TIMEOUT;

const agops = 'agops';
const agops = '/usr/src/agoric-sdk/packages/agoric-cli/bin/agops';

Cypress.Commands.add('addKeys', params => {
const { keyName, mnemonic, expectedAddress } = params;
Expand All @@ -41,11 +41,9 @@ Cypress.Commands.add('setOraclePrice', price => {
timeout: COMMAND_TIMEOUT,
},
).then(({ stdout, stderr }) => {
if (stderr && !stdout) {
cy.task('error', `STDERR: ${stderr}`);
throw Error(stderr);
}
cy.task('info', `STDOUT: ${stdout}`);
cy.task('info', `STDERR: ${stderr}`);

expect(stdout).to.not.contain('Error');
expect(stdout).to.not.contain('error');
});
Expand Down

0 comments on commit a2d4ccb

Please sign in to comment.