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

Как игнорировать fixed header #950

Open
Jarib4ik opened this issue Dec 25, 2018 · 1 comment
Open

Как игнорировать fixed header #950

Jarib4ik opened this issue Dec 25, 2018 · 1 comment

Comments

@Jarib4ik
Copy link

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

Output of gemini --version:
7.0.1
...

Contents of .gemini.yml file:

module.exports = {
    rootUrl: 'http://utkonos.ru',
    gridUrl: 'http://127.0.0.1:4444/wd/hub',
    "windowSize" : "1920x1080",
    browsers: {
        chrome: {
            desiredCapabilities: {
                browserName: 'chrome',
            }
        }
    },

    system: {
        plugins: {
            'html-reporter/gemini': {
                enabled: true,
                path: 'gemini-reports',
                defaultView: 'all',
                baseHost: ''
            }
        }
    },
};

Test source code:

gemini.suite('MainText', (suite) => {
    suite.setUrl('/')
        .capture('')
        .setCaptureElements('div.module_login_promo_advantages-item')
        .ignoreElements('.module_search_field_white')
});

Command used to run the test:

gemini update / gemini test

Publically accessible URL of the page you are testing against:

http://utkonos.ru

Result:
Строка поиска из фиксированной шапки не игнорируется
...

Expected behaviour:
Строка поиска из фиксированной шапки игнорируется
...

@sipayRT
Copy link
Member

sipayRT commented Jan 9, 2019

Привет

что ты имеешь ввиду под "не игнорируется" - не закрашивается или не исчезает со скриншотов вообще? Для тестирования перед скриншотом можно через js изменить position: fixed на static, чтобы шапка не мешала тестированию

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

2 participants