Comments (2)
We're just going to focus on unit tests for now, not integration tests (like those using Selenium), as integration tests can be challenging to set up. Once we add integration tests, @ggalmazor suggests:
we could try to combine some approval tests and snapshots
This is a really good tool for that: https://github.com/GoogleChrome/puppeteer
from central-frontend.
From @ggalmazor:
https://medium.freecodecamp.org/simple-unit-tests-with-vue-test-utils-and-jest-c384d7abc321
And this is an example on how to use PageObject pattern in combination with Vue component testing https://github.com/just-boris/page-object/blob/master/examples/vue/src/LoginForm.test.js
from central-frontend.
Related Issues (20)
- Update form draft message about Entities to reflect new functionality
- Refactor frozen table columns
- Hide tooltip when its anchor element is moved off-screen
- Turn on max-len ESLint rule
- Show translation of "label" in entity diff
- Update translations for v2023.4 HOT 1
- Update dependencies for v2023.4 HOT 1
- Frontend reports “Incorrect email address and/or password” over and over when credentials are correct HOT 2
- small screens: menu stays open after logout HOT 1
- Make project names on homepage sticky HOT 1
- destructure.js throws error for JSON structure mismatch
- Remove polling for Enketo IDs HOT 4
- Update dependencies for v2023.5
- Update translations for v2023.5
- Update Bootstrap to v5 HOT 2
- Link to entity list button sometimes not shown on form attachments HOT 3
- Build during CI
- Add tests of entity conflict summary table HOT 1
- Update dependencies for v2024.1 HOT 1
- Add remaining tests of entity bulk upload
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from central-frontend.