Skip to content

Run E2ETest locally

Tomohisa Igarashi edited this page May 28, 2020 · 1 revision

We have E2ETest for standalone, spins up AtlasMap standalone and poke UI around through Selenium+chromedriver. In order to run this test, chromedriver have to be installed and system property points to its path.

It's convenient to have that system property setting in your ~/.m2/settings.xml. Here is an example

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
  xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0                       http://maven.apache.org/xsd/settings-1.0.0.xsd
">
  
  <activeProfiles>
    <activeProfile>chromedriver</activeProfile>
  </activeProfiles>

  <profiles>
    <profile>
      <id>chromedriver</id>
      <properties>
        <webdriver.chrome.driver>/usr/bin/chromedriver</webdriver.chrome.driver>
      </properties>
    </profile>
  </profiles>
  
</settings>
Clone this wiki locally