Confirmed users
9,511
edits
| Line 14: | Line 14: | ||
# Add-on IDs are different between production and preview, so if your testcase uses a specific add-on ID, make sure to note that at the top of the testcase in the comment section | # Add-on IDs are different between production and preview, so if your testcase uses a specific add-on ID, make sure to note that at the top of the testcase in the comment section | ||
= Testcase template = | = Testcase template / structure = | ||
<pre>from selenium import selenium | <pre>from selenium import selenium | ||
| Line 27: | Line 27: | ||
connection.macFirefox, connection.amoStaging ) | connection.macFirefox, connection.amoStaging ) | ||
self.selenium.start() | self.selenium.start() | ||
code... | |||
def test_Login(self): | |||
code... | |||
def tearDown(self): | def tearDown(self): | ||
self.selenium.stop() | self.selenium.stop() | ||