Skip to content

Commit

Permalink
wait for tx request
Browse files Browse the repository at this point in the history
  • Loading branch information
Tbaut committed Apr 3, 2024
1 parent ef18cd0 commit 21100b2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions packages/ui/cypress/tests/multisig-creation.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { newMultisigPage } from '../support/page-objects/newMultisigPage'
import { notifications } from '../support/page-objects/notifications'
import { topMenuItems } from '../support/page-objects/topMenuItems'
import { landingPage } from '../support/page-objects/landingPage'
import { waitForTxRequest } from '../utils/waitForTxRequests'

const fundedAccount1 = testAccounts['Funded Account 1 Chopsticks Kusama']
const fundedAccount2 = testAccounts['Funded Account 2 Chopsticks Kusama']
Expand All @@ -23,6 +24,7 @@ const typeAndAdd = (address: string) => {
}

const acceptMultisigCreationAndVerifyNotifications = () => {
waitForTxRequest()
cy.getTxRequests().then((req) => {
const txRequests = Object.values(req)
cy.wrap(txRequests.length).should('eq', 1)
Expand Down
2 changes: 1 addition & 1 deletion squid/assets/envs/.env.chopsticks-local
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# DB_PORT=5432
# GQL_PORT=4350
# SQD_DEBUG=sqd:processor:mapping
SQD_DEBUG=*
# SQD_DEBUG=*

# kusama chopsticks
BLOCK_START=22568290
Expand Down

0 comments on commit 21100b2

Please sign in to comment.