Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CSCI40_Lab01_Willowisp
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ana Gabrielle S. Caligagan
CSCI40_Lab01_Willowisp
Commits
70c45e3c
Commit
70c45e3c
authored
Mar 07, 2020
by
Ana Gabrielle S. Caligagan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Importing timer in lab1_functional_test.py
parent
1b849e31
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
0 deletions
+3
-0
urls.cpython-37.pyc
heroes/__pycache__/urls.cpython-37.pyc
+0
-0
lab1_functional_test.py
lab1_functional_test.py
+3
-0
urls.cpython-37.pyc
willowisp/__pycache__/urls.cpython-37.pyc
+0
-0
No files found.
heroes/__pycache__/urls.cpython-37.pyc
View file @
70c45e3c
No preview for this file type
lab1_functional_test.py
View file @
70c45e3c
from
selenium
import
webdriver
import
unittest
import
time
class
NewVisitorTest
(
unittest
.
TestCase
):
def
setUp
(
self
):
...
...
@@ -46,7 +47,9 @@ class NewVisitorTest(unittest.TestCase):
# While she is in a specific hero's page, she sees a button labeled "Back to Heroes List".
# She clicks this and she is redirected back to the wiki's homepage.
time
.
sleep
(
1
)
self
.
browser
.
get
(
'http://localhost:8000'
)
time
.
sleep
(
1
)
self
.
fail
(
'Finish the test!'
)
...
...
willowisp/__pycache__/urls.cpython-37.pyc
View file @
70c45e3c
No preview for this file type
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment