Giter Site home page Giter Site logo

thesoftwaredesignlab / kraken Goto Github PK

View Code? Open in Web Editor NEW
4.0 3.0 1.0 197.98 MB

Cross-Platform Multi-User Interaction-based Testing for Android and Web Applications

Home Page: https://thesoftwaredesignlab.github.io/Kraken/

License: Other

JavaScript 18.74% TypeScript 50.91% Gherkin 0.14% CSS 14.13% EJS 16.08%
android appium testing web interaction-based cross-platform multi-device

kraken's Issues

Occasional crash on the reporter module

Current Behavior

I would estimate 1/50 chance of crashing when running a test case. It doesn't matter if the test pass or not, the issue pops up sporadically.

Expected behavior

For the reporter not to crash, and kraken not to report a correct test case as failed.

Context

OS, node, etc.

kraken-node: 1.0.24
node: v16.15.0
os: Linux 5.17.5-arch1-1 x86_64 GNU/Linux

More data

As the stacktrace shows it's unrelated to my steps file or what it calls, is an error propagated from inside kraken.

SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at Reporter.generateDeviceReport (/home/muniter/projects/msc/p2/pruebas/e2e_testing_assignment/node_mo
dules/kraken-node/lib/reports/Reporter.js:159:29)
    at Reporter.generateWebReport (/home/muniter/projects/msc/p2/pruebas/e2e_testing_assignment/node_modul
.=========================================
es/kraken-node/lib/reports/Reporter.js:155:14)
    at Reporter.generateProcessReport (/home/muniter/projects/msc/p2/pruebas/e2e_testing_assignment/node_m
odules/kraken-node/lib/reports/Reporter.js:141:18)
    at /home/muniter/projects/msc/p2/pruebas/e2e_testing_assignment/node_modules/kraken-node/lib/reports/R
eporter.js:133:19
    at Array.forEach (<anonymous>)
    at Reporter.generateEachDeviceReport (/home/muniter/projects/msc/p2/pruebas/e2e_testing_assignment/nod
e_modules/kraken-node/lib/reports/Reporter.js:129:37)
    at Reporter.saveReport (/home/muniter/projects/msc/p2/pruebas/e2e_testing_assignment/node_modules/krak
en-node/lib/reports/Reporter.js:59:14)
    at TestScenario.afterExecute (/home/muniter/projects/msc/p2/pruebas/e2e_testing_assignment/node_module
s/kraken-node/lib/TestScenario.js:123:23)
    at TestScenario.<anonymous> (/home/muniter/projects/msc/p2/pruebas/e2e_testing_assignment/node_modules
/kraken-node/lib/TestScenario.js:91:30)

It is completely unrelated to the test case, which is working correctly every time.go

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.