---
# System prepended metadata

title: "Dryer Testing \_\U0001F92C"

---

# Dryer Testing  🤬

[Behavior control](https://simulators-factory-wizard-integration.stages.k8s.enapter.ninja/simulators/1) - `Behavior:` prefix
[Pressure Gauge control](https://simulators-factory-wizard-integration.stages.k8s.enapter.ninja/simulators/24) - `Gauge:` prefix
[Dryer States control](https://cloud-factory-wizard-integration.stages.k8s.enapter.ninja/devices/2) - `States:` prefix

### Legend 🗺:
A **`Code block like this`** means action:
* `Behavior: Name` - click a button `Name` at the Behavior control page
* `Gauge: Name` - click a button `Name` at the Gauge control page
* `Wizard: Name` - click a button `Name` at the Wizard page (Frontend)

Title **Major Case** means full journey through the wizard
Title **Specific case** means check just for one component or linked components (sush as "Inversion check" screens)

---


# Major Case "Everything is fine 😎" 
- [x] Done
1. `Behavior: Switch state`
2. `Wizard: Stop Dryer` if it's started
3. `Wizard: Start Stage`
4. `Wizard: Purges are blocked`
5. `Wizard: Start Dryer`, wait `drying_0` state
6. `Wizard: Switch to expert mode`, wait next screen
7. `Behavior: Pressure0`
8. `Gauge: Pressure0`
9. `Wizard: Start dryer` then `Wizard: Expert`
10. `Wizard: Save low pressure checkpoint`
11. `Wizard: Electrolyser started`
12. `Behavior: Pressure40`
13. `Gauge: Pressure40`
14. `Wizard: Start dryer`, wait `drying_0` state, then `Wizard: Expert
15. `Wizard: Save high pressure checkpoint`
16. Select sniffer `Some num` then `Wizard: confirm no leakages`
17. Make sure that `Max` is 40, `Min` is 0, then `Wizard: Apply Calibration` (CLICK 2 TIMES, I'm aware of this bug 🐞)
18. Make sure that all values are identical or same at least, then `Wizard: Approve`
19. `Behavior: Ps2`, then wait until PS00 status changes to *Incative*, then click `Wizard: Disconnected`
20. `Behavior: Ps3`, then wait until PS00 status changes to *Active*, then click `Wizard: Reconnected`
21. `Wizard: Start Dryer`, then `Wizard: Expert`
22. Check that `PS00` & `PS01` have valid values, then `Wizard: Approve`
23. `Wizard: Dryer pressurized`
24. Done 🥳

# Major Case "Switches were inverted 😤"
- [x] Done

Same as the "fine" step but with the inversion of switches.

1. `Behavior: Switch state`
2. `Wizard: Stop Dryer` if it's started
3. `Wizard: Start Stage`
4. `Wizard: Purges are blocked`
5. `Wizard: Start Dryer`, wait `drying_0` state
6. `Wizard: Switch to expert mode`, wait next screen
7. `Behavior: Pressure0`
8. `Gauge: Pressure0`
9. `Wizard: Start dryer` then `Wizard: Expert`
10. `Wizard: Save low pressure checkpoint`
11. `Wizard: Electrolyser started`
12. `Behavior: Pressure40`
13. `Gauge: Pressure40`
14. `Wizard: Start dryer`, wait `drying_0` state, then `Wizard: Expert`
15. `Wizard: Save high pressure checkpoint`
16. Select sniffer `Some num` then `Wizard: confirm no leakages`
17. Make sure that `Max` is 40, `Min` is 0, then `Wizard: Apply Calibration` (CLICK 2 TIMES, I'm aware of this bug 🐞)
18. Make sure that all values are identical or same at least, then `Wizard: Approve`
19. `Behavior: Ps1`, then wait until PS01 status changes to **Inactive**, then click `Wizard: Disconnected
20. Make sure that it's 'Pressure switches are inverted' screen
21. `Behavior: Ps3`
22. Wait until both switches are **Active**
23. `Wizard: Start dryer` then `Wizard: Expert`
24. `Wizard: Inversion Fixed`
25. Check that `PS00` & `PS01` have valid values, then `Wizard: Approve`
26. `Wizard: Dryer pressurized`
27. Done 🥳


# Major Case "Redo Calibration 🙅, no Switches Inversion 👌, Also check for pressure drop and rising"
- [X] Done

Same as the "fine" case until we discarded the calibration at the Screen #9. No need to test the switches inversion since we did it before. And instead of **Pressure 0** & **Pressure 40** Behavior we should use **Pressure up** & **Pressure down** Behavior.
1. `Behavior: Switch state`
2. `Wizard: Stop Dryer` if it's started
3. `Wizard: Start Stage`
4. `Wizard: Purges are blocked`
5. `Wizard: Start Dryer`, wait `drying_0` state
6. `Wizard: Switch to expert mode`, wait next screen
7. `Behavior: Pressure down` and wait until **PT00** & **PT01** values (at Wizard's right panel) show stable **0 bar**
8. `Gauge: Pressure0`
9. `Wizard: Start dryer` then `Wizard: Expert`
10. `Wizard: Save low pressure checkpoint`
11. `Wizard: Electrolyser started`
12. `Behavior: Pressure up` and wait until **PT00** & **PT01** values (at Wizard's right panel) show stable **40 bar**
13. `Gauge: Pressure40`
14. `Wizard: Start dryer`, wait `drying_0` state, then `Wizard: Expert`
15. `Wizard: Save high pressure checkpoint`
16. Select sniffer `Some num` then `Wizard: confirm no leakages`
17. Make sure that `Max` is 40, `Min` is 0, then `Wizard: Apply Calibration`
18. `Wizard: Redo`
19. **ATTENTION❗️** Press `Gauge: Pressure0`, then press `Behavior: Pressure down`, `Wizard: Start Dryer`, `Wizard: Expert` and wait **PT00** & **PT01** values below **1 bar**, then click `Wizard: Save low pressure checkpoint`
20. `Wizard: Electrolyser started`
21. **ATTENTION❗️** Press `Gauge: Pressure40`, then press `Behavior: Pressure up`, `Wizard: Start Dryer`, `Wizard: Expert` and wait **PT00** & **PT01** values above **30 bar**, then click `Wizard: Save high pressure checkpoint`
22. Select sniffer `Some num` then `Wizard: confirm no leakages`
23. Make sure that min and max values are valid then click `Wizard: Apply calibration`
24. Make sure that all values are identical or same at least, then `Wizard: Approve`
25. Done 🥳

# Major Case "It was just fine until 🙀 we discarded Pressure Switches Activation pressures 😾"
- [X] Done

Same as the "fine" case until we discarded **pressure switches activation pressures** at the screen #13.
1. `Behavior: Switch state`
2. `Wizard: Stop Dryer` if it's started
3. `Wizard: Start Stage`
4. `Wizard: Purges are blocked`
5. `Wizard: Start Dryer`, wait `drying_0` state
6. `Wizard: Switch to expert mode`, wait next screen
7. `Behavior: Pressure0`
8. `Gauge: Pressure0`
9. `Wizard: Start dryer` then `Wizard: Expert`
10. `Wizard: Save low pressure checkpoint`
11. `Wizard: Electrolyser started`
12. `Behavior: Pressure40`
13. `Gauge: Pressure40`
14. `Wizard: Start dryer`, wait `drying_0` state, then `Wizard: Expert`
15. `Wizard: Save high pressure checkpoint`
16. Select sniffer `Some num` then `Wizard: confirm no leakages`
17. Make sure that `Max` is 40, `Min` is 0, then `Wizard: Apply Calibration` (CLICK 2 TIMES, I'm aware of this bug 🐞)
18. Make sure that all values are identical or same at least, then `Wizard: Approve`
19. `Behavior: Ps1`, then wait until PS01 status changes to **Inactive**, then click `Wizard: Disconnected
20. Make sure that it's 'Pressure switches are inverted' screen
21. `Behavior: Ps3`
22. Wait until both switches are **Active**
23. `Wizard: Start dryer` then `Wizard: Expert`
24. `Wizard: Inversion Fixed`
25. `Wizard: Redo`
26. `Behavior: Pressure0`
27. `Gauge: Pressure0`
28. `Wizard: Dryer Purged`
29. `Wizard: Adjust`
30. `Behavior: Pressure40`
31. `Gauge: Pressure40`
32. `Wizard: Dryer Pressurized`
33. Done 🥳

# Specific case "Inversion check: No inversion" 👏
- [x] Done
1. Start with "inversionCheck" step at state machine or get to screen #10 **manualy**
2. `Behavior: Ps3`
3. Check that both switches are **Active**
4. `Behavior: Ps2`
5. Check that PS00 **Inactive**, then click `Wizard: Disconnected`
6. Button **Reconnected** should be disabled and the alert text should be "Switch PS00 has an error"
7. `Behavior: Ps1`
8. Button **Reconnected** should be disabled and the alert text should be "Switch PS01 has an error"
9. `Behavior: Ps3`
10. Button **Reconnected** should be enabled and alert should disappear
11. `Wizard: Reconnected`
12. Checks for "**no inversion**" case have been done 🥳

# Specific case "Inversion check: There is an Inversion" 🤮
- [x] Done
1. Start with "inversionCheck" step at state machine or get to screen #10 **manualy**
2. `Behavior: Ps3`
3. Check that both switches are **Active**
4. `Behavior: Ps1`
5. Check that PS01 **Inactive**, then click `Wizard: Disconnected`
6. Button **Reconnected** should be disabled and the alert text should be "Switch PS01 has an error"
7. `Behavior: Ps2`
8. Button **Reconnected** should be disabled and the alert text should be "Switch PS00 has an error"
9. `Behavior: Ps3`
10. Button **Inversion Fixed** should be enabled and alert should disappear
11. `Wizard: Inversion Fixed`
12. Checks for "**There is an Inversion**" case have been done 🥳

# Specific case "Check Pressure Drop"
- [x] Done

Check pressure drop for PT00 and PT01. It's "Pressure Down" behavior.
1. Go to the first screen (refresh page or another way)
2. `Behavior: Pressure40`
3. Wait until **PT00** and **PT01** values rise to **40 bar**
4. `Behavior: Pressure down`
5. Wait until **PT00** and **PT01** values drop to **0 bar**
6. Done 🥳

# Specific case "Check Pressure Rise"
- [x] Done

Check pressure rise for PT00 and PT01. It's "Pressure Up" behavior
1. Go to the first screen (refresh page or another way)
2. `Behavior: Pressure0`
3. Wait until **PT00** and **PT01** values drop to **0 bar**
4. `Behavior: Pressure up`
5. Wait until **PT00** and **PT01** values rise to **40 bar**
6. Done 🥳

# Specific case "Check Pressure Switches Activation Pressures"
- [X] Done

Check that Pressure Switches (**PS00** & **PS01**) activate/deactivate if pressure is **X bar**
1. Go to the first screen (refresh page or another way)
2. `Behavior: Pressure0`
3. Wait until **PT00** and **PT01** values drop to **0 bar**
4. `Behavior: Pressure up`
5. Wait for **PS00** and **PS01** status change to **Active** and write down **PT00** and **PT01** values when it happens
> It happens when pressure is above 30 bar (at **30.4** while simulation)
6. Change behavior to `Behavior: Pressure40`
7. `Behavior: Pressure down`
8. Wait for **PS00** and **PS01** status change to **Active** and write down **PT00** and **PT01** values when it happens
> It happens when pressure is below 8 bar (approximately)