mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2024-11-19 01:40:12 +01:00
OPS: speedup detox
This commit is contained in:
parent
ef1509b4f9
commit
f158b12665
@ -41,7 +41,7 @@
|
||||
"test": "npm run unit && npm run jest && npm run lint",
|
||||
"jest": "node node_modules/jest/bin/jest.js tests/integration/*",
|
||||
"e2e:release": "detox build -c android.emu.release; detox test -c android.emu.release --record-videos all --take-screenshots all --headless",
|
||||
"e2e:debug": "test -f android/app/build/outputs/apk/debug/app-debug.apk || detox build -c android.emu.debug; detox test -c android.emu.debug",
|
||||
"e2e:debug": "(test -f android/app/build/outputs/apk/debug/app-debug.apk && test -f android/app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk) || detox build -c android.emu.debug; detox test -c android.emu.debug",
|
||||
"lint": "./node_modules/.bin/eslint *.js screen/**/*.js screen/ class/ models/ loc/ tests/integration/ tests/e2e/ tests/unit/",
|
||||
"lint:fix": "./node_modules/.bin/eslint *.js screen/**/*.js screen/ class/ models/ loc/ tests/integration/ tests/e2e/ tests/unit/ --fix",
|
||||
"unit": "node node_modules/jest/bin/jest.js tests/unit/*"
|
||||
|
@ -1,10 +1,6 @@
|
||||
/* global it, describe, expect, element, by, waitFor, device */
|
||||
|
||||
describe('BlueWallet UI Tests', () => {
|
||||
it('can launch', async () => {
|
||||
await yo('WalletsList');
|
||||
});
|
||||
|
||||
it('can encrypt storage, with plausible deniability', async () => {
|
||||
await yo('WalletsList');
|
||||
|
||||
@ -207,7 +203,7 @@ describe('BlueWallet UI Tests', () => {
|
||||
await yo('cr34t3d'); // success
|
||||
});
|
||||
|
||||
it('can encrypt storage, and decrypt storage, but this time the fake one', async () => {
|
||||
it.skip('can encrypt storage, and decrypt storage, but this time the fake one', async () => {
|
||||
// this test mostly repeats previous one, except in the end it logins with FAKE password to unlock FAKE
|
||||
// storage bucket, and then decrypts it. effectively, everything from MAIN storage bucket is lost
|
||||
if (process.env.TRAVIS) return; // skipping on CI to not take time (plus it randomly fails)
|
||||
|
Loading…
Reference in New Issue
Block a user