You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2019/11/22 16:43:28 UTC

[GitHub] [trafficcontrol] mitchell852 commented on a change in pull request #4135: limit the ability to clone ds assignments to edges with 1+ ds's assigned

mitchell852 commented on a change in pull request #4135: limit the ability to clone ds assignments to edges with 1+ ds's assigned
URL: https://github.com/apache/trafficcontrol/pull/4135#discussion_r349690816
 
 

 ##########
 File path: traffic_portal/test/end_to_end/servers/servers-spec.js
 ##########
 @@ -117,6 +117,20 @@ describe('Traffic Portal Servers Test Suite', function() {
 		});
 	});
 
+	it('should navigate back to the new server and view the delivery services assigned to the server', function() {
+		console.log('Managing the delivery services of ' + mockVals.hostName);
+		browser.navigate().back();
+		pageData.moreBtn.click();
+		pageData.viewDeliveryServicesMenuItem.click();
+		expect(browser.getCurrentUrl().then(commonFunctions.urlPath)).toMatch(commonFunctions.urlPath(browser.baseUrl)+"#!/servers/[0-9]+/delivery-services");
+	});
+
+	it('should ensure you cannot clone delivery service assignments because there are no delivery services assigned to the server', function() {
+		console.log('Ensure you cannot clone delivery service assignments for ' + mockVals.hostName);
+		pageData.moreBtn.click();
+		expect(element(by.css('clone-ds-assignments')).isPresent()).toEqual(false);
 
 Review comment:
   hmm. i guess i did screw that up. no wonder it passed. :)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services