Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mmendesas/walnutjs-boilerplate
A simple starter template that uses walnutjs and explores some features
https://github.com/mmendesas/walnutjs-boilerplate
cucumberjs e2e-tests nodejs walnutjs walnutjs-test
Last synced: about 5 hours ago
JSON representation
A simple starter template that uses walnutjs and explores some features
- Host: GitHub
- URL: https://github.com/mmendesas/walnutjs-boilerplate
- Owner: mmendesas
- Created: 2017-04-04T18:10:47.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T03:34:18.000Z (almost 2 years ago)
- Last Synced: 2024-04-14T06:38:07.572Z (7 months ago)
- Topics: cucumberjs, e2e-tests, nodejs, walnutjs, walnutjs-test
- Language: Gherkin
- Homepage:
- Size: 238 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# walnutjs-boilerplate
* Starter project with default structure using [walnutjs](https://github.com/mmendesas/walnutjs).
* Use this project as a template to create your own project based on **walnutjs**## Prerequisites
Before start, you need to install the following programs:
* [java](https://www.java.com/en/download/) - tested on 1.8.0_211
* [node](https://nodejs.org) - tested on v10.16.0
* **selenium webserver**:
* [webdriver-manager](https://www.npmjs.com/package/webdriver-manager) - A selenium server and browser driver manager
* [zalenium](https://opensource.zalando.com/zalenium/) - A flexible and scalable selenium grid## Installing
1. Use this few steps to install JAVA and set `JAVA_HOME`
```sh
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
```1. Get the JRE path `sudo update-alternatives --config java`
2. Set in the file and update:
- edit `/etc/environment`
- add `JAVA_HOME="/usr/lib/jvm/java-8-oracle"`
- run `source /etc/environment`2. Clone this repo into your workspace
```sh
git clone [email protected]:mmendesas/walnutjs-boilerplate.git
cd walnutjs-boilerplate
```
3. Install the dependencies of the project
```sh
npm install
```## Running the tests
1. For execution just run these following commands to open `selenium-server`:
```sh
webdriver-manager update
webdriver-manager start
```2. And just run `npm start` inside the project folder, to start your tests