Skip to content

Commit

Permalink
#872 Fix tags selenium tests
Browse files Browse the repository at this point in the history
  • Loading branch information
duker33 committed Jun 11, 2019
1 parent 48f9318 commit b78d6fe
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions shopelectro/tests/tests_selenium.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,10 @@
from selenium.webdriver.common.keys import Keys
from selenium.webdriver.support import expected_conditions as EC

from shopelectro.models import Category, Product
from shopelectro.tests import helpers

from pages.models import FlatPage, CustomPage
from pages.urls import reverse_custom_page
from shopelectro.models import Category, Product
from shopelectro.tests import helpers


def add_to_cart(browser):
Expand Down Expand Up @@ -133,7 +132,7 @@ def get_testing_url(slug):
)

self.apply_btn = 'js-apply-filter'
self.filter_tag = 'label[for="tag-24-v"]'
self.filter_tag = 'label[for="tag-napriazhenie__24-v"]'

def tearDown(self):
self.browser.delete_all_cookies()
Expand Down

0 comments on commit b78d6fe

Please sign in to comment.