2
0

3 Commity 29eccac6fb ... f4c9cad473

Autor SHA1 Správa Dátum
  Gogs f4c9cad473 Merge branch 'master' of http://178.32.216.95:3000/aahmad/groupe3 1 rok pred
  Gogs 7b3aa61fbe Merge branch 'master' of http://178.32.216.95:3000/aahmad/groupe3 1 rok pred
  Gogs 426bfa439a gestion d'erreur 1 rok pred
2 zmenil súbory, kde vykonal 471 pridanie a 0 odobranie
  1. 431 0
      rapporDeTest.html
  2. 40 0
      test_main.py

Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 431 - 0
rapporDeTest.html


+ 40 - 0
test_main.py

@@ -0,0 +1,40 @@
+##### IMPORT
+import pytest
+import logging as log
+import time
+from selenium import webdriver
+from selenium.webdriver.common.by import By
+from selenium.webdriver.common.keys import Keys
+from selenium.webdriver.support import expected_conditions as EC
+from selenium.common.exceptions import TimeoutException
+from selenium.webdriver.support.ui import WebDriverWait
+from selenium.webdriver.support.ui import Select
+from selenium.webdriver.firefox.options import Options
+from test_saucedemo import writeInInput
+
+
+def connexion_saucedemo(username, passwd, arg="--headless"):
+    log.info("Test du Login avec succès")
+    options = webdriver.FirefoxOptions()
+    options.add_argument(arg)
+
+    driver = webdriver.Firefox(options=options)
+    driver.get("https://www.saucedemo.com/")
+
+    username = driver.find_element(By.ID, "user-name")
+    password = driver.find_element(By.ID, "password")
+    login = driver.find_element(By.ID, "login-button")
+
+    writeInInput(inputElement=username, text=username)
+    writeInInput(password, text=passwd)
+    login.click()
+    log.info("")
+
+
+##### MANEL
+    
+    
+##### MATTHIEU
+
+
+##### TIFF

Niektoré súbory nie sú zobrazené, pretože je v týchto rozdielových dátach zmenené mnoho súborov