Skip to content

Commit

Permalink
docs: add spec links to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dexturr committed May 7, 2024
1 parent f199566 commit 2a8da91
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions test/e2e/transaction-list.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ describe('Transactions list', () => {
})

it('adds rejected transactions to the transactions list', async () => {
// 1148-TXLS-007 When I reject a transaction that transaction is added to the list of transactions (<a name="1148-TXLS-007" href="#1148-TXLS-007"></a>)
const keys = await vegaAPI.listKeys()
await vegaAPI.sendTransaction(keys[0].publicKey, { transfer: dummyTransaction })
await transaction.checkOnTransactionPage()
Expand All @@ -73,6 +74,7 @@ describe('Transactions list', () => {
})

it('adds confirmed transactions to the transactions list', async () => {
// 1148-TXLS-006 When I confirm a transaction that transaction is added to the list of transactions (<a name="1148-TXLS-006" href="#1148-TXLS-006"></a>)
const keys = await vegaAPI.listKeys()
await vegaAPI.sendTransaction(keys[0].publicKey, { transfer: dummyTransaction })
await transaction.checkOnTransactionPage()
Expand All @@ -82,15 +84,4 @@ describe('Transactions list', () => {
await transactionList.checkOnListTransactionsPage()
await transactionList.checkNumTransactions(1)
})

it('allows me to click through to the transactions page', async () => {
const keys = await vegaAPI.listKeys()
await vegaAPI.sendTransaction(keys[0].publicKey, { transfer: dummyTransaction })
await transaction.checkOnTransactionPage()
await transaction.confirmTransaction()
await viewWallet.checkOnViewWalletPage()
await navPanel.goToListTransactions()
await transactionList.checkOnListTransactionsPage()
expect(false).toBe(true)
})
})

0 comments on commit 2a8da91

Please sign in to comment.