from selenium_tests.pages import HomePage
from selenium_tests.pages import ContactUsPage


class Tests:

    def setup_method(self, driver):
        self.home_page = HomePage(driver)
        self.contact_us_page = ContactUsPage(driver)

    def test_contact_us(self):
        self.home_page.go_to_contact_us()
        self.contact_us_page.select_subject("1")
        self.contact_us_page.enter_email("seleniumwsh@gmail.com")
        self.contact_us_page.enter_message("test message")
        self.contact_us_page.send_message()
        self.contact_us_page.check_success_message()
    
    
    def test_contact_us_no_email(self):
        self.home_page.go_to_contact_us()
        self.contact_us_page.select_subject("1")
        self.contact_us_page.enter_message("test message")
        self.contact_us_page.send_message()
        self.contact_us_page.check_alert_message()
02417aa2b48680826f1324c02b721825c6acbbca
<mask token>


class Tests:
    <mask token>
    <mask token>

    def test_contact_us_no_email(self):
        self.home_page.go_to_contact_us()
        self.contact_us_page.select_subject('1')
        self.contact_us_page.enter_message('test message')
        self.contact_us_page.send_message()
        self.contact_us_page.check_alert_message()

<mask token>


class Tests:
    <mask token>

    def test_contact_us(self):
        self.home_page.go_to_contact_us()
        self.contact_us_page.select_subject('1')
        self.contact_us_page.enter_email('seleniumwsh@gmail.com')
        self.contact_us_page.enter_message('test message')
        self.contact_us_page.send_message()
        self.contact_us_page.check_success_message()

    def test_contact_us_no_email(self):
        self.home_page.go_to_contact_us()
        self.contact_us_page.select_subject('1')
        self.contact_us_page.enter_message('test message')
        self.contact_us_page.send_message()
        self.contact_us_page.check_alert_message()

<mask token>


class Tests:

    def setup_method(self, driver):
        self.home_page = HomePage(driver)
        self.contact_us_page = ContactUsPage(driver)

    def test_contact_us(self):
        self.home_page.go_to_contact_us()
        self.contact_us_page.select_subject('1')
        self.contact_us_page.enter_email('seleniumwsh@gmail.com')
        self.contact_us_page.enter_message('test message')
        self.contact_us_page.send_message()
        self.contact_us_page.check_success_message()

    def test_contact_us_no_email(self):
        self.home_page.go_to_contact_us()
        self.contact_us_page.select_subject('1')
        self.contact_us_page.enter_message('test message')
        self.contact_us_page.send_message()
        self.contact_us_page.check_alert_message()

from selenium_tests.pages import HomePage
from selenium_tests.pages import ContactUsPage


class Tests:

    def setup_method(self, driver):
        self.home_page = HomePage(driver)
        self.contact_us_page = ContactUsPage(driver)

    def test_contact_us(self):
        self.home_page.go_to_contact_us()
        self.contact_us_page.select_subject('1')
        self.contact_us_page.enter_email('seleniumwsh@gmail.com')
        self.contact_us_page.enter_message('test message')
        self.contact_us_page.send_message()
        self.contact_us_page.check_success_message()

    def test_contact_us_no_email(self):
        self.home_page.go_to_contact_us()
        self.contact_us_page.select_subject('1')
        self.contact_us_page.enter_message('test message')
        self.contact_us_page.send_message()
        self.contact_us_page.check_alert_message()

from selenium_tests.pages import HomePage
from selenium_tests.pages import ContactUsPage


class Tests:

    def setup_method(self, driver):
        self.home_page = HomePage(driver)
        self.contact_us_page = ContactUsPage(driver)

    def test_contact_us(self):
        self.home_page.go_to_contact_us()
        self.contact_us_page.select_subject("1")
        self.contact_us_page.enter_email("seleniumwsh@gmail.com")
        self.contact_us_page.enter_message("test message")
        self.contact_us_page.send_message()
        self.contact_us_page.check_success_message()
    
    
    def test_contact_us_no_email(self):
        self.home_page.go_to_contact_us()
        self.contact_us_page.select_subject("1")
        self.contact_us_page.enter_message("test message")
        self.contact_us_page.send_message()
        self.contact_us_page.check_alert_message()