mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
* test(e2e): modal-navigation app webpack support * test(e2e): add modal-navigation app smoke test * chore(e2e): tslint disable next line * chore(e2e): modal-navigation app compilation * refactor(e2e): modal-nabivation app pages * test(e2e): add app root modal frame tests * test(e2e): add app root modal frame background tests * refactor(e2e): app root modal frame tests * test(e2e): add tab root modal frame tests * refactor(e2e): modal frame tests * test(e2e): add modal page tests * docs(e2e): add scenarios * refactor(e2e): modal-navigation app tests * test(e2e): turn on/off "Don't keep activities" * test(e2e): delete no background tests * test(e2e): add modal tab tests * refactor(e2e): quit driver after all tests * refactor(e2e): config files * fix(e2e): tab root tests * refactor(e2e): skip tab root tests until fix app * chore(e2e): config files
63 lines
1.4 KiB
Markdown
63 lines
1.4 KiB
Markdown
Execute Tests
|
|
=============
|
|
|
|
Android:
|
|
|
|
```
|
|
npm run e2e -- --runType android23 --reuseDevice
|
|
```
|
|
|
|
iOS:
|
|
|
|
```
|
|
npm run e2e -- --runType sim.iPhoneX.iOS112 --reuseDevice
|
|
```
|
|
|
|
Scenarios
|
|
=============
|
|
|
|
ROOT FRAME:
|
|
|
|
1. [Done] Show modal dialog with frame
|
|
1. Navigate to modal second page within modal dialog
|
|
1. Go back
|
|
2. Show nested modal dialog
|
|
2. Close nested modal dialog
|
|
3. Show nested modal dialog with frame
|
|
3. Close nested modal dialog
|
|
4. Close modal dialog
|
|
2. [Done] Show modal dialog
|
|
1. Show nested modal dialog
|
|
1. Close nested modal dialog
|
|
2. Show nested modal dialog with frame
|
|
2. Close nested modal dialog
|
|
3. Close modal dialog
|
|
3. [Done] Show modal tabview
|
|
1. Navigate to second page within tab item frame
|
|
1. Go back
|
|
2. Show nested modal dialog
|
|
2. Close nested modal dialog
|
|
3. Show nested modal dialog with frame
|
|
3. Close nested modal dialog
|
|
4. Close modal dialog
|
|
4. Navigate to second page within root frame
|
|
1. Show modal dialog with frame
|
|
1. Navigate to second page within modal dialog
|
|
1. Go back
|
|
2. Show nested modal dialog
|
|
2. Close nested modal dialog
|
|
3. Show nested modal dialog with frame
|
|
3. Close nested modal dialog
|
|
4. Close modal dialog
|
|
2. Show modal dialog
|
|
1. Show nested modal dialog
|
|
1. Close nested modal dialog
|
|
2. Show nested modal dialog with frame
|
|
2. Close nested modal dialog
|
|
3. Close modal dialog
|
|
3. Go back
|
|
|
|
ROOT TABVIEW:
|
|
|
|
[Same as above]
|