Skip to content

Commit 5cd243d

Browse files
Blake JohnsonBrenna Hewer-Darroch
Blake Johnson
authored and
Brenna Hewer-Darroch
committed
Remove outdated test
Signed-off-by: Blake Johnson <bstier@chef.io>
1 parent 691e307 commit 5cd243d

File tree

1 file changed

+0
-35
lines changed

1 file changed

+0
-35
lines changed

components/automate-ui/e2e/admin.e2e-spec.ts

-35
Original file line numberDiff line numberDiff line change
@@ -1666,39 +1666,4 @@ describe('Admin pages', () => {
16661666
expect(createButton.getAttribute('disabled')).toBe('true');
16671667
});
16681668
});
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-
});
17041669
});

0 commit comments

Comments
 (0)