title: Is there any way to run those two tests on same browser session?
body: <p>Testcases--- I'm intending to run those test cases on same browser session but always a new session starts for individual tests.</p>
  <p>Is there any one faced the same issue and solved or someone can share a solution would be much appreciated.</p>
  <pre><code>import allure
  import pytest
  from tests.base_test import BaseTest
  from application_settings.application_settings import ApplicationSettings
  
  
  class LoginPageTest(BaseTest):
  
      application_settings = ApplicationSettings()
  
      @allure.title(&quot;Login Page - smoke test&quot;)
      @allure.description(&quot;Check if login functionalities work properly&quot;)
      def test_01_login_functionality(self):
          login_data = self.application_settings.get_test_data_from_excel(sheet_name=&quot;login&quot;, table_name=&quot;login_data&quot;)
          login_page = self.page_factory.get_login_page()
          print(&quot;Starting to test login functionality&quot;)
          login_result = login_page.login(*login_data)
          assert login_result is True, &quot;Login failed&quot;
  
      @allure.title(&quot;test_login_functionality_negative&quot;)
      @allure.description(&quot;Check if login functionalities work properly&quot;)
      def test_02_home_functionality(self):
          login_page = self.page_factory.get_login_page()
          print(&quot;Starting to test login functionality&quot;)
          login_result = login_page.test_homepage()
          assert login_result is True, &quot;Login failed&quot;
  
  </code></pre>
  <p>Here is the BaseTest class</p>
  <pre><code>import sys
  import os.path
  import unittest
  from browser_utility.browser import Browser
  from pages.page_factory import PageFactory
  
  sys.path.append(os.path.join(os.path.dirname(__file__), &quot;..&quot;))
  
  
  class BaseTest(unittest.TestCase):
      browser = Browser()
      driver = None
      page_factory = None
  
      def setUp(self):
          self.browser.launch_browser()
          self.browser.maximize_browser()
          self.browser.go_to_url()
          self.driver = self.browser.get_web_driver()
          self.page_factory = PageFactory(self.driver)
  
      def tearDown(self):
          self.browser.close_browser()
  
  
  </code></pre>
  <p>Thanks in advance</p>