* Add integration test docs, discussion guidelines, and edit contribution guide * Editorial changes to the integration test page * Test cases fixed * Backslashes removed * Fixes from ellyromanova * Update pull_request_template.md * Delete two issue templates * Remove notion of the forum * Update CODEOWNERS * Fix general_test_cases.md symbol * Fix general_test_cases.md again --------- Co-authored-by: Ruslan Nadyrshin <110516632+rnadyrshin@users.noreply.github.com> Co-authored-by: Štefan Croitoru <66339601+turbospok@users.noreply.github.com>
3.5 KiB
NFC — Test Cases
1. NFC. Extra Actions. Unlock Ntag/Ultralight
Steps:
-
Auth as. Both types work identically. Bring cards of both types, and wrong type card.
Expected result:
-
If the card type is correct, the card is successfully readed.
-
If the card type is incorrect, a message about invalid card type will appear and we will be returned to the reading screen.
-
-
Save scanned cards.
Expected result: cards saved, after one and a half seconds the scene will change to the "saved" menu.
-
Enter password manually, by attaching a card of the correct type and a card of the wrong type.
Expected result:
- A warning window appeared, click continue.
- With the correct card, the card can be completely unblocked and not.
- When you apply a card of the wrong type, the scene will change to a warning window about the wrong card type.
-
Save scanned cards.
Expected result: cards saved, after one and a half seconds the scene will change to the "saved" menu.
2. NFC Detect Reader
Steps:
-
Go to NFC → Detect Reader.
-
Bring the flipper to the active NFC Reader (for example, another flipper).
Expected result: nonces were considered with a light-vibration signal.
-
Press OK.
Expected result: a screen with a QR code appears, which is correctly read by the camera.
3. NFC Emulation
Steps:
-
Launch NFC → Saved card → Emulate.
-
Check that Flipper is readable by different NFC readers.
Expected result:
- Flipper 10 mm
- ProxMark
4. NFC Reading
Steps:
-
Launch NFC → Read.
-
Check that Flipper reads different NFC cards.
Expected result: Successful reading of cards:
- MF Classic
- Ultralight
- NTAG
- DESFire
- NFC-F
- EMV bank card
5. NFC Timing testing
Steps:
-
Connect proxmark and run the client for it (pm3).
-
Run Mifare Ultralight emulation on the flipper.
-
Read the card and output the log using the commands:
hf 14a raw -sc 3000trace list -t 14a --frame -u -
Check that timings and communication match the reference:
Expected result: Mifare Ultralight timings are the same.
-
Launch Mifare Classic emulation and execute the commands from step 3 and compare with the reference.
Expected result: Mifare Classic timings are the same.
6. NFC Add Manually
Steps:
-
Go to NFC → Add manually.
-
Create maps of all types and save.
Expected result: all cards are preserved.
-
Go to Saved cards and emulate the created cards.
Expected result: the cards were counted and the data matches.
7. NFC Extra Actions
Steps:
-
Press "Read Specific card type", and read the key types of cards.
Expected result: the cards were counted, the reading is done in a standard way.
-
Press Mifare Classic Keys, and add some key.
Expected result: keys have been added, a "List" button has appeared on the main screen.
-
Click the "list" button and delete any key.
Expected result: the deleted key disappeared from the list, if the last key is deleted, the "list" button disappears from the main menu.
-
Press "Unlock SLIX", and Enter Password.
Expected result: if the password is correct, by placing the card it will be unlocked.
-
View info, simulate and save map.
Expected result: the info is correct, the emulation works, the card is saved.
-
Apply the Tommy Box toy card, repeat steps 4 and 5 without entering the password.
Expected result: results of steps 4 and 5.