diff --git a/instruqt-tracks/subsystems-container-internals-lab-2-0-part-2/02-join-red-hat-developer-portal/assignment.md b/instruqt-tracks/subsystems-container-internals-lab-2-0-part-2/02-join-red-hat-developer-portal/assignment.md new file mode 100644 index 00000000..3272f14b --- /dev/null +++ b/instruqt-tracks/subsystems-container-internals-lab-2-0-part-2/02-join-red-hat-developer-portal/assignment.md @@ -0,0 +1,17 @@ +--- +slug: join-red-hat-developer-portal +id: m7xwc8xifwax +type: challenge +title: Join Red Hat Developer at no cost +teaser: Join Red Hat Developer at no cost +tabs: +- title: Red Hat Login + type: browser + hostname: rhd-login-3882346 +difficulty: "" +--- +Before you proceed with the next challenge, please take a moment to register for Red Hat Developer. If you already have a Red Hat account, you can use the same login credentials. + +This will help us assess user satisfaction and enable us to provide more curated content. + +Click on the `Check` button at the bottom once you have registered or logged in. diff --git a/instruqt-tracks/subsystems-container-internals-lab-2-0-part-2/02-join-red-hat-developer-portal/check-rhd-login-3882346 b/instruqt-tracks/subsystems-container-internals-lab-2-0-part-2/02-join-red-hat-developer-portal/check-rhd-login-3882346 new file mode 100644 index 00000000..53051468 --- /dev/null +++ b/instruqt-tracks/subsystems-container-internals-lab-2-0-part-2/02-join-red-hat-developer-portal/check-rhd-login-3882346 @@ -0,0 +1,41 @@ +#!/bin/bash +set -euxo pipefail +echo 'logincheck' +if [ "${LOGGEDIN-0}" = "1" ]; then + echo 'loggedin' + exit 0 +fi + +rm -f /home/user/checkResult.json +rm -f /home/user/checkAssets.json +rm -f /home/user/checkError.txt + + +echo 'dropdown check' +echo '{"location":{"conditions":[{"url":"redhat.com","condition":"contains"}]},"innerText":[{"selector":"html \u003e body","value":"Please click on Check button in the bottom right of your screen to continue with the Lab."}]}' > /home/user/checkAssets.json +until [ -f /home/user/checkResult.json ]; do + sleep 1 +done +if grep "SUCCESS" /home/user/checkResult.json; then + echo 'account dropdown' + exit 0 +fi + + +rm -f /home/user/checkResult.json +rm -f /home/user/checkAssets.json +rm -f /home/user/checkError.txt + + +echo 'email check' +echo '{"location":{"conditions":[]},"innerText":[{"selector":"html \u003e body","value":"Email address verification"}]}' > /home/user/checkAssets.json +until [ -f /home/user/checkResult.json ]; do + sleep 1 +done +cat /home/user/checkResult.json +if grep "SUCCESS" /home/user/checkResult.json; then + echo 'email validation' + exit 0 +fi +fail-message "Please login and click 'Check' button." +exit 1 \ No newline at end of file diff --git a/instruqt-tracks/subsystems-container-internals-lab-2-0-part-2/02-02-image-urls/assignment.md b/instruqt-tracks/subsystems-container-internals-lab-2-0-part-2/03-02-image-urls/assignment.md old mode 100755 new mode 100644 similarity index 100% rename from instruqt-tracks/subsystems-container-internals-lab-2-0-part-2/02-02-image-urls/assignment.md rename to instruqt-tracks/subsystems-container-internals-lab-2-0-part-2/03-02-image-urls/assignment.md diff --git a/instruqt-tracks/subsystems-container-internals-lab-2-0-part-2/03-03-image-internals/assignment.md b/instruqt-tracks/subsystems-container-internals-lab-2-0-part-2/04-03-image-internals/assignment.md old mode 100755 new mode 100644 similarity index 100% rename from instruqt-tracks/subsystems-container-internals-lab-2-0-part-2/03-03-image-internals/assignment.md rename to instruqt-tracks/subsystems-container-internals-lab-2-0-part-2/04-03-image-internals/assignment.md diff --git a/instruqt-tracks/subsystems-container-internals-lab-2-0-part-2/track.yml b/instruqt-tracks/subsystems-container-internals-lab-2-0-part-2/track.yml index 5f6e5f62..8c6aa6ff 100755 --- a/instruqt-tracks/subsystems-container-internals-lab-2-0-part-2/track.yml +++ b/instruqt-tracks/subsystems-container-internals-lab-2-0-part-2/track.yml @@ -38,4 +38,6 @@ lab_config: overlay: false width: 25 position: right -checksum: "17464069399411855015" + feedback_recap_enabled: true + loadingMessages: true +checksum: "4321324298113920236"