from tests.acceptance.page_model.base_page import BasePage
from tests.acceptance.locators.blog_page import BlogPageLocators


class BlogPage(BasePage):

    @property
    def url(self):
        return super(BlogPage, self).url + '/blog'

    @property
    def home_page_link(self):
        return self.driver.find_element(*BlogPageLocators.HOME_PAGE_LINK)

    @property
    def add_post_link(self):
        return self.driver.find_element(*BlogPageLocators.ADD_POST_LINK)

    @property
    def posts_session(self):
        return self.driver.find_element(*BlogPageLocators.POSTS_SESSION)

    @property
    def posts_title(self):
        return self.driver.find_elements(*BlogPageLocators.POSTS_TITLE)

e4e3f07be569753ccb56700b91ac67d7a8a27e74
<mask token>


class BlogPage(BasePage):

    @property
    def url(self):
        return super(BlogPage, self).url + '/blog'
    <mask token>
    <mask token>
    <mask token>
    <mask token>

<mask token>


class BlogPage(BasePage):

    @property
    def url(self):
        return super(BlogPage, self).url + '/blog'

    @property
    def home_page_link(self):
        return self.driver.find_element(*BlogPageLocators.HOME_PAGE_LINK)

    @property
    def add_post_link(self):
        return self.driver.find_element(*BlogPageLocators.ADD_POST_LINK)

    @property
    def posts_session(self):
        return self.driver.find_element(*BlogPageLocators.POSTS_SESSION)
    <mask token>

<mask token>


class BlogPage(BasePage):

    @property
    def url(self):
        return super(BlogPage, self).url + '/blog'

    @property
    def home_page_link(self):
        return self.driver.find_element(*BlogPageLocators.HOME_PAGE_LINK)

    @property
    def add_post_link(self):
        return self.driver.find_element(*BlogPageLocators.ADD_POST_LINK)

    @property
    def posts_session(self):
        return self.driver.find_element(*BlogPageLocators.POSTS_SESSION)

    @property
    def posts_title(self):
        return self.driver.find_elements(*BlogPageLocators.POSTS_TITLE)

from tests.acceptance.page_model.base_page import BasePage
from tests.acceptance.locators.blog_page import BlogPageLocators


class BlogPage(BasePage):

    @property
    def url(self):
        return super(BlogPage, self).url + '/blog'

    @property
    def home_page_link(self):
        return self.driver.find_element(*BlogPageLocators.HOME_PAGE_LINK)

    @property
    def add_post_link(self):
        return self.driver.find_element(*BlogPageLocators.ADD_POST_LINK)

    @property
    def posts_session(self):
        return self.driver.find_element(*BlogPageLocators.POSTS_SESSION)

    @property
    def posts_title(self):
        return self.driver.find_elements(*BlogPageLocators.POSTS_TITLE)
