nixos/tests/nginx: fix nginx-etag test

This commit is contained in:
Izorkin 2022-07-29 20:31:10 +03:00
parent a09d4826e1
commit 97c56a12dd
No known key found for this signature in database
GPG key ID: 1436C1B3F3679F09

View file

@ -53,14 +53,14 @@ import ./make-test-python.nix {
driver.implicitly_wait(20)
driver.get('http://server/')
driver.find_element_by_xpath('//div[@foo="bar"]')
driver.find_element('xpath', '//div[@foo="bar"]')
open('/tmp/passed_stage1', 'w')
while not os.path.exists('/tmp/proceed'):
time.sleep(0.5)
driver.get('http://server/')
driver.find_element_by_xpath('//div[@foo="yay"]')
driver.find_element('xpath', '//div[@foo="yay"]')
open('/tmp/passed', 'w')
'';
in [ pkgs.firefox-unwrapped pkgs.geckodriver testRunner ];