gemini-testing / gemini

💀💀💀[DEPRECATED] Use hermione
https://github.com/gemini-testing/hermione
MIT License
1.5k stars 149 forks source link

How to use Gemini in azure build pipeline #981

Closed InoshikaFernando closed 4 years ago

InoshikaFernando commented 4 years ago

When reporting a bug, make sure you provide all required info below. Reports without this information may be closed.

Output of gemini --version: 7.5.2

...

Contents of .gemini.yml file:

rootUrl: https://www.nzme.co.nz
screenshotsDir: ./gemini/screens
browsers:
  PhantomJS:
    desiredCapabilities:
      browserName: phantomjs
sets:
  ff:
    files:
     - ./home
    browsers:
     - PhantomJS

Test source code:

gemini.suite('menu', (suite) => {
    suite.setUrl('/')
        .setCaptureElements(['.container-fluid', '.header_page' ])
        .capture('menu');
});

gemini.suite('body', (suite) => {
    suite.setUrl('/')
        .setCaptureElements(['.home-grid' ])
        .capture('body');
});

gemini.suite('footer', (suite) => {
    suite.setUrl('/')
        .setCaptureElements(['.footer_site_nav','.footer_copyright' ])
        .capture('footer');
});

Command used to run the test:

gemini update
gemini test

Publically accessible URL of the page you are testing against:

https://www.nzme.co.nz/

Result:Pass

...

Expected behaviour:Pass

... This is not an issue. I just like to know how we can use gemini in azure pipeline

j0tunn commented 4 years ago

Sorry, but we know nothing about azure pipeline. And gemini is deprecated, so probably you shouldn't use it at all. Take a look at https://github.com/gemini-testing/hermione