mirror of
https://github.com/status-im/safe-react.git
synced 2025-01-13 19:44:12 +00:00
Increment sleep times in tests
This commit is contained in:
parent
3f4d675e5b
commit
ce7a1ad0df
@ -103,7 +103,7 @@ describe('DOM > Feature > Settings - Manage owners', () => {
|
|||||||
|
|
||||||
const nextBtnStep3 = SafeDom.getByTestId(REMOVE_OWNER_REVIEW_BTN_TESTID)
|
const nextBtnStep3 = SafeDom.getByTestId(REMOVE_OWNER_REVIEW_BTN_TESTID)
|
||||||
fireEvent.click(nextBtnStep3)
|
fireEvent.click(nextBtnStep3)
|
||||||
await sleep(400)
|
await sleep(1300)
|
||||||
|
|
||||||
// check if owner was removed
|
// check if owner was removed
|
||||||
ownerRows = SafeDom.getAllByTestId(OWNERS_ROW_TESTID)
|
ownerRows = SafeDom.getAllByTestId(OWNERS_ROW_TESTID)
|
||||||
@ -143,7 +143,7 @@ describe('DOM > Feature > Settings - Manage owners', () => {
|
|||||||
fireEvent.click(SafeDom.getByTestId(ADD_OWNER_THRESHOLD_NEXT_BTN_TESTID))
|
fireEvent.click(SafeDom.getByTestId(ADD_OWNER_THRESHOLD_NEXT_BTN_TESTID))
|
||||||
await sleep(200)
|
await sleep(200)
|
||||||
fireEvent.click(SafeDom.getByTestId(ADD_OWNER_SUBMIT_BTN))
|
fireEvent.click(SafeDom.getByTestId(ADD_OWNER_SUBMIT_BTN))
|
||||||
await sleep(400)
|
await sleep(1000)
|
||||||
|
|
||||||
// check if owner was added
|
// check if owner was added
|
||||||
const newOwnerRow = SafeDom.getAllByTestId(OWNERS_ROW_TESTID)[1]
|
const newOwnerRow = SafeDom.getAllByTestId(OWNERS_ROW_TESTID)[1]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user