This repository belongs to a To-Do App based on Golang and Vue.js. It contains acceptance tests using Cucumber & Puppeteer.
Feature: ToDo
Scenario: Add Item to List
Given Empty ToDo list
When I write "buy some milk" to <text box> and click to <add button>
Then I should see "buy some milk" item in ToDo list
├── features/
│ ├── sanity.feature
│ ├── todo.feature
│ └── steps/
│ │ ├── sanity.js
│ │ └── todo.js
└── support/ <––– built-in methods
│ └── ...
├── package.json
└── ...
yarn install
or
npm install
To run sanity test for checking the environment works correctly:
yarn cucumber-js features/sanity.feature
yarn start
All dependencies can be found on package.json file. Also you can check the list:
Project has GitLab CI pipeline and tests are running automatically. And can be triggered on another step. It uses satantime/puppeteer-node docker image that contains chromium and all dependencies that Puppeteer can run tests.
For more information please check .gitlab-ci.yml file.
This project contains a docker file that generates a docker image. This image adds dependencies to run chromium with puppeteer. For more information please check Dockerfile.
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
for more information.
Nida Dinç - niddinc@gmail.com