old_contents: import pathlib
  import selenium.webdriver
  
  
  def test_first(selenium: selenium.webdriver.Remote, running_server_url):
      selenium.get(running_server_url)
      assert selenium.title == 'Dila'
      file_upload = selenium.find_element_by_css_selector('input[type="file"]')
      file_upload.clear()
      file_upload.send_keys(str(pathlib.Path(__file__).parent.parent / 'test.po'))
      selenium.find_element_by_css_selector('input[type="submit"]').click()
      selenium.implicitly_wait(2)
      assert 'File uploaded' in selenium.find_element_by_tag_name('body').text
  
new_contents: import pathlib
  import selenium.webdriver
  
  
  def test_first(selenium: selenium.webdriver.Remote, running_server_url):
      selenium.get(running_server_url)
      assert selenium.title == 'Dila'
      file_upload = selenium.find_element_by_css_selector('input[type="file"]')
      file_upload.clear()
      file_upload.send_keys(str(pathlib.Path(__file__).parent.parent / 'test.po'))
      selenium.find_element_by_css_selector('input[type="submit"]').click()
      selenium.implicitly_wait(2)
      content = selenium.find_element_by_tag_name('body').text
      assert 'File uploaded' in content
      assert 'Disambiguation for context' in content
      assert 'Een' in content
      selenium.find_element_by_link_text('One').click()
      text_input = selenium.find_element_by_css_selector('input[type="text"]')
      text_input.clear()
      text_input.send_keys('New translation')
      selenium.find_element_by_css_selector('input[type="submit"]').click()
      content = selenium.find_element_by_tag_name('body').text
      assert 'File uploaded' in content
      assert 'Disambiguation for context' in content
      assert 'New translation' in content
  
subject: Add more acceptance tests.