Skip to content
Snippets Groups Projects
Commit 9e0de5fa authored by Baghmar Tarun's avatar Baghmar Tarun Committed by Frederic Danis
Browse files

T6600:Manual test case for flatpak mildenhall helloworld-app review incorporated

1. sdk-flatpak-build-helloworld-app.yaml: building the app by using mildenhall runtime.
2. sdk-flatpak-helloworld-app.yaml: running the helloworld-app present in the server.

Signed-off-by: default avatarTarun Baghmar <Tarun.Baghmar@in.bosch.com>
parent 8ea0915d
No related branches found
No related tags found
No related merge requests found
metadata:
name: sdk-flatpak-build-helloworld-app
format: "Apertis Test Definition 1.0"
image-types:
sdk: [ amd64 ]
image-deployment:
- APT
type: functional
exec-type: manual
priority: medium
maintainer: "Apertis Project"
description: "Install mildenhall runtime, build helloworld-app using mildenhall runtime
and run the helloworld-app."
macro_install_packages_preconditions: flatpak-builder
pre-conditions:
- "Please uninstall the org.apertis.mildenhall.helloworld-app if already installed."
- $ flatpak uninstall org.apertis.mildenhall.helloworld-app
expected:
- "Hello world app window should be visible"
run:
steps:
- "Clone the helloworld-app"
- $ git clone https://gitlab.apertis.org/sample-applications/helloworld-app.git
- "Add remote for mildenall runtime:"
- $ flatpak --user remote-add --if-not-exists --no-gpg-verify apertis-mildenhall https://images.apertis.org/flatpak/mildenhall
- "Install the org.apertis.mildenhall.Platform org.apertis.mildenhall.Sdk "
- $ flatpak install -y org.apertis.mildenhall.Platform org.apertis.mildenhall.Sdk
- "Wait for installation to be completed"
- "Switch inside the helloworld-app directory"
- $ cd helloworld-app
- "Build the helloworld-app using mildenhall runtime"
- $ flatpak-builder --repo=repo --force-clean build-dir flatpak-recipe.yaml
- "Add remote for helloworld-app"
- $ flatpak --if-not-exists --user remote-add --no-gpg-verify hello-worldapp repo/
- "Install the helloworld app"
- $ flatpak install -y hello-worldapp org.apertis.mildenhall.helloworld-app
- "Now run the helloworld app"
- $ flatpak run org.apertis.mildenhall.helloworld-app
metadata:
name: sdk-flatpak-helloworld-app
format: "Apertis Test Definition 1.0"
image-types:
sdk: [ amd64 ]
image-deployment:
- APT
type: functional
exec-type: manual
priority: medium
maintainer: "Apertis Project"
description: "Install helloworld-app from the flatpak repo."
pre-conditions:
- "Please uninstall the org.apertis.mildenhall.helloworld-app if already installed."
- $ flatpak uninstall org.apertis.mildenhall.helloworld-app
expected:
- "Hello world app window should be visible"
run:
steps:
- $ flatpak --user remote-add --if-not-exists --no-gpg-verify apertis-mildenhall https://images.apertis.org/flatpak/mildenhall
- "Install the org.apertis.mildenhall.helloworld-app"
- $ flatpak install -y apertis-mildenhall org.apertis.mildenhall.helloworld-app
- "Wait for installation to be completed."
- "Now run the helloworld app"
- $ flatpak run org.apertis.mildenhall.helloworld-app
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment