TiledViz
Loading...
Searching...
No Matches
test_script.TestTemplate Class Reference
Inheritance diagram for test_script.TestTemplate:

Public Member Functions

 setUp (self)
 tearDown (self)
 test_case_1 (self)
 test_case_2 (self)
 test_case_3 (self)
 test_case_4 (self)
 test_case_5 (self)
 test_case_6 (self)

Public Attributes

 driver = webdriver.Chrome(options=chrome_options)
 finddriver = EventFiringWebDriver(self.driver, MyListener())

Static Public Attributes

str URL = 'http://flaskdock:5000'

Detailed Description

Include test cases on a given url

Definition at line 42 of file test_script.py.

Member Function Documentation

◆ setUp()

test_script.TestTemplate.setUp ( self)
Start web driver

Definition at line 47 of file test_script.py.

◆ tearDown()

test_script.TestTemplate.tearDown ( self)
Stop web driver

Definition at line 98 of file test_script.py.

◆ test_case_1()

test_script.TestTemplate.test_case_1 ( self)
Connect to server

Definition at line 103 of file test_script.py.

◆ test_case_2()

test_script.TestTemplate.test_case_2 ( self)
Find and click register button

Definition at line 117 of file test_script.py.

◆ test_case_3()

test_script.TestTemplate.test_case_3 ( self)
Find and click login more button

Definition at line 132 of file test_script.py.

◆ test_case_4()

test_script.TestTemplate.test_case_4 ( self)
Register new user

Definition at line 171 of file test_script.py.

◆ test_case_5()

test_script.TestTemplate.test_case_5 ( self)
An already registered user

Definition at line 209 of file test_script.py.

◆ test_case_6()

test_script.TestTemplate.test_case_6 ( self)
Login and create a new project/session/tileset.

Definition at line 262 of file test_script.py.

Member Data Documentation

◆ driver

test_script.TestTemplate.driver = webdriver.Chrome(options=chrome_options)

Definition at line 66 of file test_script.py.

◆ finddriver

test_script.TestTemplate.finddriver = EventFiringWebDriver(self.driver, MyListener())

Definition at line 93 of file test_script.py.

◆ URL

test_script.TestTemplate.URL = 'http://flaskdock:5000'
static

Definition at line 45 of file test_script.py.


The documentation for this class was generated from the following file: