Skip to content
This repository was archived by the owner on Sep 21, 2022. It is now read-only.
This repository was archived by the owner on Sep 21, 2022. It is now read-only.

gemini update leads to node crash when I run test against Firefox #928

Open

Description

@BorisOsipov

gemini update leads to node crash when I run test against Firefox(in my case 61.0.1)
It works well when I use Chrome with the same setup.

OS:

bo@boubuntu:~/tmp/genimi$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 17.10
Release:        17.10
Codename:       artfu

Node version

bo@boubuntu:~/tmp/genimi$ node -v
v8.11.3

Output of gemini --version:

bo@boubuntu:~/tmp/genimi$ gemini --version
5.8.0

Contents of .gemini.js file:

module.exports = {
    rootUrl: 'http://yandex.ru',
    gridUrl: 'http://127.0.0.1:4444/wd/hub',

    browsers: {
        firefox: {
            desiredCapabilities: {
                browserName: 'firefox'
            }
        }
    }
};

Test source code:

gemini.suite('yandex-search', (suite) => {
    suite.setUrl('/')
        .setCaptureElements('.home-logo')
        .capture('plain');
});

Command used to run the test:

gemini update

Publically accessible URL of the page you are testing against:

http://yandex.ru

Result:

bo@boubuntu:~/tmp/genimi$ gemini update
FATAL ERROR: v8::ToLocalChecked Empty MaybeLocal.
 1: node::Abort() [node]
 2: 0x8c21ec [node]
 3: v8::Utils::ReportApiFailure(char const*, char const*) [node]
 4: PngImgAdapter::NewInstance(Nan::FunctionCallbackInfo<v8::Value> const&) [/home/bo/.nvm/versions/node/v8.11.3/lib/node_modules/gemini/node_modules/png-img/build/Release/png_img.node]
 5: 0x7f9074812065 [/home/bo/.nvm/versions/node/v8.11.3/lib/node_modules/gemini/node_modules/png-img/build/Release/png_img.node]
 6: v8::internal::FunctionCallbackArguments::Call(void (*)(v8::FunctionCallbackInfo<v8::Value> const&)) [node]
 7: 0xad762f [node]
 8: v8::internal::Builtin_HandleApiCall(int, v8::internal::Object**, v8::internal::Isolate*) [node]
 9: 0x3175155842fd
Aborted (core dumped)

Expected behaviour:

Not crashes.

Activity

  1. changed the title [-]`gemini update` leads to node crash when I ran test against Firefox[/-] [+]`gemini update` leads to node crash when I run test against Firefox[/+] on Aug 14, 2018
  2. j0tunn commented on Sep 27, 2018

    @j0tunn
    Contributor

    gemini does not support firefox later than 46 version. In fact gemini will no longer be supported soon. I'd suggest you to try hermione.assertView instead.

  3. tymfear commented on Oct 9, 2018

    @tymfear

    @j0tunn - what do you mean by soon? Currently it is impossible to replace gemini with hermione. There is a lot of things to be implemented to hermione to replace gemini (from my point of view).

  4. j0tunn commented on Oct 9, 2018

    @j0tunn
    Contributor

    @tymfear Hi.

    what do you mean by soon?

    As soon as gemini could be completely replaced with hermione. Hermione already can do most of the things to make it possible to use it as visual testing tool.

    Currently it is impossible to replace gemini with hermione.
    There is a lot of things to be implemented to hermione to replace gemini (from my point of view)

    Could you please define all those things?
    For now I see only one issue from you: gemini-testing/testplane#319

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions