Socket
Socket
Sign inDemoInstall

@zondax/zemu

Package Overview
Dependencies
Maintainers
3
Versions
166
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zondax/zemu - npm Package Compare versions

Comparing version 0.34.0-beta.4 to 0.34.0-beta.5

14

dist/index.js

@@ -416,3 +416,3 @@ "use strict";

Zemu.prototype.waitUntilScreenIsNot = function (screen, timeout) {
if (timeout === void 0) { timeout = 10000; }
if (timeout === void 0) { timeout = 20000; }
return __awaiter(this, void 0, void 0, function () {

@@ -614,3 +614,3 @@ var start, inputSnapshotBufferHex, _a, currentSnapshotBufferHex, _b, currentTime, elapsed, _c;

if (startImgIndex === void 0) { startImgIndex = 0; }
if (timeout === void 0) { timeout = 10000; }
if (timeout === void 0) { timeout = 20000; }
return __awaiter(this, void 0, void 0, function () {

@@ -626,3 +626,3 @@ return __generator(this, function (_a) {

if (startImgIndex === void 0) { startImgIndex = 0; }
if (timeout === void 0) { timeout = 10000; }
if (timeout === void 0) { timeout = 20000; }
return __awaiter(this, void 0, void 0, function () {

@@ -695,3 +695,3 @@ var snapshotPrefixGolden, snapshotPrefixTmp, imageIndex, filename, start, prev_events_qty, current_events_qty, found, currentTime, elapsed, events, _i, events_1, eventEntry;

if (startImgIndex === void 0) { startImgIndex = 0; }
if (timeout === void 0) { timeout = 10000; }
if (timeout === void 0) { timeout = 20000; }
return __awaiter(this, void 0, void 0, function () {

@@ -769,3 +769,3 @@ var takeSnapshots, lastImgIndex;

Zemu.prototype.waitScreenChange = function (timeout) {
if (timeout === void 0) { timeout = 10000; }
if (timeout === void 0) { timeout = 20000; }
return __awaiter(this, void 0, void 0, function () {

@@ -804,3 +804,3 @@ var start, prev_events_qty, current_events_qty, currentTime, elapsed;

Zemu.prototype.waitForText = function (text, timeout, caseSensitive) {
if (timeout === void 0) { timeout = 10000; }
if (timeout === void 0) { timeout = 20000; }
if (caseSensitive === void 0) { caseSensitive = false; }

@@ -858,3 +858,3 @@ return __awaiter(this, void 0, void 0, function () {

if (!waitForScreenUpdate) return [3 /*break*/, 8];
watchdog = 10000;
watchdog = 20000;
return [4 /*yield*/, this.snapshot()];

@@ -861,0 +861,0 @@ case 4:

@@ -5,3 +5,3 @@ {

"license": "Apache-2.0",
"version": "0.34.0-beta.4",
"version": "0.34.0-beta.5",
"description": "Zemu Testing Framework",

@@ -8,0 +8,0 @@ "main": "./dist/index.js",

@@ -334,3 +334,3 @@ /** ******************************************************************************

async waitUntilScreenIsNot(screen: any, timeout = 10000) {
async waitUntilScreenIsNot(screen: any, timeout = 20000) {
const start = new Date()

@@ -481,3 +481,3 @@

startImgIndex = 0,
timeout = 10000,
timeout = 20000,
): Promise<boolean> {

@@ -494,3 +494,3 @@ return this.navigateAndCompareUntilText(path, testcaseName, 'APPROVE', waitForScreenUpdate, startImgIndex, timeout)

startImgIndex = 0,
timeout = 10000,
timeout = 20000,
): Promise<number> {

@@ -554,3 +554,3 @@ const snapshotPrefixGolden = resolve(`${path}/snapshots/${testcaseName}`)

startImgIndex = 0,
timeout = 10000,
timeout = 20000,
): Promise<boolean> {

@@ -587,3 +587,3 @@ const takeSnapshots = true

async waitScreenChange(timeout = 10000) {
async waitScreenChange(timeout = 20000) {
const start = new Date()

@@ -607,3 +607,3 @@ const prev_events_qty = (await this.getEvents()).length

async waitForText(text: string, timeout = 10000, caseSensitive = false) {
async waitForText(text: string, timeout = 20000, caseSensitive = false) {
const start = new Date()

@@ -642,3 +642,3 @@ let found = false

if (waitForScreenUpdate) {
let watchdog = 10000
let watchdog = 20000
let currentScreen = await this.snapshot()

@@ -645,0 +645,0 @@ while (currentScreen.data.equals(previousScreen.data)) {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc