[Git][noosfero/noosfero][master] selenium: fix manage_users and follow_profile features
Rodrigo Souto
gitlab at mg.gitlab.com
Mon Jun 11 17:05:34 BRT 2018
Rodrigo Souto pushed to branch master at Noosfero / noosfero
Commits:
d43ddb49 by Rodrigo Souto at 2018-06-11T19:41:58Z
selenium: fix manage_users and follow_profile features
- - - - -
2 changed files:
- features/follow_profile.feature
- features/manage_users.feature
Changes:
=====================================
features/follow_profile.feature
=====================================
--- a/features/follow_profile.feature
+++ b/features/follow_profile.feature
@@ -23,7 +23,6 @@ Feature: follow profile
And I follow "Follow"
And I check "Work"
And I follow "Follow"
- And I wait for 3 seconds
Then I should see "You are now following Nights Watch"
@selenium
=====================================
features/manage_users.feature
=====================================
--- a/features/manage_users.feature
+++ b/features/manage_users.feature
@@ -15,7 +15,7 @@ Background:
Scenario: deactive user
Given I follow "Deactivate user" within "tr[title='Joao Silva']"
When I confirm the browser dialog
- Then the field "tr[title='Joao Silva'] td.actions a.icon-activate-user" should be enabled
+ Then the field "tr[title='Joao Silva'] td.actions a[title='Activate user']" should be enabled
@selenium
Scenario: activate user
@@ -23,7 +23,7 @@ Background:
And I confirm the browser dialog
And I follow "Activate user" within "tr[title='Paulo Santos']"
When I confirm the browser dialog
- Then the field "tr[title='Paulo Santos'] td.actions a.icon-deactivate-user" should be enabled
+ Then the field "tr[title='Paulo Santos'] td.actions a[title='Deactivate user']" should be enabled
@selenium
Scenario: remove user
@@ -36,7 +36,7 @@ Background:
Scenario: admin user
Given I follow "Set admin role" within "tr[title='Joao Silva']"
When I confirm the browser dialog
- Then the field "tr[title='Joao Silva'] td.actions a.icon-reset-admin-role" should be enabled
+ Then the field "tr[title='Joao Silva'] td.actions a[title='Reset admin role']" should be enabled
@selenium
Scenario: unadmin user
@@ -44,4 +44,4 @@ Background:
And I confirm the browser dialog
And I follow "Reset admin role" within "tr[title='Paulo Santos']"
When I confirm the browser dialog
- Then the field "tr[title='Paulo Santos'] td.actions a.icon-set-admin-role" should be enabled
+ Then the field "tr[title='Paulo Santos'] td.actions a[title='Set admin role']" should be enabled
View it on GitLab: https://gitlab.com/noosfero/noosfero/commit/d43ddb492b6becfb881d13049dced08852dad774
--
View it on GitLab: https://gitlab.com/noosfero/noosfero/commit/d43ddb492b6becfb881d13049dced08852dad774
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20180611/13e52241/attachment-0001.html>
More information about the Noosfero-dev
mailing list