nixos/tests/nginx: fix nginx-etag test
This commit is contained in:
parent
a09d4826e1
commit
97c56a12dd
1 changed files with 2 additions and 2 deletions
|
@ -53,14 +53,14 @@ import ./make-test-python.nix {
|
||||||
|
|
||||||
driver.implicitly_wait(20)
|
driver.implicitly_wait(20)
|
||||||
driver.get('http://server/')
|
driver.get('http://server/')
|
||||||
driver.find_element_by_xpath('//div[@foo="bar"]')
|
driver.find_element('xpath', '//div[@foo="bar"]')
|
||||||
open('/tmp/passed_stage1', 'w')
|
open('/tmp/passed_stage1', 'w')
|
||||||
|
|
||||||
while not os.path.exists('/tmp/proceed'):
|
while not os.path.exists('/tmp/proceed'):
|
||||||
time.sleep(0.5)
|
time.sleep(0.5)
|
||||||
|
|
||||||
driver.get('http://server/')
|
driver.get('http://server/')
|
||||||
driver.find_element_by_xpath('//div[@foo="yay"]')
|
driver.find_element('xpath', '//div[@foo="yay"]')
|
||||||
open('/tmp/passed', 'w')
|
open('/tmp/passed', 'w')
|
||||||
'';
|
'';
|
||||||
in [ pkgs.firefox-unwrapped pkgs.geckodriver testRunner ];
|
in [ pkgs.firefox-unwrapped pkgs.geckodriver testRunner ];
|
||||||
|
|
Loading…
Reference in a new issue