diff --git a/MULTI_FLOWS/tc0101.py b/MULTI_FLOWS/tc0101.py index cbb9c74..3aa9968 100644 --- a/MULTI_FLOWS/tc0101.py +++ b/MULTI_FLOWS/tc0101.py @@ -7,7 +7,7 @@ def test_01_01(): with SB( extension_dir=os.path.abspath(os.path.join(os.path.dirname(__file__), '..', 'temp', 'metamask-chrome')) ) as sb: - sb.sleep(5) + sb.sleep(15) sb.switch_to_window(1) sb.click('input[data-testid="onboarding-terms-checkbox"]') sb.click('button:contains("Import an existing wallet")') @@ -34,7 +34,7 @@ def test_01_01(): sb.click('button:contains("Got it")') sb.click('button:contains("Next")') sb.click('button:contains("Done")') - sb.sleep(5) + sb.sleep(15) sb.click('button[data-testid="network-display"]') sb.click('input[type="checkbox"]') sb.click('p:contains("Sepolia")') diff --git a/MULTI_FLOWS/tc0104.py b/MULTI_FLOWS/tc0104.py index a9cc4fb..7a4e2ef 100644 --- a/MULTI_FLOWS/tc0104.py +++ b/MULTI_FLOWS/tc0104.py @@ -7,7 +7,7 @@ def test_01_04(): with SB( extension_dir=os.path.abspath(os.path.join(os.path.dirname(__file__), '..', 'temp', 'metamask-chrome')) ) as sb: - sb.sleep(5) + sb.sleep(15) sb.switch_to_window(1) sb.click('input[data-testid="onboarding-terms-checkbox"]') sb.click('button:contains("Import an existing wallet")') @@ -62,7 +62,7 @@ def test_01_04(): 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 now")') - sb.sleep(17) + sb.sleep(15) sb.switch_to_window(4) sb.click('button:contains("Reject")') sb.sleep(30) diff --git a/MULTI_FLOWS/tc0105.py b/MULTI_FLOWS/tc0105.py index 8993b7f..0c57435 100644 --- a/MULTI_FLOWS/tc0105.py +++ b/MULTI_FLOWS/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/test-multi2/5" - sb.sleep(5) + sb.sleep(15) sb.switch_to_window(1) sb.click('input[data-testid="onboarding-terms-checkbox"]') sb.click('button:contains("Import an existing wallet")') @@ -35,7 +35,7 @@ def test_01_05(): sb.click('button:contains("Got it")') sb.click('button:contains("Next")') sb.click('button:contains("Done")') - sb.sleep(5) + sb.sleep(15) sb.click('button[data-testid="network-display"]') sb.click('input[type="checkbox"]') sb.click('p:contains("Sepolia")') @@ -60,7 +60,7 @@ def test_01_05(): sb.type('input#reservePrice', "0.0001") sb.type('input#quantity', "1") sb.click('span:contains("Confirm")') - sb.sleep(17) + sb.sleep(15) sb.switch_to_window(4) sb.click('button:contains("Cancel")') #Confirm sb.sleep(30) diff --git a/MULTI_FLOWS/tc0106.py b/MULTI_FLOWS/tc0106.py index 4eadc27..844e982 100644 --- a/MULTI_FLOWS/tc0106.py +++ b/MULTI_FLOWS/tc0106.py @@ -66,4 +66,4 @@ def test_01_06(): sb.sleep(30) if __name__ == "__main__": - test_01_06("https://development.arttaca.io/nft/test-multi2/3") \ No newline at end of file + test_01_06() \ No newline at end of file diff --git a/MULTI_FLOWS/tc0107.py b/MULTI_FLOWS/tc0107.py index 52398c5..c22c369 100644 --- a/MULTI_FLOWS/tc0107.py +++ b/MULTI_FLOWS/tc0107.py @@ -8,7 +8,7 @@ def test_01_07(): extension_dir=os.path.abspath(os.path.join(os.path.dirname(__file__), '..', 'temp', 'metamask-chrome')) ) as sb: url = "https://development.arttaca.io/nft/test-multi2/3" - sb.sleep(5) + sb.sleep(15) sb.switch_to_window(1) sb.click('input[data-testid="onboarding-terms-checkbox"]') sb.click('button:contains("Import an existing wallet")') @@ -35,7 +35,7 @@ def test_01_07(): sb.click('button:contains("Got it")') sb.click('button:contains("Next")') sb.click('button:contains("Done")') - sb.sleep(5) + sb.sleep(15) sb.click('button[data-testid="network-display"]') sb.click('input[type="checkbox"]') sb.click('p:contains("Sepolia")') @@ -61,10 +61,10 @@ def test_01_07(): sb.type('input#quantity', "3") sb.type('input#quantity', "2") sb.click('span:contains("Confirm")') - sb.sleep(17) + sb.sleep(15) sb.switch_to_window(4) sb.click('button:contains("Cancel")') sb.sleep(30) if __name__ == "__main__": - test_01_07("https://development.arttaca.io/nft/test-multi2/3") \ No newline at end of file + test_01_07() \ No newline at end of file diff --git a/MULTI_FLOWS/tc0108.py b/MULTI_FLOWS/tc0108.py index f019bac..b0a3e13 100644 --- a/MULTI_FLOWS/tc0108.py +++ b/MULTI_FLOWS/tc0108.py @@ -8,7 +8,7 @@ def test_01_08(): extension_dir=os.path.abspath(os.path.join(os.path.dirname(__file__), '..', 'temp', 'metamask-chrome')) ) as sb: url = "https://development.arttaca.io/nft/test-multi2/3" - sb.sleep(5) + sb.sleep(15) sb.switch_to_window(1) sb.click('input[data-testid="onboarding-terms-checkbox"]') sb.click('button:contains("Import an existing wallet")') @@ -35,7 +35,7 @@ def test_01_08(): sb.click('button:contains("Got it")') sb.click('button:contains("Next")') sb.click('button:contains("Done")') - sb.sleep(5) + sb.sleep(15) sb.click('button[data-testid="network-display"]') sb.click('input[type="checkbox"]') sb.click('p:contains("Sepolia")') @@ -60,7 +60,7 @@ def test_01_08(): sb.type("#reservePrice", "0.0001") sb.type("#quantity", 1) sb.click('button:contains("Confirm")') - sb.sleep(17) + sb.sleep(15) sb.switch_to_window(4) sb.click('button:contains("Cancel")') #Confirm sb.sleep(30) diff --git a/MULTI_FLOWS/tc0109.py b/MULTI_FLOWS/tc0109.py index 759095d..b992156 100644 --- a/MULTI_FLOWS/tc0109.py +++ b/MULTI_FLOWS/tc0109.py @@ -8,7 +8,7 @@ def test_01_09(): extension_dir=os.path.abspath(os.path.join(os.path.dirname(__file__), '..', 'temp', 'metamask-chrome')) ) as sb: url = "https://development.arttaca.io/nft/test-multi2/3" - sb.sleep(5) + sb.sleep(15) sb.switch_to_window(1) sb.click('input[data-testid="onboarding-terms-checkbox"]') sb.click('button:contains("Import an existing wallet")') @@ -35,7 +35,7 @@ def test_01_09(): sb.click('button:contains("Got it")') sb.click('button:contains("Next")') sb.click('button:contains("Done")') - sb.sleep(5) + sb.sleep(15) sb.click('button[data-testid="network-display"]') sb.click('input[type="checkbox"]') sb.click('p:contains("Sepolia")') diff --git a/MULTI_FLOWS/tc0110.py b/MULTI_FLOWS/tc0110.py index b2f1d71..bef9070 100644 --- a/MULTI_FLOWS/tc0110.py +++ b/MULTI_FLOWS/tc0110.py @@ -8,7 +8,7 @@ def test_01_10(): extension_dir=os.path.abspath(os.path.join(os.path.dirname(__file__), '..', 'temp', 'metamask-chrome')) ) as sb: url = "https://development.arttaca.io/nft/test-multi2/3" - sb.sleep(5) + sb.sleep(15) sb.switch_to_window(1) sb.click('input[data-testid="onboarding-terms-checkbox"]') sb.click('button:contains("Import an existing wallet")') @@ -35,7 +35,7 @@ def test_01_10(): sb.click('button:contains("Got it")') sb.click('button:contains("Next")') sb.click('button:contains("Done")') - sb.sleep(5) + sb.sleep(15) sb.click('button[data-testid="network-display"]') sb.click('input[type="checkbox"]') sb.click('p:contains("Sepolia")') diff --git a/MULTI_FLOWS/tc0111.py b/MULTI_FLOWS/tc0111.py index eca73ff..f641ef6 100644 --- a/MULTI_FLOWS/tc0111.py +++ b/MULTI_FLOWS/tc0111.py @@ -7,8 +7,8 @@ def test_01_11(): with SB( extension_dir=os.path.abspath(os.path.join(os.path.dirname(__file__), '..', 'temp', 'metamask-chrome')) ) as sb: - url = "https://development.arttaca.io/nft/test-multi2/3" - sb.sleep(5) + url = "https://development.arttaca.io/nft/uyenoianhyeuem/1" + sb.sleep(15) sb.switch_to_window(1) sb.click('input[data-testid="onboarding-terms-checkbox"]') sb.click('button:contains("Import an existing wallet")') @@ -35,7 +35,7 @@ def test_01_11(): sb.click('button:contains("Got it")') sb.click('button:contains("Next")') sb.click('button:contains("Done")') - sb.sleep(5) + sb.sleep(15) sb.click('button[data-testid="network-display"]') sb.click('input[type="checkbox"]') sb.click('p:contains("Sepolia")') diff --git a/MULTI_FLOWS/tc0112.py b/MULTI_FLOWS/tc0112.py index 446699b..ec0af5c 100644 --- a/MULTI_FLOWS/tc0112.py +++ b/MULTI_FLOWS/tc0112.py @@ -7,8 +7,8 @@ def test_01_12(): with SB( extension_dir=os.path.abspath(os.path.join(os.path.dirname(__file__), '..', 'temp', 'metamask-chrome')) ) as sb: - url = "https://development.arttaca.io/nft/test-multi2/14" - sb.sleep(5) + url = "https://development.arttaca.io/nft/test-multi2/17" + sb.sleep(15) sb.switch_to_window(1) sb.click('input[data-testid="onboarding-terms-checkbox"]') sb.click('button:contains("Import an existing wallet")') @@ -35,7 +35,7 @@ def test_01_12(): sb.click('button:contains("Got it")') sb.click('button:contains("Next")') sb.click('button:contains("Done")') - sb.sleep(5) + sb.sleep(15) sb.click('button[data-testid="network-display"]') sb.click('input[type="checkbox"]') sb.click('p:contains("Sepolia")') @@ -60,9 +60,9 @@ def test_01_12(): sb.click('button:contains("Buy with crypto")') sb.sleep(15) sb.switch_to_window(4) - sb.sleep(17) + sb.sleep(15) sb.click('button:contains("Reject")') #Confirm - sb.sleep(30) + sb.sleep(15) if __name__ == "__main__": - test_01_12("https://development.arttaca.io/nft/test-multi2/14") \ No newline at end of file + test_01_12() \ No newline at end of file