diff --git a/features/landscape.feature b/features/landscape.feature index 7c6bd1ef14..f099dd0f22 100644 --- a/features/landscape.feature +++ b/features/landscape.feature @@ -332,3 +332,20 @@ Feature: Enable landscape on Ubuntu Examples: ubuntu release | release | machine_type | | jammy | lxd-container | + + Scenario Outline: Landscape inapplicable on unsupported release + Given a `` `` machine with ubuntu-advantage-tools installed + When I attach `contract_token` with sudo and options `--no-auto-enable` + When I verify that running `pro enable landscape` `with sudo` exits `1` + Then I will see the following on stdout: + """ + One moment, checking your subscription first + Landscape cannot be enabled via Pro Client on Ubuntu 22.04 and earlier. + Please manually install Landscape: https://ubuntu.com/landscape/install + Could not enable Landscape. + """ + + Examples: ubuntu release + | release | machine_type | + | xenial | lxd-container | + | jammy | lxd-container |