SHARE
TWEET

Untitled

a guest Nov 19th, 2019 177 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import time
  2.  
  3. import pytest
  4. from selenium import webdriver
  5. from selenium.webdriver.chrome.webdriver import WebDriver
  6. from webdriver_manager.chrome import ChromeDriverManager
  7.  
  8.  
  9. class TestJiraLoginUI:
  10.  
  11.        @pytest.mark.regression
  12.        def test_login_to_jira(self):
  13.            driver: WebDriver = webdriver.Chrome(executable_path=ChromeDriverManager().install())
  14.            driver.get("http://jira.hillel.it:8080/secure/Dashboard.jspa")
  15.            assert "System Dashboard - Hillel IT School JIRA" in driver.title
  16.  
  17.            # TODO add login steps
  18.            time.sleep(5)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top