Skip to content

Commit

Permalink
Updated all XPATHs
Browse files Browse the repository at this point in the history
  • Loading branch information
avinash-sudhodanan committed Feb 6, 2019
1 parent c2f0ddd commit f754725
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions e2e-test/e2etest.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@
import sys
import json
import time
from selenium.webdriver.common.by import By
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC

#function that calls all other tests
projectId=0
Expand Down Expand Up @@ -77,7 +74,7 @@ def e2etests():
def test_load_torm_homepage(tormurl,driver):
driver.get(tormurl)
print(driver.page_source[:30])
if(driver.page_source[:30].startswith("<!DOCTYPE html>"))
if(driver.page_source[:30].startswith("<!DOCTYPE html>")):
print("\ta. TORM home page loaded")
return "success"
else:
Expand Down

0 comments on commit f754725

Please sign in to comment.