summaryrefslogtreecommitdiff
path: root/spec/frontend/clusters/components/application_row_spec.js
diff options
context:
space:
mode:
Diffstat (limited to 'spec/frontend/clusters/components/application_row_spec.js')
-rw-r--r--spec/frontend/clusters/components/application_row_spec.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/frontend/clusters/components/application_row_spec.js b/spec/frontend/clusters/components/application_row_spec.js
index eff3493d7bd..6bad1db542b 100644
--- a/spec/frontend/clusters/components/application_row_spec.js
+++ b/spec/frontend/clusters/components/application_row_spec.js
@@ -89,6 +89,12 @@ describe('Application Row', () => {
checkButtonState('Install', false, true);
});
+ it('has disabled "Externally installed" when APPLICATION_STATUS.EXTERNALLY_INSTALLED', () => {
+ mountComponent({ status: APPLICATION_STATUS.EXTERNALLY_INSTALLED });
+
+ checkButtonState('Externally installed', false, true);
+ });
+
it('has disabled "Installed" when application is installed and not uninstallable', () => {
mountComponent({
status: APPLICATION_STATUS.INSTALLED,