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

Failed in gemini update step #984

Open
oldpistonaddicted opened this issue Apr 22, 2021 · 0 comments
Open

Failed in gemini update step #984

oldpistonaddicted opened this issue Apr 22, 2021 · 0 comments

Comments

@oldpistonaddicted
Copy link

Output of gemini --version: 7.5.2

...

Contents of .gemini.js file:

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

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

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:
/Users/tester/.nvm/versions/node/v12.14.1/lib/node_modules/gemini/lib/config/config-reader.js:23
throw new GeminiError('No config found');
^

GeminiError: No config found
at getDefaultConfig (/Users/tester/.nvm/versions/node/v12.14.1/lib/node_modules/gemini/lib/config/config-reader.js:23:15)
at Object.exports.read (/Users/tester/.nvm/versions/node/v12.14.1/lib/node_modules/gemini/lib/config/config-reader.js:10:28)
at readConfig (/Users/tester/.nvm/versions/node/v12.14.1/lib/node_modules/gemini/lib/config/index.js:61:31)
at new Config (/Users/tester/.nvm/versions/node/v12.14.1/lib/node_modules/gemini/lib/config/index.js:28:18)
at new Gemini (/Users/tester/.nvm/versions/node/v12.14.1/lib/node_modules/gemini/lib/gemini.js:43:23)
at mkGemini (/Users/tester/.nvm/versions/node/v12.14.1/lib/node_modules/gemini/lib/cli/index.js:96:20)
at Object.exports.run (/Users/tester/.nvm/versions/node/v12.14.1/lib/node_modules/gemini/lib/cli/index.js:23:20)
at Object. (/Users/tester/.nvm/versions/node/v12.14.1/lib/node_modules/gemini/bin/gemini:33:25)
at Module._compile (internal/modules/cjs/loader.js:955:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:991:10)
at Module.load (internal/modules/cjs/loader.js:811:32)
at Function.Module._load (internal/modules/cjs/loader.js:723:14)
at Function.Module.runMain (internal/modules/cjs/loader.js:1043:10)
at internal/main/run_main_module.js:17:11 {
name: 'GeminiError',
advice: undefined
}

...

Expected behaviour:

...

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

1 participant