Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import time
- import pytest
- from selenium import webdriver
- from selenium.webdriver.chrome.webdriver import WebDriver
- from webdriver_manager.chrome import ChromeDriverManager
- class TestJiraLoginUI:
- @pytest.mark.regression
- def test_login_to_jira(self):
- driver: WebDriver = webdriver.Chrome(executable_path=ChromeDriverManager().install())
- driver.get("http://jira.hillel.it:8080/secure/Dashboard.jspa")
- assert "System Dashboard - Hillel IT School JIRA" in driver.title
- # TODO add login steps
- time.sleep(5)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement