From 1a564cf03bc0721a1713f1f1a07040230230ba60 Mon Sep 17 00:00:00 2001 From: Hieu Date: Thu, 19 Sep 2024 22:03:18 +0700 Subject: [PATCH] Sleep longer --- FIAT_PAYMENT_STAGE1/tc0101.py | 6 +++--- FIAT_PAYMENT_STAGE1/tc0102.py | 6 +++--- FIAT_PAYMENT_STAGE1/tc0105.py | 4 ++-- FIAT_PAYMENT_STAGE1/tc0106.py | 6 +++--- FIAT_PAYMENT_STAGE1/tc0107.py | 8 ++++---- FIAT_PAYMENT_STAGE1/tc0108.py | 8 ++++---- FIAT_PAYMENT_STAGE1/tc0109.py | 8 ++++---- FIAT_PAYMENT_STAGE1/tc0110.py | 6 +++--- FIAT_PAYMENT_STAGE2/tc0101.py | 10 +++++----- FIAT_PAYMENT_STAGE2/tc0102.py | 12 ++++++------ FIAT_PAYMENT_STAGE2/tc0105.py | 14 +++++++------- FIAT_PAYMENT_STAGE2/tc0106.py | 12 ++++++------ FIAT_PAYMENT_STAGE2/tc0107.py | 10 +++++----- FIAT_PAYMENT_STAGE2/tc0108.py | 8 ++++---- FIAT_PAYMENT_STAGE2/tc0109.py | 8 ++++---- FIAT_PAYMENT_STAGE2/tc0110.py | 8 ++++---- MULTI_FLOWS/tc0101.py | 6 +++--- MULTI_FLOWS/tc0102.py | 6 +++--- MULTI_FLOWS/tc0104.py | 4 ++-- MULTI_FLOWS/tc0105.py | 8 ++++---- MULTI_FLOWS/tc0106.py | 6 +++--- MULTI_FLOWS/tc0107.py | 6 +++--- MULTI_FLOWS/tc0108.py | 6 +++--- MULTI_FLOWS/tc0109.py | 6 +++--- MULTI_FLOWS/tc0110.py | 6 +++--- MULTI_FLOWS/tc0111.py | 6 +++--- MULTI_FLOWS/tc0112.py | 8 ++++---- MULTI_FLOWS/tc0113.py | 6 +++--- MULTI_FLOWS/tc0114.py | 6 +++--- MULTI_FLOWS/tc0115.py | 6 +++--- MULTI_FLOWS/tc0116.py | 6 +++--- MULTI_FLOWS/tc0117.py | 6 +++--- MULTI_FLOWS/tc0118.py | 6 +++--- MULTI_FLOWS/tc0119.py | 6 +++--- MULTI_FLOWS/tc0120.py | 6 +++--- MULTI_FLOWS/tc0121.py | 6 +++--- MULTI_FLOWS/tc0122.py | 6 +++--- MULTI_FLOWS/tc0123.py | 6 +++--- MULTI_FLOWS/tc0124.py | 6 +++--- MULTI_FLOWS/tc0125.py | 6 +++--- MULTI_FLOWS/tc0126.py | 6 +++--- MULTI_FLOWS/tc0127.py | 6 +++--- MULTI_FLOWS/test_01_03.py | 4 ++-- 43 files changed, 148 insertions(+), 148 deletions(-) diff --git a/FIAT_PAYMENT_STAGE1/tc0101.py b/FIAT_PAYMENT_STAGE1/tc0101.py index 5bd376c..d65aee7 100644 --- a/FIAT_PAYMENT_STAGE1/tc0101.py +++ b/FIAT_PAYMENT_STAGE1/tc0101.py @@ -47,14 +47,14 @@ def test_01_01(): sb.switch_to_window(4) sb.click('button:contains("Next")') sb.click('button:contains("Confirm")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(3) sb.click('button.css-hnz0pg') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(4) sb.click('button:contains("Confirm")') sb.switch_to_window(3) - sb.sleep(7) + sb.sleep(15) sb.sleep(5) sb.open(url) sb.click('button:contains("Buy now")') diff --git a/FIAT_PAYMENT_STAGE1/tc0102.py b/FIAT_PAYMENT_STAGE1/tc0102.py index 2cda166..7096422 100644 --- a/FIAT_PAYMENT_STAGE1/tc0102.py +++ b/FIAT_PAYMENT_STAGE1/tc0102.py @@ -47,14 +47,14 @@ def test_01_02(): sb.switch_to_window(4) sb.click('button:contains("Next")') sb.click('button:contains("Confirm")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(3) sb.click('button.css-hnz0pg') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(4) sb.click('button:contains("Confirm")') sb.switch_to_window(3) - sb.sleep(7) + sb.sleep(15) sb.sleep(5) sb.open(url) sb.click('button:contains("Buy now")') diff --git a/FIAT_PAYMENT_STAGE1/tc0105.py b/FIAT_PAYMENT_STAGE1/tc0105.py index c7a513d..dffb275 100644 --- a/FIAT_PAYMENT_STAGE1/tc0105.py +++ b/FIAT_PAYMENT_STAGE1/tc0105.py @@ -51,10 +51,10 @@ def test_01_05(): sb.switch_to_window(4) sb.click('button:contains("Next")') sb.click('button:contains("Confirm")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(3) sb.click('button.css-hnz0pg') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(4) sb.click('button:contains("Confirm")') sb.switch_to_window(3) diff --git a/FIAT_PAYMENT_STAGE1/tc0106.py b/FIAT_PAYMENT_STAGE1/tc0106.py index 4cc5e31..c24e592 100644 --- a/FIAT_PAYMENT_STAGE1/tc0106.py +++ b/FIAT_PAYMENT_STAGE1/tc0106.py @@ -47,14 +47,14 @@ def test_01_06(): sb.switch_to_window(4) sb.click('button:contains("Next")') sb.click('button:contains("Confirm")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(3) sb.click('button.css-hnz0pg') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(4) sb.click('button:contains("Confirm")') sb.switch_to_window(3) - sb.sleep(7) + sb.sleep(15) sb.sleep(5) sb.open(url) sb.click('button:contains("Buy now")') diff --git a/FIAT_PAYMENT_STAGE1/tc0107.py b/FIAT_PAYMENT_STAGE1/tc0107.py index 8d03101..3feec3a 100644 --- a/FIAT_PAYMENT_STAGE1/tc0107.py +++ b/FIAT_PAYMENT_STAGE1/tc0107.py @@ -47,19 +47,19 @@ def test_01_07(): sb.switch_to_window(4) sb.click('button:contains("Next")') sb.click('button:contains("Confirm")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(3) sb.click('button.css-hnz0pg') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(4) sb.click('button:contains("Confirm")') sb.switch_to_window(3) - sb.sleep(7) + sb.sleep(15) sb.sleep(5) sb.open(url) sb.click('button:contains("Buy now")') sb.click('button:contains("Buy with crypto")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(4) sb.click('button:contains("Reject")') diff --git a/FIAT_PAYMENT_STAGE1/tc0108.py b/FIAT_PAYMENT_STAGE1/tc0108.py index cce2c7b..3276e3c 100644 --- a/FIAT_PAYMENT_STAGE1/tc0108.py +++ b/FIAT_PAYMENT_STAGE1/tc0108.py @@ -47,19 +47,19 @@ def test_01_08(): sb.switch_to_window(4) sb.click('button:contains("Next")') sb.click('button:contains("Confirm")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(3) sb.click('button.css-hnz0pg') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(4) sb.click('button:contains("Confirm")') sb.switch_to_window(3) - sb.sleep(7) + sb.sleep(15) sb.sleep(5) sb.open(url) sb.click('button:contains("Buy now")') sb.click('button:contains("Buy with crypto")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(4) sb.click('button:contains("Reject")') diff --git a/FIAT_PAYMENT_STAGE1/tc0109.py b/FIAT_PAYMENT_STAGE1/tc0109.py index 6b3d487..6921f77 100644 --- a/FIAT_PAYMENT_STAGE1/tc0109.py +++ b/FIAT_PAYMENT_STAGE1/tc0109.py @@ -47,19 +47,19 @@ def test_01_09(): sb.switch_to_window(4) sb.click('button:contains("Next")') sb.click('button:contains("Confirm")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(3) sb.click('button.css-hnz0pg') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(4) sb.click('button:contains("Confirm")') sb.switch_to_window(3) - sb.sleep(7) + sb.sleep(15) sb.sleep(5) sb.open(url) sb.click('button:contains("Buy now")') sb.click('button:contains("Buy with crypto")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(4) sb.click('button:contains("Reject")') diff --git a/FIAT_PAYMENT_STAGE1/tc0110.py b/FIAT_PAYMENT_STAGE1/tc0110.py index 7175562..8f60e47 100644 --- a/FIAT_PAYMENT_STAGE1/tc0110.py +++ b/FIAT_PAYMENT_STAGE1/tc0110.py @@ -47,10 +47,10 @@ def test_01_10(): sb.switch_to_window(4) sb.click('button:contains("Next")') sb.click('button:contains("Confirm")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(3) sb.click('button.css-hnz0pg') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(4) sb.click('button:contains("Confirm")') sb.switch_to_window(3) @@ -60,7 +60,7 @@ def test_01_10(): sb.click('button:contains("See listings")') sb.click('div.ModalSelectListings__DivWidth-sc-4amr6o-10.bcHLLO') sb.click('button:contains("Buy with crypto")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(4) sb.click('button:contains("Reject")') diff --git a/FIAT_PAYMENT_STAGE2/tc0101.py b/FIAT_PAYMENT_STAGE2/tc0101.py index 5cfe757..50c81db 100644 --- a/FIAT_PAYMENT_STAGE2/tc0101.py +++ b/FIAT_PAYMENT_STAGE2/tc0101.py @@ -44,21 +44,21 @@ def test_01_01(): sb.click('button:contains("Connect")') sb.click('span:contains("Connect a Wallet")') sb.click('button:contains("MetaMask")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(4) sb.click('button:contains("Next")') sb.click('button:contains("Confirm")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(3) sb.click('button.css-hnz0pg') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(4) sb.click('button:contains("Confirm")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(3) sb.click('button:contains("Buy now")') sb.click('span:contains("Checkout with card")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_frame('iframe[name="embedded-checkout"]') sb.type('input#email',"maianhduong16012004@gmail.com") sb.type('input#cardNumber',"4242 4242 4242 4242") diff --git a/FIAT_PAYMENT_STAGE2/tc0102.py b/FIAT_PAYMENT_STAGE2/tc0102.py index 83c44c3..6ba1e2d 100644 --- a/FIAT_PAYMENT_STAGE2/tc0102.py +++ b/FIAT_PAYMENT_STAGE2/tc0102.py @@ -8,7 +8,7 @@ def test_01_02(): extension_dir=os.path.abspath(os.path.join(os.path.dirname(__file__), '..', 'temp', 'metamask-chrome')) ) as sb: url = "https://development.arttaca.io/nft/test0704/1" - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(1) sb.click('input[data-testid="onboarding-terms-checkbox"]') sb.click('button:contains("Import an existing wallet")') @@ -44,21 +44,21 @@ def test_01_02(): sb.click('button:contains("Connect")') sb.click('span:contains("Connect a Wallet")') sb.click('button:contains("MetaMask")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(4) sb.click('button:contains("Next")') sb.click('button:contains("Confirm")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(3) sb.click('button.css-hnz0pg') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(4) sb.click('button:contains("Confirm")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(3) sb.click('button:contains("Buy now")') sb.click('span:contains("Checkout with card")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_frame('iframe[name="embedded-checkout"]') sb.type('input#email',"maianhduong16012004@gmail.com") sb.type('input#cardNumber',"4000 0000 0000 9995") diff --git a/FIAT_PAYMENT_STAGE2/tc0105.py b/FIAT_PAYMENT_STAGE2/tc0105.py index 78bc0d5..ede40ed 100644 --- a/FIAT_PAYMENT_STAGE2/tc0105.py +++ b/FIAT_PAYMENT_STAGE2/tc0105.py @@ -8,7 +8,7 @@ def test_01_05(): extension_dir=os.path.abspath(os.path.join(os.path.dirname(__file__), '..', 'temp', 'metamask-chrome')) ) as sb: url = "https://development.arttaca.io/nft/test0704/1" - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(1) sb.click('input[data-testid="onboarding-terms-checkbox"]') sb.click('button:contains("Import an existing wallet")') @@ -36,26 +36,26 @@ def test_01_05(): sb.click('button:contains("Next")') sb.click('button:contains("Done")') sb.open_new_window() - sb.sleep(7) + sb.sleep(15) sb.open(url) sb.click('button:contains("Connect")') sb.click('span:contains("Connect a Wallet")') sb.click('button:contains("MetaMask")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(4) sb.click('button:contains("Next")') sb.click('button:contains("Confirm")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(3) sb.click('button.css-hnz0pg') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(4) sb.click('button:contains("Confirm")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(3) sb.click('button:contains("Buy now")') sb.click('span:contains("Checkout with card")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_frame('iframe[name="embedded-checkout"]') sb.type('input#email',"maianhduong16012004@gmail.com") sb.type('input#cardNumber',"4242 4242 4242 4242") diff --git a/FIAT_PAYMENT_STAGE2/tc0106.py b/FIAT_PAYMENT_STAGE2/tc0106.py index c0cbd0d..1180eb8 100644 --- a/FIAT_PAYMENT_STAGE2/tc0106.py +++ b/FIAT_PAYMENT_STAGE2/tc0106.py @@ -8,7 +8,7 @@ def test_01_06(): extension_dir=os.path.abspath(os.path.join(os.path.dirname(__file__), '..', 'temp', 'metamask-chrome')) ) as sb: url = "https://development.arttaca.io/nft/test-collection/6" - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(1) sb.click('input[data-testid="onboarding-terms-checkbox"]') sb.click('button:contains("Import an existing wallet")') @@ -43,21 +43,21 @@ def test_01_06(): sb.click('button:contains("Connect")') sb.click('span:contains("Connect a Wallet")') sb.click('button:contains("MetaMask")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(4) sb.click('button:contains("Next")') sb.click('button:contains("Confirm")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(3) sb.click('button.css-hnz0pg') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(4) sb.click('button:contains("Confirm")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(3) sb.click('button:contains("Buy now")') sb.click('span:contains("Checkout with card")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_frame('iframe[name="embedded-checkout"]') sb.type('input#email',"maianhduong16012004@gmail.com") sb.type('input#cardNumber',"4242 4242 4242 4242") diff --git a/FIAT_PAYMENT_STAGE2/tc0107.py b/FIAT_PAYMENT_STAGE2/tc0107.py index 2aac983..c0a7a01 100644 --- a/FIAT_PAYMENT_STAGE2/tc0107.py +++ b/FIAT_PAYMENT_STAGE2/tc0107.py @@ -44,21 +44,21 @@ def test_01_07(): sb.click('button:contains("Connect")') sb.click('span:contains("Connect a Wallet")') sb.click('button:contains("MetaMask")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(4) sb.click('button:contains("Next")') sb.click('button:contains("Confirm")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(3) sb.click('button.css-hnz0pg') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(4) sb.click('button:contains("Confirm")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(3) sb.click('button:contains("Buy now")') sb.click('span:contains("Checkout with card")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_frame('iframe[name="embedded-checkout"]') sb.type('input#email',"maianhduong16012004@gmail.com") sb.type('input#cardNumber',"4242 4242 4242 4242") diff --git a/FIAT_PAYMENT_STAGE2/tc0108.py b/FIAT_PAYMENT_STAGE2/tc0108.py index bd1d623..8d2f16b 100644 --- a/FIAT_PAYMENT_STAGE2/tc0108.py +++ b/FIAT_PAYMENT_STAGE2/tc0108.py @@ -44,17 +44,17 @@ def test_01_08(): sb.click('button:contains("Connect")') sb.click('span:contains("Connect a Wallet")') sb.click('button:contains("MetaMask")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(4) sb.click('button:contains("Next")') sb.click('button:contains("Confirm")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(3) sb.click('button.css-hnz0pg') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(4) sb.click('button:contains("Confirm")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(3) sb.click('button:contains("Buy now")') sb.click('span:contains("Checkout with card")') diff --git a/FIAT_PAYMENT_STAGE2/tc0109.py b/FIAT_PAYMENT_STAGE2/tc0109.py index 3f56766..63c8b31 100644 --- a/FIAT_PAYMENT_STAGE2/tc0109.py +++ b/FIAT_PAYMENT_STAGE2/tc0109.py @@ -44,17 +44,17 @@ def test_01_09(): sb.click('button:contains("Connect")') sb.click('span:contains("Connect a Wallet")') sb.click('button:contains("MetaMask")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(4) sb.click('button:contains("Next")') sb.click('button:contains("Confirm")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(3) sb.click('button.css-hnz0pg') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(4) sb.click('button:contains("Confirm")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(3) sb.click('button:contains("Buy now")') sb.click('span:contains("Checkout with card")') diff --git a/FIAT_PAYMENT_STAGE2/tc0110.py b/FIAT_PAYMENT_STAGE2/tc0110.py index 1237f3e..3ca4e20 100644 --- a/FIAT_PAYMENT_STAGE2/tc0110.py +++ b/FIAT_PAYMENT_STAGE2/tc0110.py @@ -44,17 +44,17 @@ def test_01_10(): sb.click('button:contains("Connect")') sb.click('span:contains("Connect a Wallet")') sb.click('button:contains("MetaMask")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(4) sb.click('button:contains("Next")') sb.click('button:contains("Confirm")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(3) sb.click('button.css-hnz0pg') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(4) sb.click('button:contains("Confirm")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(3) sb.click('button:contains("Buy now")') sb.click('span:contains("Checkout with card")') diff --git a/MULTI_FLOWS/tc0101.py b/MULTI_FLOWS/tc0101.py index e8c6814..cbb9c74 100644 --- a/MULTI_FLOWS/tc0101.py +++ b/MULTI_FLOWS/tc0101.py @@ -43,14 +43,14 @@ def test_01_01(): sb.click('button:contains("Connect")') sb.click('span:contains("Connect a Wallet")') sb.click('button:contains("MetaMask")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(4) sb.click('button:contains("Next")') sb.click('button:contains("Confirm")') sb.switch_to_window(2) sb.switch_to_window(3) sb.click('button.css-hnz0pg') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(4) sb.click('button:contains("Confirm")') sb.switch_to_window(3) @@ -62,7 +62,7 @@ def test_01_01(): img_path = os.path.abspath(os.path.join(os.path.dirname(__file__), '..', 'img', 'Ed-Sheeran-posing.jpg')) sb.choose_file('input[type="file"]', img_path) sb.click('span:contains("Mint later")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(4) sb.click('button:contains("Cancel")') #Confirm diff --git a/MULTI_FLOWS/tc0102.py b/MULTI_FLOWS/tc0102.py index 85593ea..c076a81 100644 --- a/MULTI_FLOWS/tc0102.py +++ b/MULTI_FLOWS/tc0102.py @@ -43,14 +43,14 @@ def test_01_02(): sb.click('button:contains("Connect")') sb.click('span:contains("Connect a Wallet")') sb.click('button:contains("MetaMask")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(4) sb.click('button:contains("Next")') sb.click('button:contains("Confirm")') sb.switch_to_window(2) sb.switch_to_window(3) sb.click('button.css-hnz0pg') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(4) sb.click('button:contains("Confirm")') sb.switch_to_window(3) @@ -63,7 +63,7 @@ def test_01_02(): sb.choose_file('input[type="file"]', img_path) sb.type('input#quantity',"5") sb.click('span:contains("Mint later")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(4) sb.click('button:contains("Cancel")') #Confirm sb.sleep(30) diff --git a/MULTI_FLOWS/tc0104.py b/MULTI_FLOWS/tc0104.py index 668ff36..a9cc4fb 100644 --- a/MULTI_FLOWS/tc0104.py +++ b/MULTI_FLOWS/tc0104.py @@ -43,14 +43,14 @@ def test_01_04(): sb.click('button:contains("Connect")') sb.click('span:contains("Connect a Wallet")') sb.click('button:contains("MetaMask")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(4) sb.click('button:contains("Next")') sb.click('button:contains("Confirm")') sb.switch_to_window(2) sb.switch_to_window(3) sb.click('button.css-hnz0pg') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(4) sb.click('button:contains("Confirm")') sb.switch_to_window(3) diff --git a/MULTI_FLOWS/tc0105.py b/MULTI_FLOWS/tc0105.py index bdc7b54..8993b7f 100644 --- a/MULTI_FLOWS/tc0105.py +++ b/MULTI_FLOWS/tc0105.py @@ -44,17 +44,17 @@ def test_01_05(): sb.click('button:contains("Connect")') sb.click('span:contains("Connect a Wallet")') sb.click('button:contains("MetaMask")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(4) sb.click('button:contains("Next")') sb.click('button:contains("Confirm")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(3) sb.click('button.css-hnz0pg') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(4) sb.click('button:contains("Confirm")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(3) sb.click('button:contains("List Now")') sb.type('input#reservePrice', "0.0001") diff --git a/MULTI_FLOWS/tc0106.py b/MULTI_FLOWS/tc0106.py index 2b50abc..4eadc27 100644 --- a/MULTI_FLOWS/tc0106.py +++ b/MULTI_FLOWS/tc0106.py @@ -48,13 +48,13 @@ def test_01_06(): sb.switch_to_window(4) sb.click('button:contains("Next")') sb.click('button:contains("Confirm")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(3) sb.click('button.css-hnz0pg') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(4) sb.click('button:contains("Confirm")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(3) sb.click('button:contains("List Now")') sb.type('input#reservePrice', "0.0001") diff --git a/MULTI_FLOWS/tc0107.py b/MULTI_FLOWS/tc0107.py index 5e6ea4e..52398c5 100644 --- a/MULTI_FLOWS/tc0107.py +++ b/MULTI_FLOWS/tc0107.py @@ -48,13 +48,13 @@ def test_01_07(): sb.switch_to_window(4) sb.click('button:contains("Next")') sb.click('button:contains("Confirm")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(3) sb.click('button.css-hnz0pg') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(4) sb.click('button:contains("Confirm")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(3) sb.click('button:contains("List Now")') sb.type('input#reservePrice', "0.0001") diff --git a/MULTI_FLOWS/tc0108.py b/MULTI_FLOWS/tc0108.py index 0203f56..41f2862 100644 --- a/MULTI_FLOWS/tc0108.py +++ b/MULTI_FLOWS/tc0108.py @@ -48,13 +48,13 @@ def test_01_08(): sb.switch_to_window(4) sb.click('button:contains("Next")') sb.click('button:contains("Confirm")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(3) sb.click('button.css-hnz0pg') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(4) sb.click('button:contains("Confirm")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(3) sb.click('button:contains("List New")') sb.type("#reservePrice", "0.0001") diff --git a/MULTI_FLOWS/tc0109.py b/MULTI_FLOWS/tc0109.py index d746642..d8b6574 100644 --- a/MULTI_FLOWS/tc0109.py +++ b/MULTI_FLOWS/tc0109.py @@ -48,13 +48,13 @@ def test_01_09(): sb.switch_to_window(4) sb.click('button:contains("Next")') sb.click('button:contains("Confirm")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(3) sb.click('button.css-hnz0pg') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(4) sb.click('button:contains("Confirm")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(3) sb.click('button:contains("List New")') sb.type("#reservePrice", "0.0001") diff --git a/MULTI_FLOWS/tc0110.py b/MULTI_FLOWS/tc0110.py index c408e02..4daad1b 100644 --- a/MULTI_FLOWS/tc0110.py +++ b/MULTI_FLOWS/tc0110.py @@ -48,13 +48,13 @@ def test_01_10(): sb.switch_to_window(4) sb.click('button:contains("Next")') sb.click('button:contains("Confirm")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(3) sb.click('button.css-hnz0pg') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(4) sb.click('button:contains("Confirm")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(3) sb.sleep(3000) diff --git a/MULTI_FLOWS/tc0111.py b/MULTI_FLOWS/tc0111.py index 24bce0d..4068a1c 100644 --- a/MULTI_FLOWS/tc0111.py +++ b/MULTI_FLOWS/tc0111.py @@ -48,13 +48,13 @@ def test_01_11(): sb.switch_to_window(4) sb.click('button:contains("Next")') sb.click('button:contains("Confirm")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(3) sb.click('button.css-hnz0pg') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(4) sb.click('button:contains("Confirm")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(3) sb.click(".three-dots") sb.click('button:contains("See listings")') diff --git a/MULTI_FLOWS/tc0112.py b/MULTI_FLOWS/tc0112.py index 5600278..446699b 100644 --- a/MULTI_FLOWS/tc0112.py +++ b/MULTI_FLOWS/tc0112.py @@ -48,17 +48,17 @@ def test_01_12(): sb.switch_to_window(4) sb.click('button:contains("Next")') sb.click('button:contains("Confirm")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(3) sb.click('button.css-hnz0pg') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(4) sb.click('button:contains("Confirm")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(3) sb.click('button:contains("Buy now")') sb.click('button:contains("Buy with crypto")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(4) sb.sleep(17) sb.click('button:contains("Reject")') #Confirm diff --git a/MULTI_FLOWS/tc0113.py b/MULTI_FLOWS/tc0113.py index c8e48bd..f20affa 100644 --- a/MULTI_FLOWS/tc0113.py +++ b/MULTI_FLOWS/tc0113.py @@ -48,13 +48,13 @@ def test_01_13(): sb.switch_to_window(4) sb.click('button:contains("Next")') sb.click('button:contains("Confirm")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(3) sb.click('button.css-hnz0pg') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(4) sb.click('button:contains("Confirm")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(3) sb.click('button:contains("Buy now")') sb.click('button:contains("Buy with crypto")') diff --git a/MULTI_FLOWS/tc0114.py b/MULTI_FLOWS/tc0114.py index 1715e3b..691dbed 100644 --- a/MULTI_FLOWS/tc0114.py +++ b/MULTI_FLOWS/tc0114.py @@ -48,13 +48,13 @@ def test_01_14(url): sb.switch_to_window(4) sb.click('button:contains("Next")') sb.click('button:contains("Confirm")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(3) sb.click('button.css-hnz0pg') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(4) sb.click('button:contains("Confirm")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(3) sb.click(".three-dots") sb.click('button:contains("See listings")') diff --git a/MULTI_FLOWS/tc0115.py b/MULTI_FLOWS/tc0115.py index 811667f..bd3de27 100644 --- a/MULTI_FLOWS/tc0115.py +++ b/MULTI_FLOWS/tc0115.py @@ -48,13 +48,13 @@ def test_01_15(): sb.switch_to_window(4) sb.click('button:contains("Next")') sb.click('button:contains("Confirm")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(3) sb.click('button.css-hnz0pg') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(4) sb.click('button:contains("Confirm")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(3) sb.click(".three-dots") sb.click('button:contains("See listings")') diff --git a/MULTI_FLOWS/tc0116.py b/MULTI_FLOWS/tc0116.py index a4beb86..c28b008 100644 --- a/MULTI_FLOWS/tc0116.py +++ b/MULTI_FLOWS/tc0116.py @@ -48,13 +48,13 @@ def test_01_16(): sb.switch_to_window(4) sb.click('button:contains("Next")') sb.click('button:contains("Confirm")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(3) sb.click('button.css-hnz0pg') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(4) sb.click('button:contains("Confirm")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(3) sb.click(".three-dots") sb.click('button:contains("Burn")') diff --git a/MULTI_FLOWS/tc0117.py b/MULTI_FLOWS/tc0117.py index 59e8e61..fa13fa9 100644 --- a/MULTI_FLOWS/tc0117.py +++ b/MULTI_FLOWS/tc0117.py @@ -48,13 +48,13 @@ def test_01_17(): sb.switch_to_window(4) sb.click('button:contains("Next")') sb.click('button:contains("Confirm")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(3) sb.click('button.css-hnz0pg') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(4) sb.click('button:contains("Confirm")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(3) sb.click('div.ActionButtons__ButtonBox-sc-1bj8kp4-1.dZzVJr') sb.click('button:contains("Burn")') diff --git a/MULTI_FLOWS/tc0118.py b/MULTI_FLOWS/tc0118.py index 7bb3372..978b7c5 100644 --- a/MULTI_FLOWS/tc0118.py +++ b/MULTI_FLOWS/tc0118.py @@ -48,13 +48,13 @@ def test_01_18(): sb.switch_to_window(4) sb.click('button:contains("Next")') sb.click('button:contains("Confirm")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(3) sb.click('button.css-hnz0pg') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(4) sb.click('button:contains("Confirm")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(3) sb.click('div.ActionButtons__ButtonBox-sc-1bj8kp4-1.dZzVJr') sb.click('button:contains("Burn")') diff --git a/MULTI_FLOWS/tc0119.py b/MULTI_FLOWS/tc0119.py index ef92e16..a5858cd 100644 --- a/MULTI_FLOWS/tc0119.py +++ b/MULTI_FLOWS/tc0119.py @@ -48,13 +48,13 @@ def test_01_19(): sb.switch_to_window(4) sb.click('button:contains("Next")') sb.click('button:contains("Confirm")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(3) sb.click('button.css-hnz0pg') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(4) sb.click('button:contains("Confirm")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(3) sb.click('div.ActionButtons__ButtonBox-sc-1bj8kp4-1.dZzVJr') print(sb.is_text_visible("Burn")) diff --git a/MULTI_FLOWS/tc0120.py b/MULTI_FLOWS/tc0120.py index 57cd255..2f8fcf7 100644 --- a/MULTI_FLOWS/tc0120.py +++ b/MULTI_FLOWS/tc0120.py @@ -48,13 +48,13 @@ def test_01_20(url): sb.switch_to_window(4) sb.click('button:contains("Next")') sb.click('button:contains("Confirm")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(3) sb.click('button.css-hnz0pg') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(4) sb.click('button:contains("Confirm")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(3) sb.click('div.ActionButtons__ButtonBox-sc-1bj8kp4-1.dZzVJr') sb.click('button:contains("Burn")') diff --git a/MULTI_FLOWS/tc0121.py b/MULTI_FLOWS/tc0121.py index 666efa2..84ffd4d 100644 --- a/MULTI_FLOWS/tc0121.py +++ b/MULTI_FLOWS/tc0121.py @@ -48,13 +48,13 @@ def test_01_21(url): sb.switch_to_window(4) sb.click('button:contains("Next")') sb.click('button:contains("Confirm")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(3) sb.click('button.css-hnz0pg') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(4) sb.click('button:contains("Confirm")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(3) sb.click('div.ActionButtons__ButtonBox-sc-1bj8kp4-1.dZzVJr') print(sb.is_text_visible("Burn")) diff --git a/MULTI_FLOWS/tc0122.py b/MULTI_FLOWS/tc0122.py index 24f7553..1c73eb5 100644 --- a/MULTI_FLOWS/tc0122.py +++ b/MULTI_FLOWS/tc0122.py @@ -48,13 +48,13 @@ def test_01_22(): sb.switch_to_window(4) sb.click('button:contains("Next")') sb.click('button:contains("Confirm")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(3) sb.click('button.css-hnz0pg') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(4) sb.click('button:contains("Confirm")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(3) sb.click('div.ActionButtons__ButtonBox-sc-1bj8kp4-1.dZzVJr') sb.click('button:contains("Transfer")') diff --git a/MULTI_FLOWS/tc0123.py b/MULTI_FLOWS/tc0123.py index 5d2af69..1450a96 100644 --- a/MULTI_FLOWS/tc0123.py +++ b/MULTI_FLOWS/tc0123.py @@ -48,13 +48,13 @@ def test_01_23(): sb.switch_to_window(4) sb.click('button:contains("Next")') sb.click('button:contains("Confirm")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(3) sb.click('button.css-hnz0pg') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(4) sb.click('button:contains("Confirm")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(3) sb.click('div.ActionButtons__ButtonBox-sc-1bj8kp4-1.dZzVJr') sb.click('button:contains("Transfer")') diff --git a/MULTI_FLOWS/tc0124.py b/MULTI_FLOWS/tc0124.py index c094a33..950646e 100644 --- a/MULTI_FLOWS/tc0124.py +++ b/MULTI_FLOWS/tc0124.py @@ -48,13 +48,13 @@ def test_01_24(url): sb.switch_to_window(4) sb.click('button:contains("Next")') sb.click('button:contains("Confirm")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(3) sb.click('button.css-hnz0pg') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(4) sb.click('button:contains("Confirm")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(3) sb.click('div.ActionButtons__ButtonBox-sc-1bj8kp4-1.dZzVJr') sb.click('button:contains("Transfer")') diff --git a/MULTI_FLOWS/tc0125.py b/MULTI_FLOWS/tc0125.py index 440bd51..ed452e8 100644 --- a/MULTI_FLOWS/tc0125.py +++ b/MULTI_FLOWS/tc0125.py @@ -48,13 +48,13 @@ def test_01_25(): sb.switch_to_window(4) sb.click('button:contains("Next")') sb.click('button:contains("Confirm")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(3) sb.click('button.css-hnz0pg') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(4) sb.click('button:contains("Confirm")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(3) sb.click('div.ActionButtons__ButtonBox-sc-1bj8kp4-1.dZzVJr') print(sb.is_text_visible("Transfer")) diff --git a/MULTI_FLOWS/tc0126.py b/MULTI_FLOWS/tc0126.py index 81e64b6..2edc747 100644 --- a/MULTI_FLOWS/tc0126.py +++ b/MULTI_FLOWS/tc0126.py @@ -48,13 +48,13 @@ def test_01_26(): sb.switch_to_window(4) sb.click('button:contains("Next")') sb.click('button:contains("Confirm")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(3) sb.click('button.css-hnz0pg') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(4) sb.click('button:contains("Confirm")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(3) sb.click('div.ActionButtons__ButtonBox-sc-1bj8kp4-1.dZzVJr') sb.click('button:contains("Transfer")') diff --git a/MULTI_FLOWS/tc0127.py b/MULTI_FLOWS/tc0127.py index 846b130..ef55d74 100644 --- a/MULTI_FLOWS/tc0127.py +++ b/MULTI_FLOWS/tc0127.py @@ -48,13 +48,13 @@ def test_01_27(url): sb.switch_to_window(4) sb.click('button:contains("Next")') sb.click('button:contains("Confirm")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(3) sb.click('button.css-hnz0pg') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(4) sb.click('button:contains("Confirm")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(3) print(sb.is_text_visible("Transfer")) sb.sleep(30) diff --git a/MULTI_FLOWS/test_01_03.py b/MULTI_FLOWS/test_01_03.py index e422fbf..eb446b7 100644 --- a/MULTI_FLOWS/test_01_03.py +++ b/MULTI_FLOWS/test_01_03.py @@ -43,14 +43,14 @@ def test_01_03(): sb.click('button:contains("Connect")') sb.click('span:contains("Connect a Wallet")') sb.click('button:contains("MetaMask")') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(4) sb.click('button:contains("Next")') sb.click('button:contains("Confirm")') sb.switch_to_window(2) sb.switch_to_window(3) sb.click('button.css-hnz0pg') - sb.sleep(7) + sb.sleep(15) sb.switch_to_window(4) sb.click('button:contains("Confirm")') sb.switch_to_window(3)