Commit 19256304 authored by Robert Lyon's avatar Robert Lyon Committed by Cecilia Vela Gurovic

Bug 1880771: Closing the 'add group membership' modal on saving

Fixing up the css selector in the js

Change-Id: I2efa1d69e06694cd3eb09ad17d40e835077c7d9e
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
(cherry picked from commit 74704ecc)
(cherry picked from commit b5b818c8)
parent 20452b45
......@@ -82,7 +82,7 @@ jQuery(function($) {
'initialgroups': initialgroups[addtype].join(',')
}, 'POST',
function() {
$('.modal.in').modal('hide');
$('.modal.show').modal('hide');
});
}
});
......
......@@ -117,6 +117,7 @@ Scenario: Editing Education and Employment info
And I click on "addemploymenthistory_submit"
Then I should see "Saved successfully"
And I click on "Move down" in "Test Analyst" row
And I wait "1" seconds
And I click on "Move up" in "Test Analyst" row
# delete employment and education history (Bug 1755669)
And I scroll to the base of id "employmenthistorylist"
......@@ -180,6 +181,7 @@ Scenario: Adding Achievements
And I scroll to the id "main-nav"
And I should see "Saved successfully"
And I click on "Move down" in "Scrum Master Certification" row
And I wait "1" seconds
And I click on "Move up" in "Scrum Master Certification" row
And I scroll to the base of id "addbookbutton"
......@@ -207,6 +209,7 @@ Scenario: Adding Achievements
And I scroll to the id "main-nav"
And I should see "Saved successfully"
And I click on "Move down" in "Measurement of the neutron beta decay asymmetry using machine learning" row
And I wait "1" seconds
And I click on "Move up" in "Measurement of the neutron beta decay asymmetry using machine learning" row
# Adding Professional memberships
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment