Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add integration test gherkin story for automatic device provisioning #8350

Closed
rtibbles opened this issue Aug 25, 2021 · 1 comment
Closed
Assignees
Labels
gherkin update An issue that only requires updating Gherkin stories for a feature

Comments

@rtibbles
Copy link
Member

#8198 added automatic device provisioning.

When a JSON file is present at the file location determined by the option Paths -> AUTOMATIC_PROVISION_FILE.

The JSON file should have the format:

    {
        "facility_name": "My Facility",
        "preset": "formal",
        "facility_settings": {
            "learner_can_edit_username": true,
            "learner_can_edit_name": true,
            "learner_can_edit_password": true,
            "learner_can_sign_up": true,
            "learner_can_delete_account": true,
            "learner_can_login_with_no_password": true,
            "show_download_button_in_learn": true
        },
        "device_settings": {
            "language_id": "en",
            "landing_page": "learn",
            "allow_guest_access": true,
            "allow_peer_unlisted_channel_import": true,
            "allow_learner_unassigned_resource_access": true,
            "name": "My Device",
            "allow_other_browsers_to_connect": true
        },
        "superuser": {
            "username": "superuser",
            "password": "password"
        }
    }

And this should then provision the device in the same way that the setup wizard would.

@rtibbles rtibbles added the gherkin update An issue that only requires updating Gherkin stories for a feature label Aug 25, 2021
@rtibbles rtibbles added this to the upcoming major milestone Jul 28, 2022
@radinamatic
Copy link
Member

Closing as fixed in #9587

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gherkin update An issue that only requires updating Gherkin stories for a feature
Projects
None yet
Development

No branches or pull requests

2 participants