grubtech-merchant-portal-suite
v1.0.2
Published
**Purpose of this project to maintain MP POD related UI Automation** - POD : MP - POC : @Sasika Bandara - ACTIVE : ```YES```
Downloads
3
Readme
qa-mp-ui-grubcenter-test
Purpose of this project to maintain MP POD related UI Automation
- POD : MP
- POC : @Sasika Bandara
- ACTIVE :
YES
Crate Env. For Project (Minimum Requirements)
Makesure dev environment already exisit below minimum requirements before setup / install this project.
- Install
node
latest version (above 5.0v) - Install Node Text Editor (Visual Studio Code)
- Install
npm
package manager
Project SetUp Guide Lines
Clone remote git project using bitbucket url qa-mp-ui-grubcenter-test and get clone using below commands.
git clone [email protected]:grubtech/qa-mp-ui-grubcenter-test.git
git checkout <branch>
Project levevl dependancy resolving and install cypress global dependancy within project scope and tring to open cypress console.
npm install
./node_modules/.bin/cypress open
If you can see cypress test console up-and-running in your machine your installation process sucessfully completed !
Plugins and Configurations
Open Visual Studio Code and setup below plugings and configurations
1. Seatch and install 'Cucumber (Gherkin) Full Support' extention
2. Configure Visual Code BDD navigation support json (click 'settings' -> 'open json format' and past below code)
{
"[feature]": {
"editor.formatOnSave": true,
},
"cucumberautocomplete.steps": [
"cypress/integration/**/*.js"
],
"cucumberautocomplete.strictGherkinCompletion": true,
"javascript.updateImportsOnFileMove.enabled": "always"
}
Other project related suporitng plugins and it's usage | Plugin Info | Usage / Purpose | | ------ | ------ | | "aws-amplify": "^4.2.2" | Get support aws congnito auth pool access and support aws sdk | | "cypress-cucumber-preprocessor": "^4.2.0" | Get support cucumber based feature dsl support and execution | | "cypress-xpath": "^1.6.2" | Get locators finding using xpath (native doesn't support) | | "multiple-cucumber-html-reporter": "^1.18.0" | Get consolidate execution summary report after execution |
License
Apache 2.0 License
Copyright (c) [2021], [GRUBTECH] All rights reserved.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.