Comments (2)
Could we use something like
withExercise(callback: async (exerciseIds: ExerciseIds) => Promise<void>)
that generates an exercise (POST /api/exercise
), calls the callback
with the response and then deletes the exercise (DELETE /api/exercise
)?
from digital-fuesim-manv.
Could we use something like
withExercise(callback: async (exerciseIds: ExerciseIds) => Promise<void>)that generates an exercise (
POST /api/exercise
), calls thecallback
with the response and then deletes the exercise (DELETE /api/exercise
)?
Yes, this would be sufficient. I wasn't sure about whether two commands would be the more "cypress" way of doing this, but from my understanding commands should mostly abstract user interactions.
So we can write our own wrapper as you proposed.
from digital-fuesim-manv.
Related Issues (20)
- Add log markers to charts
- Add UI to filter logs
- (Many issues in one) Add log generation to all reducers
- Everything that could have been reported, independent of radiograms
- All radiograms: Logs for both accepted and done
- Track a Vehicle
- A lot of Actions
- Selecting a vehicle twice for transfer to hospital can crash the server
- Track a patient
- Add identity to patients
- Simulation does not continue if vehicles are automatically distributed to transfer points and a TO is active
- allow adding custom vehicle templates HOT 1
- add RTW+NEF vehicle combination HOT 1
- Fix permission rights in radiogram.ts and simulated-region.ts
- update packages (dependency CI fails)
- Bug server starting database (importing exercises) - Radiogram
- Importing "exercise-state-2022-05-31-workshop-babz-groรes-szenario.json" results in JS Heap going out of memory (no user feedback given)
- Add accepting to terms and privacy policy before entering an exercise
- Add log field and helpers for StatisticsService
- Add UI to display stream of logs in statistics overview
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 digital-fuesim-manv.