Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
working on Someone is working on it
Projects
None yet
Development

No branches or pull requests

1 participant