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 2021/10/08 19:17:57 UTC

[GitHub] [trafficcontrol] dpham692 commented on a change in pull request #6244: Migrate Tenant test from TP E2E to TP integration test

dpham692 commented on a change in pull request #6244:
URL: https://github.com/apache/trafficcontrol/pull/6244#discussion_r725248112



##########
File path: traffic_portal/test/integration/PageObjects/TenantsPage.po.ts
##########
@@ -17,83 +17,77 @@
  * under the License.
  */
 import { by, element } from 'protractor';
-
 import { randomize } from '../config';
 import { BasePage } from './BasePage.po';
-import {SideNavigationPage} from './SideNavigationPage.po';
+import { SideNavigationPage } from './SideNavigationPage.po';
 
 interface Tenant {
   ParentTenant: string;
   Name: string;
   Active: string;
-  existsMessage?: string;
   validationMessage?: string;
 }
+interface DeleteTenant {
+  Name: string;
+  validationMessage: string;
+}
+interface UpdateTenant {
+  Active: string;
+  validationMessage: string;
+}
 
 export class TenantsPage extends BasePage {
 
-    private btnCreateNewTenant = element(by.xpath("//button[@title='Create New Tenant']"));
-    private txtName = element(by.name('name'));
-    private txtActive = element(by.name('active'));

Review comment:
       Fixed identation.




-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@trafficcontrol.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org