This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# coding: utf-8 | |
from selenium.webdriver import Firefox | |
from selenium.webdriver.common.by import By | |
f = Firefox() | |
f.get('https://crash-stats.mozilla.org') | |
l = f.find_element(By.CSS_SELECTOR, '#advanced-search .select2-container-active') | |
for i in range(2): | |
print 'displayed: {}, size: {}, location{}'.format(l.is_displayed(), l.size, l.location) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -o errexit | |
echo "Plug in your device" | |
adb wait-for-device | |
echo "Found device" | |
#dir=$(mktemp -d -t revision) | |
dir=$(mktemp -d -t revision.XXXXXX) | |
if [!dir]; then | |
mkdir dir | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pytest | |
class TestConditionalXFails: | |
@pytest.mark.xfail("config.getvalue('platform') == 'MAC'") | |
def test_xfail_platform(self, mozwebqa): | |
assert False | |
@pytest.mark.xfail("config.getvalue('browser_name') == 'firefox'") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Workflow: | |
From forked & updated repo: | |
create branch | |
Either: | |
-git branch litmus_11759_test_blank_search (create branch) | |
-git checkout litmus_11759_test_blank_search (switch to that branch) | |
or: | |
-git checkout -b litmus_11759_test_blank_search (create & switch to branch) |