Well, I got 2/3 of this test script passing.
- Delete all piles
- Create a new pile named "Discard".
- Reload.
- It should still exist.
- Create another pile named "Draw".
- Add three cards named "Discard A", "Discard B", and "Discard C" to the Discard pile.
- Reload.
- They should still be in that pile and also in the all cards list.
- Add two cards named "Draw A" and "Draw B" to the Draw pile.
- Reload.
- They should still be in that pile and also in the all cards list. The Discard pile should be in the same pile as before.
- Set the description Discard B to "Giza Power Plant."
- Set the description Draw B to "Hovering Lifeless."
- The descriptions should also change in the all cards list.
- Reload.
- Everything should be the same.
- Create another pile named "The Void".
- Remove Discard A from the Discard pile.
- Discard A should not be in the Discard pile, but it should be in the all cards list.
- Reload.
- Everything should be the same.
- Move Discard B to The Void pile.
- Delete the Discard pile.
- Discard C should still be in the All Cards list, even if it isn't in a pile.
- Delete Draw A from the All Cards list.
- It should be gone from the Draw pile.
- Reload.
- Everything should be the same.
- Move Draw A to The Void.
- Move Discard B to Draw.
- Add a card named "Draw D" to the Draw pile.
- The Void should contain Draw A.
- Draw should Discard B and D.
- Reload.
- Everything should be the same.