Giter Site home page Giter Site logo

metasfresh-e2e-legacy's Introduction

metasfresh - We do Open Source ERP

release license

X (formerly Twitter) Follow

metasfresh is a responsive, Free and Open Source ERP System. Our aim is to create fast and easy-to-use enterprise software with an outstanding user experience.

We do Open Source ERP

Equipped with wide and detailed functionality, metasfresh fits for companies from industry and trade that are searching business software that provides high scalability and flexibility.

It has a 3-tier architecture with Rest-API and a Web User Frontend developed in HTML5/ ReactJS/ Redux.

metasfresh-sales-order

KPI Dashboard Sales Order Window Material Receipt Window

Installation

We publish a stable Release of metasfresh every Friday - ok, we skip 1 week at the end of the year ;-) . You can download it here.

metasfresh can be installed via Docker or Ubuntu Installer.

Docker How do I setup the metasfresh stack using Docker?

Ubuntu How do I install metasfresh using the Installation package?

First steps:

Documentationbadge

If you are new to metasfresh and would like to learn more, then you can find our documentation here:

Discussion

Come visit us in our Community Forum for questions, discussions and exchange of new insights. We look forward to meeting you!

Contributing

Do you want to help improving documentation, contribute some code or participate in functional requirements. That's great, you're welcome! Please read our Code of Conduct and Contributor Guidelines first.

"Monorepo"

To check out only certain parts of this repository, we recommend getting git version 2.25.0 or later and use the git-sparse-checkout feature. Examples:

  • to get started, do git sparse-checkout init --clone
    • this will leave you with just the files in the repo's root folder, such as the file you are reading
  • to get the frontend code, do git sparse-checkout set frontend
  • to go back to having everything checked out, do git sparse-checkout disable

What's new in metasfresh ERP?

If you are interested in latest improvements or bug fixes of metasfresh ERP, feel free to check out our Release Notes.

metasfresh-e2e-legacy's People

Contributors

cristinastefan90 avatar metas-dh avatar metas-mk avatar metas-ts avatar metasnw avatar oliviupis avatar petrican avatar siemiatj avatar solovmon avatar thebestpessimist avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

metasfresh-e2e-legacy's Issues

Store user session for all tests

Instead of having to add the code for saving cookies before all tests, we should add it once before all the suites run. We can do the same with login as right now we don't need to flush any stored state and can easily get away with just one login per test session.

Dedicated Machine for Cypress E2E tests

  • Sometimes the Cypress E2E Tests fail because of timeouts (waiting for a Layout 20000 ms)
  • For the Developer, this does not feel good when test worked on local and fails in CI.
  • Need a solution that provided a performant Testing environment for automatic Cypress Tests via CI.

Create Test: sales orderline

Test for adding an orderline in a sales order:

  • existing product
  • existing packing item
  • existing price
    => all shall be set correctly, as set in masterdata

implement sales order to invoice

This issue is related to

Todo for developer (besides coding)

  • Always make sure the issue is in the correct project lane
  • run your test in jenkins e2e
  • get it integrated into master

All Flags are ticked? Congratulations, you have delivered!

Verify BOM

This issue is related to

  • (e.g. a metasfresh-issue)
  • (e.g. a customer issue)

Test shall include:
=> needs #71

http://recordit.co/xWKxlu7iRv

Todo for developer (besides coding)

  • Always make sure the issue is in the correct project lane
  • make your estimation and label (est:..., release:... ) this issue accordingly
  • run your test in jenkins e2e
  • get it integrated into master
  • add the label of your developer effort in sum (effort: ...)

All Flags are ticked? Congratulations, you have delivered!

Create new Packing Material

This issue is related to
https://github.com/metasfresh/me03/issues/2039

Test shall include:

  1. Create a new product, "Test Packmittel", Kategorie: Gebinde
  2. Create a new entry in packing material
  3. In product, select Test Packmittel

http://recordit.co/eGk8eyxKsj

Todo for developer (besides coding)

  • Always make sure the issue is in the correct project lane
  • make your estimation and label (customer:..., est:..., release:... ) this issue accordingly
  • run your test in jenkins e2e
  • get it integrated into master
  • add the label of your developer effort in sum (effort: ...)

All Flags are ticked? Congratulations, you have delivered!

Export json from metasfresh WebUI for fixture

First idea: Have an action in WebUI windows single view, that allows exporting the JSON for that record (including subtab data). This would allow users to create the test data configuration as easy as recording via ui.

Move existing cypress tests into metasfresh-e2e repo

@siemiatj this repo's gh7-e2e branch now contains

  • the cypress folder
  • the cypress.json

from metasfresh-webui-frontend.

It also still contains the things it used to contain, e.g. the Jenkinsfile that builds an e2e docker image by cloning metasfresh-webui-frontend.
Please make cypress work in here. Feel free to edit, move around, rename etc whatever you need to

Create new Tax Rate/Tax Category

This issue is related to

  • (e.g. a metasfresh-issue)
  • (e.g. a customer issue)

Test shall include:

  1. Create new Tax Category and Tax Rate "Steuersatz 10 %"
  2. New Tax Category can be selected in a product price
  • create new price for e.g. Convenience Salat
  • select "Steuersatz 10 %"

Todo for developer (besides coding)

  • Always make sure the issue is in the correct project lane
  • make your estimation and label (customer:..., est:..., release:... ) this issue accordingly
  • run your test in jenkins e2e
  • get it integrated into master

All Flags are ticked? Congratulations, you have delivered!

Set Tax Category inactive/active

This issue is related to

  • (e.g. a metasfresh-issue)
  • (e.g. a customer issue)

=> can be done together with #74 (not necessarily in the same test!)
Test shall include:

  1. Set Tax Category inactive
  2. Inactive Tax Category cannot be selected in pricelist
  3. Set Tax Category active again
  4. Tax Category can be selected in pricelist

Todo for developer (besides coding)

  • Always make sure the issue is in the correct project lane
  • make your estimation and label (customer:..., est:..., release:... ) this issue accordingly
  • run your test in jenkins e2e
  • get it integrated into master

All Flags are ticked? Congratulations, you have delivered!

Fix Test: Sysconfig

This issue is related to

  • (e.g. a metasfresh-issue)
  • (e.g. a customer issue)

Todo for developer (besides coding)

  • Always make sure the issue is in the correct project lane
  • make your estimation and label (customer:..., est:..., release:... ) this issue accordingly
  • run your test in jenkins e2e
  • get it integrated into master
    • (pull request URL)
  • add the label of your developer effort in sum (effort: ...)

All Flags are ticked? Congratulations, you have delivered!

Create new bpartner group

This issue is related to

  • (e.g. a metasfresh-issue)
  • (e.g. a customer issue)

Test shall include:

  1. Have a bpartner as customer (use customer specific fixtures)
  2. create new bpartner group
  3. add bpartner (customer) to the group:
  • group can be selected in bpartner window
  • group shows bpartner in assigned partners
  1. add accounts: ??

Fixture to be used

Todo for developer (besides coding)

  • Always make sure the issue is in the correct project lane
  • make your estimation and label (customer:..., est:..., release:... ) this issue accordingly
  • run your test in jenkins e2e
  • get it integrated into master
  • add the label of your developer effort in sum (effort: ...)

All Flags are ticked? Congratulations, you have delivered!

Fix Test: Discountschema with breaks

This issue is related to

  • (e.g. a metasfresh-issue)
  • (e.g. a customer issue)

Todo for developer (besides coding)

  • Always make sure the issue is in the correct project lane
  • make your estimation and label (customer:..., est:..., release:... ) this issue accordingly
  • run your test in jenkins e2e
  • get it integrated into master
    • (pull request URL)
  • add the label of your developer effort in sum (effort: ...)

All Flags are ticked? Congratulations, you have delivered!

Set currency USD active/inactive

This issue is related to

  • (e.g. a metasfresh-issue)
  • (e.g. a customer issue)

Test shall include:

  1. Set currency USD inactive
  2. Set currency USD active again

Todo for developer (besides coding)

  • Always make sure the issue is in the correct project lane
  • make your estimation and label (customer:..., est:..., release:... ) this issue accordingly
  • run your test in jenkins e2e
  • get it integrated into master
    • (pull request URL)
  • add the label of your developer effort in sum (effort: ...)

All Flags are ticked? Congratulations, you have delivered!

Create new BOM

This issue is related to

  • (e.g. a metasfresh-issue)
  • (e.g. a customer issue)

Test shall include:
http://recordit.co/4tW9y91Wna

stopped the video too early, sry: this is the result of the test, for the product for which the BOM was created:
2019-06-19 10_30_04-NotificationsForm

Note:

  1. the doc no. is not set automatically, which shall be fixed, pls set X for now
  2. pls create random products to use beforehand, using the resp. fixture
  3. make sure that the product you set in BOM has Stocked:Y and Sold:Y, while the products used as components have Stocked:Y and Purchased:Y

Todo for developer (besides coding)

  • Always make sure the issue is in the correct project lane
  • make your estimation and label (customer:..., est:..., release:... ) this issue accordingly
  • run your test in jenkins e2e
  • get it integrated into master
  • add the label of your developer effort in sum (effort: ...)

All Flags are ticked? Congratulations, you have delivered!

Decide on best practice in creating metasfresh testing DSL

Currently we have a few builders to create e.g. business partners or refund contracts via cypress.
As of creating this issue, they are here: https://github.com/metasfresh/metasfresh-webui-frontend/tree/5.93/cypress/support/utils

They were inspired by https://medium.com/@axelhadfeg/builder-pattern-using-javascript-and-es6-ec1539182e24 and first introduced into metasfresh in this PR: metasfresh/metasfresh-webui-frontend-legacy#2123

Goal of this task: research and figure out if this is a good patter to use going forward, or if there is a better way of creating a userfriendly DSL to write easily understandable cypress tests.

Fix bpartner object: location

This issue is related to

=> adding a location in bpartner object is not working:

  • either field "city" is not found
  • or the country is not set: it gets selected but it looks like it does not get patched

when running i get

CypressError: Timed out retrying: cy.wait() timed out waiting 5000ms for the 1st request to the route: 'writeIntoLookupListField-1556265910609'. No request ever occurred.

Fix Test: Product set documentnote

This issue is related to

  • (e.g. a metasfresh-issue)
  • (e.g. a customer issue)

Todo for developer (besides coding)

  • Always make sure the issue is in the correct project lane
  • make your estimation and label (customer:..., est:..., release:... ) this issue accordingly
  • run your test in jenkins e2e
  • get it integrated into master
    • (pull request URL)
  • add the label of your developer effort in sum (effort: ...)

All Flags are ticked? Congratulations, you have delivered!

Open and close Calendar Period

This issue is related to
https://github.com/metasfresh/me03/issues/2035

Test shall include:

  1. Open Calendar Period
  2. Close Calendar Period

http://recordit.co/DliJVDNylm

Todo for developer (besides coding)

  • Always make sure the issue is in the correct project lane
  • make your estimation and label (customer:..., est:..., release:... ) this issue accordingly
  • run your test in jenkins e2e
  • get it integrated into master
  • add the label of your developer effort in sum (effort: ...)

All Flags are ticked? Congratulations, you have delivered!

Make our custom input commands more stable

Actually, the idea here is to make sure that input commands which cause the frontend to do a PATCH actually wait for the respective PATCH response.

The approach to achieve this is to inspect the PATCH's xhr response body and look for the field name and value that was just typed into the respective field.

We do this as was outlined in this comment: cypress-io/cypress#387 (comment)

Create new bank

This issue is related to

  • (e.g. a metasfresh-issue)
  • (e.g. a customer issue)

Test shall include:

  1. Create new bank "Raiffeisen"
  2. New bank can be selected in bpartner, bank account tab:
  • open bpartner, e.g. Customer1
  • in bank account tab, select new bank "Raiffeisen"

http://recordit.co/Dbfxjb5kwV

Todo for developer (besides coding)

  • Always make sure the issue is in the correct project lane
  • make your estimation and label (customer:..., est:..., release:... ) this issue accordingly
  • run your test in jenkins e2e
  • get it integrated into master
  • add the label of your developer effort in sum (effort: ...)

All Flags are ticked? Congratulations, you have delivered!

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.