Skip to content
This repository has been 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
BorisOsipov opened this issue Aug 14, 2018 · 4 comments
Open

Comments

@BorisOsipov
Copy link

BorisOsipov commented Aug 14, 2018

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.

@BorisOsipov BorisOsipov 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 Aug 14, 2018
@ghost
Copy link

ghost commented Aug 23, 2018

Same experience on windows 7.
No matter connect local firefox or browserstack.

I did a little test, gemini works fine when testing old firefox(46.0) and selenium server(2.53.1), but fails for latest versions.

@j0tunn
Copy link
Contributor

j0tunn commented Sep 27, 2018

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.

@tymfear
Copy link

tymfear commented Oct 9, 2018

@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).

@j0tunn
Copy link
Contributor

j0tunn commented Oct 9, 2018

@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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants