Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

Use e2e tests in the UI #93

Open
kinow opened this issue Nov 23, 2023 · 3 comments
Open

Use e2e tests in the UI #93

kinow opened this issue Nov 23, 2023 · 3 comments
Labels
working on Someone is working on it

Comments

@kinow
Copy link
Member

kinow commented Nov 23, 2023

In GitLab by @bdepaula on Nov 23, 2023, 11:13

We can run e2e tests that allow us to test things like components being mounted/unmounted, DOM changes, events, and other things that would be difficult to do with just unit tests, karma, qunit, jest, etc.

I used Cypress + offline data in the past. The offline data was served with a json-server and saved JSON data, used both for e2e tests and for quick prototype and development. Maybe we could use something similar.

There are alternatives to Cypress, like Nightwatch and Selenium too.

One thing that blocks this issue right now, I think, is the necessity to have a worker with these tools in GitLab. As far as I recall, our single worker is a VM with a shared Conda environment, used mainly/exclusively for Autosubmit Python. Messing up with that might break the worker and Autosubmit (as I did some months ago).

@kinow
Copy link
Member Author

kinow commented Nov 23, 2023

@kinow
Copy link
Member Author

kinow commented Feb 6, 2024

In GitLab by @ltenorio on Feb 6, 2024, 17:06

mentioned in commit 1a7dfe1

@kinow
Copy link
Member Author

kinow commented Apr 16, 2024

In GitLab by @ltenorio on Apr 16, 2024, 12:19

Already made e2e tests for the main pages of the new GUI and achieved a 57.71% coverage 🎉

image

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
working on Someone is working on it
Projects
None yet
Development

No branches or pull requests

1 participant