eclipse-sw360 / sw360-frontend

SW360 Frontend Project
Eclipse Public License 2.0
12 stars 9 forks source link

feat(Cypress): Add cypress e2e project #241

Open maipt1 opened 8 months ago

maipt1 commented 8 months ago

Pre-condition:

New front-end commit id: f8d818333be404be5d9e56189fafe1d968788d29

How To Test?

1. Requirement software

Note: Recommended environment is Ubuntu 22.04 LTS, Nodejs v20.5.0, NPM 10.2.5

2. Setup project

3. Run Testing

3.1. Setup testing

3.2. Prerequisite:

3.3. Run with Cypress UI

3.4. Run in headless mode

runDemoAutoTest

maipt1 commented 8 months ago

We have implemented e2e testing for components and releases. Please take a look at it and if you have any questions, please let me know. [SW360 New Frontend] Automation Test #212

KoukiHama commented 8 months ago

@heliocastro @ag4ums @amritkv @arunazhakesan

Please feel free to comment for this PR!

amritkv commented 8 months ago

Hey @KoukiHama & @hoangnt2 !

It looks awesome to me, as of now ! And moreover the library Cypress looks lightweight compared to the existing solutions, specifically for our project.

Need to dig deeper to understand it's usages in complex scenarios like tables.