<gh_stars>1-10
import pytest

from pages.desktop.home import Home


@pytest.mark.skip(
    reason='https://github.com/mozilla/addons-server/issues/2462')
def test_login(base_url, selenium, user):
    """User can login"""
    page = Home(selenium, base_url).open()
    assert not page.logged_in
    page.login(user['email'], user['password'])
    assert page.logged_in


@pytest.mark.skip(
    reason='https://github.com/mozilla/addons-server/issues/2462')
def test_logout(base_url, selenium, user):
    """User can logout"""
    page = Home(selenium, base_url).open()
    page.login(user['email'], user['password'])
    page.logout()
    assert not page.logged_in

import pytest

from pages.desktop.home import Home


@pytest.mark.skip(
    reason='https://github.com/mozilla/addons-server/issues/2462')
def test_login(base_url, selenium, user):
    """User can login"""
    page = Home(selenium, base_url).open()
    assert not page.logged_in
    page.login(user['email'], user['password'])
    assert page.logged_in


@pytest.mark.skip(
    reason='https://github.com/mozilla/addons-server/issues/2462')
def test_logout(base_url, selenium, user):
    """User can logout"""
    page = Home(selenium, base_url).open()
    page.login(user['email'], user['password'])
    page.logout()
    assert not page.logged_in
User can login User can logout