Disable Haiku automation tests until I find a way to automate a browser on Haiku.

This commit is contained in:
Cory McWilliams 2024-03-09 08:44:06 -05:00
parent efe2b6cbd9
commit 439f07162e

View File

@ -1,16 +1,20 @@
#!/usr/bin/env python3
import os
import subprocess
import sys
import time
if sys.platform == 'haiku1':
print('Automation tests are disabled on Haiku.')
exit(0)
from selenium import webdriver
from selenium.webdriver.firefox.service import Service
from selenium.webdriver.common.by import By
from selenium.webdriver.support import expected_conditions
from selenium.webdriver.support.ui import WebDriverWait
import os
import subprocess
import sys
import time
def exists_in_shadow_root(shadow_root, by, value):
return lambda driver: shadow_root.find_element(by, value)