-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #879 from necyberteam/md-dev
Md dev
- Loading branch information
Showing
62 changed files
with
6,246 additions
and
359 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
tests/behat/features/asp/asp-ci-links/ci-links-submission-process.feature
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
@asp | ||
@api | ||
@javascript | ||
|
||
Feature: test ci-link submission page as an administrator user | ||
In order to test the ci-links submission page as an administrator user | ||
|
||
Scenario: Administrator user Test ci links submission page | ||
Given I am logged in as a user with the "administrator" role | ||
When I go to "/admin/structure/webform/manage/resource/results/submissions" | ||
Then I should see "Cybersecurity Resource Center" | ||
Then I should see "#" | ||
Then I should see "Title" | ||
Then I should see "Approved" | ||
Then I should see "Category" | ||
Then I should see "User" | ||
Then I should see "Created" | ||
Then I should see "Changed" | ||
Then I should see "Link to CI link" | ||
Then I should see "Operations" | ||
When I click "Cybersecurity Resource Center" | ||
Then I should be on "/admin/structure/webform/manage/resource/submission/1" | ||
When I click "Edit" | ||
Then I should be on "/admin/structure/webform/manage/resource/submission/1/edit" | ||
When I check "Approved" | ||
When I wait 3 seconds | ||
#op is the Save button | ||
When I press "op" | ||
And I wait 5 seconds | ||
Then I should see "Submission updated in CI Link." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.