File tree 1 file changed +0
-35
lines changed
components/automate-ui/e2e
1 file changed +0
-35
lines changed Original file line number Diff line number Diff line change @@ -1666,39 +1666,4 @@ describe('Admin pages', () => {
1666
1666
expect ( createButton . getAttribute ( 'disabled' ) ) . toBe ( 'true' ) ;
1667
1667
} ) ;
1668
1668
} ) ;
1669
-
1670
- describe ( 'Project details (Chef-managed)' , ( ) => {
1671
- beforeEach ( ( ) => {
1672
- fakeServer ( )
1673
- . get ( '/apis/iam/v2beta/projects/default' )
1674
- . many ( )
1675
- . reply ( 200 , JSON . stringify (
1676
- {
1677
- project : {
1678
- id : 'default' ,
1679
- name : 'Default Project' ,
1680
- type : 'CHEF_MANAGED'
1681
- }
1682
- }
1683
- ) ) ;
1684
-
1685
- browser . waitForAngularEnabled ( false ) ;
1686
- browser . get ( '/settings/projects/default' ) ;
1687
- } ) ;
1688
-
1689
- describe ( 'Chef-managed project details' , ( ) => {
1690
- it ( 'the input is disabled, the save button is hidden, and the no changes allowed ' +
1691
- 'span is displayed' , ( ) => {
1692
- const detailsLink = $ ( '#chef-option2' ) ;
1693
- detailsLink . click ( ) ;
1694
- const projectSaveButton = $ ( 'app-project-details section #button-bar button' ) ;
1695
- const projectNameInput = $ ( 'app-project-details section form chef-form-field input' ) ;
1696
- const projectNoChangesSpan = $ ( 'app-project-details section form #changes-not-allowed' ) ;
1697
- expect ( projectSaveButton . isPresent ( ) ) . toBeFalsy ( ) ;
1698
- expect ( projectNameInput . getAttribute ( 'disabled' ) ) . toBeTruthy ( ) ;
1699
- expect ( projectNoChangesSpan . getText ( ) )
1700
- . toBe ( 'Name changes are not allowed for the default project.' ) ;
1701
- } ) ;
1702
- } ) ;
1703
- } ) ;
1704
1669
} ) ;
You can’t perform that action at this time.
0 commit comments