forked from Sylius/Sylius
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
17 additions
and
0 deletions.
There are no files selected for viewing
16 changes: 16 additions & 0 deletions
16
features/taxonomy/managing_taxons/preventing_xss_attack_while_adding_a_new_taxon.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,16 @@ | ||
@managing_taxons | ||
Feature: Preventing a potential XSS attack while adding new taxon | ||
In order to keep my information safe | ||
As an Administrator | ||
I want to be protected against the potential XSS attacks | ||
|
||
Background: | ||
Given the store operates on a single channel in "United States" | ||
And the store has "Category" taxonomy | ||
And the store has "<script>alert('xss')</script>" taxonomy | ||
And I am logged in as an administrator | ||
|
||
@ui @javascript @no-api | ||
Scenario: Preventing a potential XSS attack while adding new taxon | ||
When I want to create a new taxon | ||
Then I should be able to change its parent taxon to "Category" |
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