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
/* | |
put this in your POM file | |
<dependencies> | |
<dependency> | |
<groupId>com.applitools</groupId> | |
<artifactId>eyes-images-java3</artifactId> | |
<version>RELEASE</version> | |
</dependency> | |
<dependency> |
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 org.openqa.selenium.chrome.ChromeDriver; | |
import com.applitools.eyes.BatchInfo; | |
import com.applitools.eyes.RectangleSize; | |
import com.applitools.eyes.TestResults; | |
import com.applitools.eyes.selenium.Eyes; | |
public class SlackIntegrationTest { | |
public static void main(String[] args) { |
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 org.apache.http.HttpResponse; | |
import org.apache.http.client.HttpClient; | |
import org.apache.http.client.methods.HttpPost; | |
import org.apache.http.entity.StringEntity; | |
import org.apache.http.impl.client.HttpClientBuilder; | |
import com.applitools.eyes.TestResults; | |
public class EyesSlack { | |
@SuppressWarnings("unused") |