Giter VIP home page Giter VIP logo

e2e's Introduction

Automation & E2E Testing For Aventum

Using Puppeteer & Jest, scripts to test and automate some of the Aventum features.

How to use it?

  1. Rename sample.env to .env and put your own conjurations.
  2. Setup the first super user by running npm run test:serially -- setup.test.js.
  3. Upload the files by running npm run test:serially -- uploads.test.js.
  4. Create Comments schema by running npm run test:serially -- create.comments.schema.test.js
  5. Create Comment items by running npm run test:serially -- create.comments.contents.test.js
  6. Create CustomField1 schema by running npm run test:serially -- create.customField1.schema.test.js
  7. Create CustomField2 schema by running npm run test:serially -- create.customField2.schema.test.js
  8. Create Schemas1 schema by running npm run test:serially -- create.schemas1.schema.test.js
  9. Create Schemas1 items by running npm run test:serially -- create.schemas1.contents.test.js
  10. Update Schemas1 items by running npm run test:serially -- update.schemas1.contents.test.js
  11. Optional register users npm run test:serially -- register.test.js.

Docker Windows PowerShell

Make sure VcXsrv Windows X Server up and running

docker build -t aventum-e2e .
# Notice the IP 192.168.0.15, find your IP using ipconfig
docker run --network=host -v /app/node_modules -v ${pwd}:/app -e 'DISPLAY=192.168.0.15:0' -it aventum-e2e

Docker Windows WSL2

Make sure VcXsrv Windows X Server up and running

docker build -t aventum-e2e .
# Notice the IP 192.168.0.15, find your IP using ipconfig
docker run --network=host -v /app/node_modules -v $PWD:/app -e 'DISPLAY=192.168.0.15:0' -it aventum-e2e

e2e's People

Contributors

mohammedal-mahdawi avatar

Watchers

James Cloos avatar  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.