Tests - ariel-fer/Araena GitHub Wiki
[[TOC]]
- 1026530
- 1025701
- 7201289
- start by deleting cookies from the browser, then start the app using docker
- create scenario, and be able to save it using name "test YYYY.MM.DD"
- load scenario, see same data is in place.
- refresh data in scenario, see that nothing changed.
- out of scenario view, try to click on the MAterial Dropdown and try to select a random material. New data should load up
- create an scenario and save it
- out of scenario view, try to click on the Filter Dropdown and try to select a different
forecast in years
higher than before. it should add the same number of years selected in the graph and table. - after a new
forecast in years
is selected, try loading a the previously created scenario. the forecast in years loaded should be the one stored in the scenario. - try refreshing the scenario, see if everything keeps correct in the graph in terms of number of years, and the same for the table.
- now attempt to modify a cell but without changing the actual number. just a submit
- same as before, but this time change a number, see if numbers change without issues.
- modify
Stock Adjusted
in first Month by 0, see how all numbers are still the same - modify
Stock Adjusted
in first Month by 1, see how Stock Released increased by 1, and SS Ratio and MOH changed.- BUG: se armo un 2do spreadsheet a partir de esto. hice una solucion parcial solo borrando el anterior, pero queda un flash sin nada.
- modifico en 2,000,000 el
stock quarantine
de apr 2025 y ver que todos los meses subsiguientes incrementen - modifico
demand forecast
y veo que eldemand cumulative sum
cambia en los meses posteriores -
try to modify a cell and use the undo/redo buttons to see it works properly. it should go back not only cells editable but also the read-only ones first after the calculations were run.
- negative sign is accepted
- more than 1 negative sign is not accepted
- while there is a number already there, add a negative sign to it
- while typing the values, thousand separator is automatic
- insertar otros caracteres como =;' o letras (a - z) y no se pueda
- insertar una coma y que no se pueda
- insertar un punto como decimal y poder proveer un numero decimal en el edit
- intentar editar Stock Released y que aparezca como gris y con otro cursor de prohibido. lo mismo con Demand Cumulative Sum, Stock/SS Ratio, 25% SS, 150% SS, SS Rolling X Months, MOH.
- intentar modificar las columnas de Measure y Actual Stock, deberian estar con un cursor de prohibido y sin permitirte modificarlas.
- todas las celdas no modificables testeadas en los previos puntos deben tener un color gris de texto, excepto la columna de Measure.
-
copy paste data from excel
-
drag data in the table
TO COMPLETE!
- Tomar nota del Stock Released del primer mes en la tabla
- Agregarle una cifra redonda al Stock Adjusted respecto al Stock Released que tenga la misma cantidad de cifras. Si Stock Released es 1,234,567, agregar 1,000,000 de Stock Adjusted.
- Verificar que el Stock Released nuevo se le suma esa cifra
- Verificar que Stock/SS Ratio se modifico, y el resultado es igual a:
(Stock Released/ SS Rolling x months)
. - Verificar que el MOH se ha incrementado. este numero si no se incrementa, intentarlo nuevamente agregando mas cantidad de
forecast in years
en los filtros.
- Take note of the row numbers defined. They can typically be duplicated among months because they are propagated to future months if no value was defined, and the last value defined is used.
- start by defining a 0 in the first month. verify how numbers change in future months. those other months with a 0 as new value means they did not have a value defined.
- on 2nd month, add a unit to the number already there. Verify future numbers also increment by 1 unit.
- Each cell is independant, but this affects how
Demand Cumulative Sum
works. - set a 0 to the first month. Verify that
Demand Cumulative Sum
now is also 0, and also the 2nd month has the same number asDemand Forecast
. - Add a random number to the value in the 2nd month. See how now
Demand Cumulative Sum
for consecutive months also adds it.
Quantity to be released: Test que compruebe que al editar esto, ver que suceda lo que esperamos Quantity to be received: Test que compruebe que al editar esto, ver que suceda lo que esperamos Stock/SS Ratio: Test que compruebe que al editar esto, ver que suceda lo que esperamos SS Rolling months: Test que compruebe que al editar esto, ver que suceda lo que esperamos MOH: Test que compruebe que al editar esto, ver que suceda lo que esperamos
TO COMPLETE!
- modificar
Stock Adjusted
por un valor positivo relevante parecido al stock released, que aparezca en el grafico en rojo y que la barra de stock released tenga el valor original - modificar
Stock Adjusted
por un valor negativo relevante parecido al stock released, que NO aparezca en el grafico pero que el stock released muestre el calculo final
###(scenario) old scenario 1 - material 5903101:
- abrir el scenario, que lo cargue e incluya Stock Released como Stock Released original
- tratar de guardar algun valor nuevo en el scenario
- cargar el scenario nuevamente
- refrescarlo y ver que cambie StockReleased, SS Ratio, SS Rolling, StockROriginal y todo coincida
- abrir el scenario, que lo cargue e incluya Stock Released como Stock Released original
- tratar de guardar algun valor nuevo en el scenario
- cargar el scenario nuevamente
- abrir el scenario, que lo cargue e incluya Stock Adjusted con todos 0s
- modificar scenario con Stock Adjusted
- refresh y ver que cambian al menos un poco los numeros
- abrir el scenario, que lo cargue e incluya Stock Adjusted incluido, y que el Stock Released original sea bien calculado al ser una nueva row generada - BUG: al cargarlo, el width de algunas columnas cambia
- al hacer el refresh, que la data cambie
- BUG: me di cuenta que el SS Rolling cambia de 2 a 12 porque toma el moH del filtro. en el scenario no se guarda este valor salvo en el nombre de la measure - fixed
- modificar algo del scenario y que no de problemas al aplicar cambios.
- guardar los cambios en el mismo scenario
- [] abrir el scenario, que lo cargue e incluya Stock Adj incluido, y que el Stock Released original sea bien calculado al ser una nueva row generada
- [] modificar scenario pero dejando los mismos numeros y que no cambie nada
- modificar scenario con un numero bajo y que cambie poco - NOT OK. parece que hay un tema con este scenario, porque por mas que refresque la data primero igualmente el stock Released cambia mucho con peque;os cambios en Stock Adj