Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: adjusting e2e test cases with a3p:latest #270

Merged
merged 1 commit into from
Apr 24, 2024
Merged

chore: adjusting e2e test cases with a3p:latest #270

merged 1 commit into from
Apr 24, 2024

Conversation

rabi-siddique
Copy link
Contributor

@rabi-siddique rabi-siddique commented Apr 22, 2024

The PR:

  • Replaces image: ghcr.io/agoric/agoric-3-proposals:main with image: ghcr.io/agoric/agoric-3-proposals:latest
  • Modifies the test cases for the use with image: ghcr.io/agoric/agoric-3-proposals:latest

@rabi-siddique rabi-siddique linked an issue Apr 22, 2024 that may be closed by this pull request
@rabi-siddique rabi-siddique linked an issue Apr 22, 2024 that may be closed by this pull request
cy.acceptAccess().then(taskCompleted => {
it('should set up wallet', () => {
cy.setupWallet({
secretWords:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

magic string belong in a config file. I suspect it can be imported from @agoric/synthetic-chain

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We're not using @agoric/synthetic-chain in dapp-inter. Perhaps we should source it from config.ts like this:
https://github.com/Agoric/dapp-inter/compare/2f0e475855c1964c9aed27add8efb84ebb5e944a..4b1abf088164dce0fa06d0edb41486ff590cc2a9

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's an improvement. However, it's called a "mnemonic" and the name suggests there's only one. Consider leaving room for more accounts,

```suggestion
export const mnemonics = {
  user1: 'tackle hen gap lady bike explain erode midnight marriage wide upset culture model select dial trial swim wood step scan intact what card symptom';
  }  

though I'd be fine punting this to use exports from the synthetic-chain lib. If you opt for that, please leave an UNTIL https://github.com/Agoric/agoric-3-proposals/issues/154 comment.

cy.contains('Connect Wallet').click();
cy.get('label.cursor-pointer input[type="checkbox"]').check();
cy.contains('Proceed').click();
cy.contains('.input-label', 'ATOM to lock up *')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can't this be selected without depending on the class?

Copy link
Contributor Author

@rabi-siddique rabi-siddique Apr 23, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@turadg Updated

@rabi-siddique rabi-siddique merged commit 98a7f5e into Agoric:main Apr 24, 2024
3 of 4 checks passed
Copy link

Network:
Commit: 98a7f5e
Ref: refs/heads/main
IPFS v1 hash: bafybeieuleqe34ucrmirxp4rppnjujdjsrcenxppc6scruvgjafhicyrky
CF - DWeb - 4EVERLAND

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Liquidation Testing Completed Dapp-Inter E2E Testing Completed
3 participants