metadata:
    name: lmp-device-register
    format: "Manual Test Definition 1.0"
    description: "Simple device register test"
    maintainer:
        - brendan.wood@foundries.io
    os:
        - ubuntu
        - openembedded
    scope:
        - functional
    devices:
        - imx6mm-evk
        - imx8mm-evk
        - imx8mm-evk-sec
        - imx8mp-evk
        - imx8mq-evk
        - bcm2711-rpi-4-b
        - stm32mp32mp157c-dk2
    environment:
        - manual-test

run:
    steps:
        - Boot up the device
        - Ensure the device is not currently registered to a factory
        - Run "lmp-device-register -n <name>"
        - Authenticate device with user code in browser

    expected:
        - Device should register normally
        - No kernal crashes
