Browse Source

test(acceptance): Fix test to click correct tabs (#8464)

Billy Vong 6 years ago
parent
commit
0272c13d81
1 changed files with 2 additions and 2 deletions
  1. 2 2
      tests/acceptance/test_teams_list.py

+ 2 - 2
tests/acceptance/test_teams_list.py

@@ -42,11 +42,11 @@ class TeamsListTest(AcceptanceTestCase):
         self.browser.snapshot('organization team - members list')
 
         # Click projects tab
-        self.browser.click('.nav-tabs li:nth-child(1) a')
+        self.browser.click('.nav-tabs li:nth-child(2) a')
         self.browser.wait_until_not('.loading-indicator')
         self.browser.snapshot('organization team - projects list')
 
         # Click projects tab
-        self.browser.click('.nav-tabs li:nth-child(2) a')
+        self.browser.click('.nav-tabs li:nth-child(3) a')
         self.browser.wait_until_not('.loading-indicator')
         self.browser.snapshot('organization team - settings')