Skip to content

Commit

Permalink
feat(java): ✨ adding missing driver actions (#106)
Browse files Browse the repository at this point in the history
* feat(java): ✨ working on missing driver actions

* fix!(Internal): 🚀 miscellaneous changes before release (#96)

* fix(Internal): 🚀 updated pom.xml file for missing information

also upgraded outdated dependencies

* fix(java): 🔥 removed Opera browser support

also upgraded outdated website dependencies

* ci(Internal): 🏷️ added labeler workflow

* chore(Internal): ♻️ updated java publish workflow

also updated outdated roadmap project link

* chore(Internal): 🔧 updated issues templates

* ci(workflow): 💚 updated publish workflow to generate proper changelog (#98)

* fix(workflow): ♻️ refactored publish workflow to fix failing job (#100)

* ci(workflow): ♻️ refactored publish workflow to fix failing job

* docs(readme): 📝 updated documentations for framework version

* fix(workflow): 💚 added missing release profile in publish workflow

* fix(workflow): 💚 added missing name and description to pom.xml

* fix(workflow): 💚 added personal token for allowing push

* chore(Internal): 🎉 Released latest version to Maven central

* fix(workflow): 💚 added pull field to pull latest change before tag creation

* chore(Internal): 🎉 Released latest version to Maven central [skip ci]

* fix(workflow): 💚 merged push pom and tag in single job

* fix(workflow): 💚 updated lerna config version

* chore(Internal): 🎉 Released latest version to Maven central [skip ci]

* 🎉 Released to Maven central [skip ci]

* feat(java): ✨ added missing driver actions

added new tests to test newly added methods

BREAKING: updated config file by renaming `playback` to `timeout`

* refactor(java): ♻️ test refactoring done to reduce test runtime

* test(java): ✅ added new tests for cookies and windows

* docs(readme): 📝 updated readme file with new images and screenshots

* feat(java): ✨ added take screenshot method and used in tests

* test(java): 🔧 added custom test reporter for checking test failure on pipeline

also upgraded outdated dependencies

* chore(java): ✅ added report listener in pipeline test execution

* ci(workflow): 🔧 updated artifact upload step to run always

* feat(java): also added some tests for driver related actions

* test(java): ✅ adding tests and page objects for frame

* test(java): ✅ added frames and windows tests for new methods

* chore(java): 📈 updated custom report to display index in test report

* test(java): ✅ added tests for mouse related actions

also updated documentations

* chore(java): 📈 updated test report listener to fix index numbers

* docs(website): 📝 updated config documentations

* chore(java): ✅ reduced thread count from 10

* feat(java): ✨ added waitUnti method in driver action

* feat(java): ✨ updated waitUnti to return values if present

* test(java): 💚 removed thread count from grid tests

* fix(java): 🥅 handled error occurred while quitting driver

* test(java): ✅ removed parallel execution from tests

* test(java): ✅ skipped firefox test due to intermittent issue while quitting driver

* test(java): ✅ removed parallel execution in local
  • Loading branch information
WasiqB authored Jul 28, 2022
1 parent a0ec76f commit 4dbe973
Show file tree
Hide file tree
Showing 87 changed files with 3,740 additions and 1,862 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/test-java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,13 @@ jobs:

- name: Upload target folder
uses: actions/upload-artifact@v3
if: always()
with:
name: target
path: |
${{ github.workspace }}/core-java/logs
${{ github.workspace }}/core-java/screenshots
${{ github.workspace }}/core-java/test-output
${{ github.workspace }}/core-java/selenium-grid.log
${{ github.workspace }}/core-java/target
${{ github.workspace }}/core-java/reports
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,6 @@
.changelog
.docusaurus/
build/

screenshots/
test-output/
785 changes: 0 additions & 785 deletions .yarn/releases/yarn-3.2.0.cjs

This file was deleted.

786 changes: 786 additions & 0 deletions .yarn/releases/yarn-3.2.1.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ plugins:
- path: .yarn/plugins/@yarnpkg/plugin-version.cjs
spec: '@yarnpkg/plugin-version'

yarnPath: .yarn/releases/yarn-3.2.0.cjs
yarnPath: .yarn/releases/yarn-3.2.1.cjs
107 changes: 31 additions & 76 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
<!-- Badges -->
<p>

<a href="https://www.producthunt.com/posts/boyka-framework?utm_source=badge-featured&utm_medium=badge&utm_souce=badge-boyka&#0045;framework" target="_blank"><img src="https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=352770&theme=light" alt="Boyka&#0045;Framework - 🎉&#0032;Ultimate&#0032;test&#0032;automation&#0032;for&#0032;testing&#0032;any&#0032;application&#0032;type | Product Hunt" width="250" height="54" /></a>

<a href="https://gitpod.io/#https://github.com/WasiqBhamla/boyka-framework">
<img src="https://gitpod.io/button/open-in-gitpod.svg" alt="open in GitPod">
</a>
Expand All @@ -21,7 +23,7 @@
<a href="https://github.com/WasiqBhamla/boyka-framework/graphs/contributors">
<img src="https://img.shields.io/github/contributors/WasiqBhamla/boyka-framework?style=for-the-badge" alt="contributors" />
</a>
<a href="">
<a href="https://github.com/WasiqBhamla/boyka-framework/commits/main">
<img src="https://img.shields.io/github/last-commit/WasiqBhamla/boyka-framework?style=for-the-badge" alt="last update" />
</a>
<a href="https://github.com/WasiqBhamla/boyka-framework/network/members">
Expand Down Expand Up @@ -58,10 +60,15 @@
- [:notebook_with_decorative_cover: Table of Contents](#notebook_with_decorative_cover-table-of-contents)
- [:star2: About the Project](#star2-about-the-project)
- [:camera: Screenshots](#camera-screenshots)
- [:hammer_and_wrench: Boyka Config file](#hammer_and_wrench-boyka-config-file)
- [:knot: API Sample](#knot-api-sample)
- [:computer: Web Sample](#computer-web-sample)
- [:space_invader: Tech Stack](#space_invader-tech-stack)
- [:house_buildings: Boyka Framework](#house_buildings-boyka-framework)
- [:computer: Main project and Website](#computer-main-project-and-website)
- [:dart: Features](#dart-features)
- [:eyes: Usage](#eyes-usage)
- [:compass: Roadmap](#compass-roadmap)
- [:compass: Future Road-map](#compass-future-road-map)
- [:wave: Contributing](#wave-contributing)
- [:scroll: Code of Conduct](#scroll-code-of-conduct)
- [:warning: License](#warning-license)
Expand All @@ -73,97 +80,57 @@
## :star2: About the Project

<!-- Screenshots -->

### :camera: Screenshots

<details>
<summary>Boyka Config file</summary>
#### :hammer_and_wrench: Boyka Config file

<div>
<img src="assets/config.png" alt="Boyka Config" width="400" height="auto" />
</div>

</details>

<details>
<summary>API Sample</summary>
#### :knot: API Sample

<div>
<img src="assets/api-schemas.png" alt="API Schemas" width="400" height="auto" />
<img src="assets/api.png" alt="API sample" width="400" height="auto" />
</div>

</details>

<details>
<summary>Web Sample</summary>
#### :computer: Web Sample

<div>
<img src="assets/page.png" alt="Web Page object" width="400" height="auto" />
</div>

<div>
<img src="assets/web.png" alt="Web Test" width="400" height="auto" />
</div>

</details>

<!-- TechStack -->

### :space_invader: Tech Stack

<details>
<summary>Boyka Framework</summary>

- Java 11
- Maven
- Checkstyle
- Sonar cloud

</details>

<details>
<summary>Documentation site</summary>

- Typescript
- Docusaurus 2
- React JS

</details>

<details>
<summary>Main project</summary>

- Typescript
- Commitlint
- ESLint
- Prettier
- Husky
#### :house_buildings: Boyka Framework

</details>

<details>
<summary>DevOps</summary>
<div>
<img src="assets/boyka-core-tech-stack.png" alt="Boyka core tech stack" width="400" height="auto" />
</div>

- GitHub Actions
- Gitpod
#### :computer: Main project and Website

</details>
<div>
<img src="assets/boyka-main-tech-stack.png" alt="Boyka Main project tech stack" width="400" height="auto" />
</div>

<!-- Features -->

### :dart: Features

- Supports Rest API Automation
- Supports Web Automation
- Highly configurable
- Zero boilerplate code for your projects
- Supports Rest API schema validation testing
- Supports execution on Cloud platforms like BrowserStack, LambdaTest, etc.
- Supports Parallel execution
- Has in-built logging for all the events
- Has in-built Assertion methods

<!-- Usage -->

## :eyes: Usage

Use this space to tell a little more about your project and how it can be used. Show additional screenshots, code samples, demos or link to other resources.
Expand All @@ -176,54 +143,42 @@ Use this space to tell a little more about your project and how it can be used.
</dependency>
```

<!-- Roadmap -->

## :compass: Roadmap
<!-- Road-map -->
## :compass: Future Road-map

See our [Roadmap project](https://github.com/orgs/WasiqBhamla/projects/4/views/1) for more details.
See our [Road-map project](https://github.com/orgs/WasiqBhamla/projects/4/views/1) for more details.

<!-- Contributing -->

## :wave: Contributing

<a href="https://github.com/WasiqBhamla/boyka-framework/graphs/contributors">
<img src="https://contrib.rocks/image?repo=WasiqBhamla/boyka-framework" />
</a>
[![Contributors](https://contrib.rocks/image?repo=WasiqBhamla/boyka-framework)](https://github.com/WasiqBhamla/boyka-framework/graphs/contributors)

Contributions are always welcome!

See [`contributing.md`](https://github.com/WasiqBhamla/boyka-framework/blob/main/.github/CONTRIBUTING.md) for ways to get started.
See [`contributing.md`](./.github/CONTRIBUTING.md) for ways to get started.

<!-- Code of Conduct -->

### :scroll: Code of Conduct

Please read the [Code of Conduct](https://github.com/WasiqBhamla/boyka-framework/blob/master/.github/CODE_OF_CONDUCT.md)
Please read the [Code of Conduct](./.github/CODE_OF_CONDUCT.md)

<!-- License -->

## :warning: License

Distributed under MIT License. See [LICENSE](LICENSE) for more information.

<!-- Contact -->

## :handshake: Contact

- Join our [Discord server](https://discord.gg/dUg8K9DAsR) to discuss anything about the framework
- Open a [new Discussion](https://github.com/WasiqBhamla/boyka-framework/discussions/new) on GitHub to ask questions or to discuss ideas
- Contact / Follow me on [Twitter @WasiqBhamla](https://twitter.com/WasiqBhamla)

<!-- Acknowledgments -->

## :gem: Acknowledgements

Big thanks to the following organizations for their support to the project with their open source licenses:

<a href="https://www.browserstack.com">
<img src="assets/browserstack-logo.png" alt="BrowserStack" width="300" height="auto" />
</a>

<a href="https://www.lambdatest.com">
<img src="assets/LT-logo.jpeg" alt="LambdaTest" width="300" height="auto" />
</a>
<div>
<img src="website/static/img/docs/community/our-supporters/org-supporters.png" alt="Our supporters" width="400" height="auto" />
</div>
Binary file removed assets/LT-logo.jpeg
Binary file not shown.
Binary file added assets/api-schemas.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/api.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/boyka-core-tech-stack.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/boyka-main-tech-stack.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed assets/browserstack-logo.png
Binary file not shown.
Binary file modified assets/config.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/page.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/web.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions core-java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>7.6.0</version>
<version>7.6.1</version>
<scope>test</scope>
</dependency>
<!-- https://mvnrepository.com/artifact/io.appium/java-client -->
Expand Down Expand Up @@ -180,13 +180,13 @@
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<version>2.17.2</version>
<version>2.18.0</version>
</dependency>
<!-- https://mvnrepository.com/artifact/org.apache.logging.log4j/log4j-api -->
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-api</artifactId>
<version>2.17.2</version>
<version>2.18.0</version>
</dependency>
<!-- https://mvnrepository.com/artifact/com.fasterxml.jackson.dataformat/jackson-dataformat-yaml -->
<dependency>
Expand Down
Loading

0 comments on commit 4dbe973

Please sign in to comment.