Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Sachin Singh
Web Automation Framework
Commits
c05518eb
Commit
c05518eb
authored
4 weeks ago
by
tanish20-coder
Browse files
Options
Download
Email Patches
Plain Diff
removed yml file
parent
bb5ce5ad
tanish_test
1 merge request
!12
Initial commit
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
.gitlab-ci.yml
+0
-23
.gitlab-ci.yml
pom.xml
+30
-18
pom.xml
screenshots/Logging_in_with_valid_credentials_and_updating_the_Myinfo_page_using_specified_test_data..jpeg/Logging_in_with_valid_credentials_and_updating_the_Myinfo_page_using_specified_test_data..jpeg
+0
-0
..._updating_the_Myinfo_page_using_specified_test_data..jpeg
screenshots/Switching_between_multiple_tabs.jpeg/Switching_between_multiple_tabs.jpeg
+0
-0
...n_multiple_tabs.jpeg/Switching_between_multiple_tabs.jpeg
screenshots/Validating_curser_and_keyboard_simulations..jpeg/Validating_curser_and_keyboard_simulations..jpeg
+0
-0
...ns..jpeg/Validating_curser_and_keyboard_simulations..jpeg
src/main/java/pages/BuzzPage.java
+2
-0
src/main/java/pages/BuzzPage.java
src/main/java/utils/ElementUtils.java
+2
-8
src/main/java/utils/ElementUtils.java
src/test/java/TestComponents/EmailReportSender.java
+2
-0
src/test/java/TestComponents/EmailReportSender.java
src/test/java/TestComponents/ScreenshotUtil.java
+2
-0
src/test/java/TestComponents/ScreenshotUtil.java
src/test/java/TestComponents/VideoRecorderUtil.java
+2
-0
src/test/java/TestComponents/VideoRecorderUtil.java
src/test/java/runner/MainRunner.java
+2
-0
src/test/java/runner/MainRunner.java
src/test/java/stepDefinitions/MultipleTabsSteps.java
+2
-0
src/test/java/stepDefinitions/MultipleTabsSteps.java
with
44 additions
and
49 deletions
+44
-49
.gitlab-ci.yml
deleted
100644 → 0
+
0
-
23
View file @
bb5ce5ad
image
:
rvancea/maven-chrome-jdk:latest
variables
:
GIT_SSL_NO_VERIFY
:
"
1"
build
:
stage
:
build
script
:
-
mvn compile
test
:
stage
:
test
services
:
-
selenium/standalone-firefox:latest
script
:
-
mvn clean test
artifacts
:
paths
:
-
test-output/Spark.html
reports
:
junit
:
-
test-output/Spark.html
when
:
always
This diff is collapsed.
Click to expand it.
pom.xml
+
30
-
18
View file @
c05518eb
...
...
@@ -173,24 +173,6 @@
<pluginManagement>
<!-- lock down plugins versions to avoid using Maven
defaults (may be moved to parent pom) -->
<plugins>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-jar-plugin
</artifactId>
<version>
3.3.0
</version>
<configuration>
<includes>
<include>
**/stepDefinitions/**/*.class
</include>
<include>
**/*.features
</include>
</includes>
<archive>
<manifest>
<mainClass>
runner.MainRunner
</mainClass>
</manifest>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-failsafe-plugin
</artifactId>
...
...
@@ -253,6 +235,10 @@
</plugin>
<plugin>
<artifactId>
maven-jar-plugin
</artifactId>
<version>
3.3.0
</version>
</plugin>
<plugin>
<artifactId>
maven-install-plugin
</artifactId>
<version>
3.1.1
</version>
...
...
@@ -273,6 +259,32 @@
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<artifactId>
maven-assembly-plugin
</artifactId>
<version>
3.6.0
</version>
<configuration>
<archive>
<manifest>
<mainClass>
runner.MainRunner
</mainClass>
</manifest>
</archive>
<descriptorRefs>
<descriptorRef>
jar-with-dependencies
</descriptorRef>
</descriptorRefs>
</configuration>
<executions>
<execution>
<id>
make-assembly
</id>
<phase>
package
</phase>
<goals>
<goal>
single
</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<repositories>
...
...
This diff is collapsed.
Click to expand it.
screenshots/Logging_in_with_valid_credentials_and_updating_the_Myinfo_page_using_specified_test_data..jpeg/Logging_in_with_valid_credentials_and_updating_the_Myinfo_page_using_specified_test_data..jpeg
0 → 100644
+
0
-
0
View file @
c05518eb
6.26 KB
This diff is collapsed.
Click to expand it.
screenshots/Switching_between_multiple_tabs.jpeg/Switching_between_multiple_tabs.jpeg
0 → 100644
+
0
-
0
View file @
c05518eb
140 KB
This diff is collapsed.
Click to expand it.
screenshots/Validating_curser_and_keyboard_simulations..jpeg/Validating_curser_and_keyboard_simulations..jpeg
0 → 100644
+
0
-
0
View file @
c05518eb
189 KB
This diff is collapsed.
Click to expand it.
src/main/java/pages/BuzzPage.java
+
2
-
0
View file @
c05518eb
//Author: Tanish Srivastava
package
pages
;
import
java.time.Duration
;
...
...
This diff is collapsed.
Click to expand it.
src/main/java/utils/ElementUtils.java
+
2
-
8
View file @
c05518eb
...
...
@@ -319,14 +319,8 @@ public class ElementUtils extends myLogs {
}
// public void switchToTabByIndex(WebDriver driver, int tabIndex) {
// ArrayList<String> tabs = new ArrayList<>(driver.getWindowHandles());
// if (tabIndex >= 0 && tabIndex < tabs.size()) {
// driver.switchTo().window(tabs.get(tabIndex));
// } else {
// throw new IllegalArgumentException("Invalid tab index: " + tabIndex);
// }
// }
// Author: Tanish Srivastava
// scroll to the element method
public
void
scrollToElement
(
WebElement
element
)
{
Actions
actions
=
new
Actions
(
driver
);
...
...
This diff is collapsed.
Click to expand it.
src/test/java/TestComponents/EmailReportSender.java
+
2
-
0
View file @
c05518eb
//Author: Tanish Srivastava
package
TestComponents
;
import
java.io.File
;
...
...
This diff is collapsed.
Click to expand it.
src/test/java/TestComponents/ScreenshotUtil.java
+
2
-
0
View file @
c05518eb
//Author: Tanish Srivastava
package
TestComponents
;
import
java.io.File
;
...
...
This diff is collapsed.
Click to expand it.
src/test/java/TestComponents/VideoRecorderUtil.java
+
2
-
0
View file @
c05518eb
//Author: Tanish Srivastava
package
TestComponents
;
import
static
org
.
monte
.
media
.
FormatKeys
.
EncodingKey
;
...
...
This diff is collapsed.
Click to expand it.
src/test/java/runner/MainRunner.java
+
2
-
0
View file @
c05518eb
//Author: Tanish Srivastava
package
runner
;
import
org.junit.runner.JUnitCore
;
...
...
This diff is collapsed.
Click to expand it.
src/test/java/stepDefinitions/MultipleTabsSteps.java
+
2
-
0
View file @
c05518eb
//Author: Tanish Srivastava
package
stepDefinitions
;
import
java.io.IOException
;
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets