Skip to content

Instantly share code, notes, and snippets.

Abhishek Shrivastava abstatic

Block or report user

Report or block abstatic

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:e11e635cd3f01887812436618882f204
cdac407412554f73b993155a5666a2d5 http://apply.bridge.academy #
@abstatic
abstatic / gsoc_proposal.md
Last active Jan 1, 2019
Gsoc proposal abhishek
View gsoc_proposal.md
@abstatic
abstatic / tests.py
Created Jun 20, 2016
Upload function
View tests.py
def test030_upload(self):
"""
This test is for checking if we can successfully upload a profile
"""
print "Test#3 Profile upload test"
# login into the app
driver = self.driver
driver.get("http://localhost:8080/")
self.login(driver)
View tests.py
def login(self, driver):
"""
This method is internal to testing framework
It is used to login the user.
Each test requires the user to be logged in already
Parameters:
driver - reference to driver being used
"""
# this is the tricky part
# We have to get the right handle for the correct popup login window
View tests.py
def test010_isSegAnnUp(self):
"""
Test#1
This test is for checking whether the page is loading or not
"""
print "Test#1 isSegAnnUp ?"
driver = self.driver
driver.get("http://localhost:8080")
assert "SegAnnDB" in driver.title
You can’t perform that action at this time.