Skip to content

Commit

Permalink
Feat[TE-14116]: updated version to 1.2.5_cloud (#15)
Browse files Browse the repository at this point in the history
* Feat[TE-14116]: updated version to 1.2.5_cloud

* added useCustomScreenshot flag in action in all sample classes
  • Loading branch information
SivasaiPodugu authored Dec 19, 2023
1 parent 7589b9d commit f37120c
Show file tree
Hide file tree
Showing 11 changed files with 22 additions and 11 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ dependencies {
}

group = 'com.testsigma'
version = '1.2.4_cloud'
version = '1.2.5_cloud'
description = 'testsigma-addon-archetype'
java.sourceCompatibility = JavaVersion.VERSION_11

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ RELEASE_SIGNING_ENABLED=true

GROUP=com.testsigma
POM_ARTIFACT_ID=testsigma-addon-archetype
VERSION_NAME=1.2.4_cloud
VERSION_NAME=1.2.5_cloud

POM_NAME=Testsigma Addon Archetype
POM_DESCRIPTION=Testsigma Addon Archetype
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/archetype-resources/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<testsigma.sdk.version>1.2.4_cloud</testsigma.sdk.version>
<testsigma.sdk.version>1.2.5_cloud</testsigma.sdk.version>
<junit.jupiter.version>5.8.0-M1</junit.jupiter.version>
<testsigma.addon.maven.plugin>1.0.0</testsigma.addon.maven.plugin>
<maven.source.plugin.version>3.2.1</maven.source.plugin.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
import org.openqa.selenium.NoSuchElementException;
import org.openqa.selenium.WebElement;

@Action(actionText = "Enter test-data in element element-locator if visible", applicationType = ApplicationType.ANDROID)
@Action(actionText = "Enter test-data in element element-locator if visible",
applicationType = ApplicationType.ANDROID,
useCustomScreenshot = false)
public class MyFirstAndroidAction extends AndroidAction {

@TestData(reference = "test-data")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
import java.time.Duration;

@Data
@Action(actionText = "Swipe on screen from source-coordinates to target-coordinates", applicationType = ApplicationType.ANDROID)
@Action(actionText = "Swipe on screen from source-coordinates to target-coordinates",
applicationType = ApplicationType.ANDROID,
useCustomScreenshot = false)
public class SwipeOnScreen extends AndroidAction {

@TestData(reference = "source-coordinates")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@

@Data
@com.testsigma.sdk.annotation.TestDataFunction(displayName = "Generate random number with min and max",
description = "Generates Random Number within range")
description = "Generates Random Number within range",
useCustomScreenshot = false)
public class RandomNumber extends TestDataFunction {

@TestDataFunctionParameter (reference = "min")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@
import org.openqa.selenium.WebElement;

@Data
@Action(actionText = "Enter test-data in element element-locator if visible", applicationType = ApplicationType.IOS)
@Action(actionText = "Enter test-data in element element-locator if visible",
applicationType = ApplicationType.IOS,
useCustomScreenshot = false)
public class EnterDataIfVisible extends IOSAction {

@TestData(reference = "test-data")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
@Action(actionText = "count of elements identified by count-element is selectable-list test data",
description = "Conditional If example for value comparison",
applicationType = ApplicationType.WEB,
actionType = StepActionType.IF_CONDITION)
actionType = StepActionType.IF_CONDITION,
useCustomScreenshot = false)
public class ConditionalIFExampleWebAction extends WebAction {

@Element(reference = "count-element")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
@Data
@Action(actionText = "Verify no of options in select element-locator is equal to values-count",
description = "validates options count in a select drop-down",
applicationType = ApplicationType.WEB)
applicationType = ApplicationType.WEB,
useCustomScreenshot = false)
public class MyFirstWebAction extends WebAction {

@TestData(reference = "values-count")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
@Data
@Action(actionText = "Store the text from element-locator in values-count variable",
description = "Stores run time data",
applicationType = ApplicationType.WEB)
applicationType = ApplicationType.WEB,
useCustomScreenshot = false)
public class MySecondWebAction extends WebAction {

@TestData(reference = "values-count")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
@Action(actionText = "while values-count selectable-list values-count2",
description = "While loop example for 2 values comparison",
applicationType = ApplicationType.WEB,
actionType = StepActionType.WHILE_LOOP)
actionType = StepActionType.WHILE_LOOP,
useCustomScreenshot = false )
public class WhileLoopExampleWebAction extends WebAction {

@TestData(reference = "values-count")
Expand Down

0 comments on commit f37120c

Please sign in to comment.