GithubHelp home page GithubHelp logo

fe_testframework_cucumber_in_cypress's Introduction

codecov

FE_TestFramework-Cucumber-in-Cypress

Overview

This test service is used to help us migrate our microservices from SBE to S3.

It will complete the following tasks for us:

  • Create proxy service between SBE and Eurostar microservices
  • Repoint all microservices to this interface (instead of directly to SBE)
  • Create second implementation of this interface which talks to S3 Passenger API
  • Change configuration so API requests are routed to S3 Passenger API instead of SBE

A full suite of comparison tests will run on this façade service as part of continuous integration to compare SBE and Sqills S3 responses to confirm data integrity.

Folder structure

Please see the folder structure below.

├── AaaS_webDriverIO_1
├── lib
	├── /*.js
├── node_modules
├── test
	├── homepage.js
├── test-results
	├── report
		├── index.html
├── docker-compose.yml
├── Dockerfile
├── Makefile
├── package.json
├── README.md
└── wdio.conf.js (configuration setup)

How to run this automation framework

Installation

Before installing the dependency you need to have node version >=10 install on your machine

run $ npm install

Unit test

run $ npm test

run npx cypress run --reporter mochawesome

node_modules/.bin/cypress open

Running using docker

Please ensure you have got docker installed on your machine

Build docker image

$ docker build -t cypressproject .

Run the container

$ docker run cypressproject npx cypress run

Generate test report

$ chmod +x ./scripts/generate-report.sh
$ ./scripts/generate-report.sh 

Output logs from the container

docker logs [container ID]

fe_testframework_cucumber_in_cypress's People

Contributors

jhamm1 avatar gaurgaurav80 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.