Skip to content

Make screen eachtime after #16

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Sep 10, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions aquality-selenium-template-cucumber/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<artifactId>aquality-selenium-template-project</artifactId>
<groupId>com.github.aquality-automation</groupId>
<version>1.0-SNAPSHOT</version>
<version>1.0.1-SNAPSHOT</version>
</parent>

<artifactId>aquality-selenium-template-cucumber</artifactId>
Expand All @@ -20,7 +20,7 @@
<dependency>
<groupId>com.github.aquality-automation</groupId>
<artifactId>aquality-selenium-template</artifactId>
<version>1.0-SNAPSHOT</version>
<version>1.0.1-SNAPSHOT</version>
<scope>test</scope>
</dependency>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ public ScreenshotHooks(IScreenshotProvider screenshotProvider) {

@After(order = 1)
public void takeScreenshot(Scenario scenario) {
if (scenario.isFailed()) {
scenario.attach(screenshotProvider.takeScreenshot(), "image/png", "screenshot");
}
scenario.attach(screenshotProvider.takeScreenshot(), "image/png", "screenshot.png");
}
}
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"enabled": false,
"host": "{aquality_tracking_address}",
"token": "{api_token}",
"projectId": 0,
"host": "{protocol_host_and_port}",
"token": "{generated_api_token}",
"projectId": 1,
"executor": "Azure DevOps",
"suiteName": "Demo",
"suiteName": "{project_suite_name_to_import}",
"buildName": "1.0.0",
"environment": "Stage",
"attachmentsDirectory": "target/attachments"
Expand Down
2 changes: 1 addition & 1 deletion aquality-selenium-template/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<parent>
<artifactId>aquality-selenium-template-project</artifactId>
<groupId>com.github.aquality-automation</groupId>
<version>1.0-SNAPSHOT</version>
<version>1.0.1-SNAPSHOT</version>
</parent>

<artifactId>aquality-selenium-template</artifactId>
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<groupId>com.github.aquality-automation</groupId>
<artifactId>aquality-selenium-template-project</artifactId>
<packaging>pom</packaging>
<version>1.0-SNAPSHOT</version>
<version>1.0.1-SNAPSHOT</version>

<licenses>
<license>
Expand All @@ -30,7 +30,7 @@
<dependency>
<groupId>com.github.aquality-automation</groupId>
<artifactId>aquality-selenium</artifactId>
<version>2.2.0</version>
<version>2.5.2</version>
</dependency>

<dependency>
Expand Down