diff --git a/MULTI_FLOWS/tc0110.py b/MULTI_FLOWS/tc0110.py index a9fd823..d17639f 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(15) + sb.sleep(5) 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(15) + sb.sleep(5) sb.click('button[data-testid="network-display"]') sb.click('input[type="checkbox"]') sb.click('p:contains("Sepolia")') diff --git a/MULTI_FLOWS/tc0113.py b/MULTI_FLOWS/tc0113.py index f20affa..c321003 100644 --- a/MULTI_FLOWS/tc0113.py +++ b/MULTI_FLOWS/tc0113.py @@ -7,8 +7,8 @@ def test_01_13(): 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_13(): 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")') @@ -58,10 +58,10 @@ def test_01_13(): sb.switch_to_window(3) sb.click('button:contains("Buy now")') sb.click('button:contains("Buy with crypto")') - sb.sleep(17) + sb.sleep(15) sb.switch_to_window(4) sb.click('button:contains("Reject")') #Confirm sb.sleep(30) if __name__ == "__main__": - test_01_13("https://development.arttaca.io/nft/test-multi2/14") \ No newline at end of file + test_01_13() \ No newline at end of file diff --git a/MULTI_FLOWS/tc0114.py b/MULTI_FLOWS/tc0114.py index 691dbed..02b2eee 100644 --- a/MULTI_FLOWS/tc0114.py +++ b/MULTI_FLOWS/tc0114.py @@ -3,12 +3,12 @@ import time import os -def test_01_14(url): +def test_01_14(): 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/test-multi2/18" + 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_14(url): 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")') @@ -62,4 +62,4 @@ def test_01_14(url): sb.sleep(30) if __name__ == "__main__": - test_01_14("https://development.arttaca.io/nft/test-multi2/3") \ No newline at end of file + test_01_14() \ No newline at end of file diff --git a/MULTI_FLOWS/tc0115.py b/MULTI_FLOWS/tc0115.py index bd3de27..c013809 100644 --- a/MULTI_FLOWS/tc0115.py +++ b/MULTI_FLOWS/tc0115.py @@ -7,8 +7,8 @@ def test_01_15(): 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/test-multi2/18" + 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_15(): 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")') @@ -62,4 +62,4 @@ def test_01_15(): sb.sleep(30) if __name__ == "__main__": - test_01_15("https://development.arttaca.io/nft/test-multi2/3") \ No newline at end of file + test_01_15() \ No newline at end of file diff --git a/MULTI_FLOWS/tc0116.py b/MULTI_FLOWS/tc0116.py index c28b008..a63e259 100644 --- a/MULTI_FLOWS/tc0116.py +++ b/MULTI_FLOWS/tc0116.py @@ -8,7 +8,7 @@ def test_01_16(): 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_16(): 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")') @@ -59,11 +59,11 @@ def test_01_16(): sb.click(".three-dots") sb.click('button:contains("Burn")') sb.type("#quantity", "1") - sb.click('button:contains("Confirm")') - sb.sleep(17) + sb.click('button:contains("Cancel")') #Confirm + sb.sleep(15) sb.switch_to_window(4) sb.click('button:contains("Reject")') #Confirm sb.sleep(30) if __name__ == "__main__": - test_01_16("https://development.arttaca.io/nft/test-multi2/5") \ No newline at end of file + test_01_16() \ No newline at end of file diff --git a/MULTI_FLOWS/tc0117.py b/MULTI_FLOWS/tc0117.py index fa13fa9..9bf3359 100644 --- a/MULTI_FLOWS/tc0117.py +++ b/MULTI_FLOWS/tc0117.py @@ -8,7 +8,7 @@ def test_01_17(): 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) + 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_17(): 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,10 +60,10 @@ def test_01_17(): sb.click('button:contains("Burn")') 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("Reject")') #Confirm sb.sleep(30) if __name__ == "__main__": - test_01_17("https://development.arttaca.io/nft/test-multi2/14") \ No newline at end of file + test_01_17() \ No newline at end of file