Skip to content
New issue

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

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

Already on GitHub? # to your account

EZP-31650: Temporarily disable Trash test cases #1418

Merged
merged 1 commit into from
Jul 1, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ matrix:
- name: "Admin-UI tests on Clean P"
env:
- COMPOSE_FILE="doc/docker/base-dev.yml:doc/docker/selenium.yml"
- BEHAT_OPTS="--profile=adminui --suite=adminui"
- BEHAT_OPTS="--profile=adminui --suite=adminui --tags=~@broken"
- name: "Admin UI tests using different personas"
env:
- COMPOSE_FILE="doc/docker/base-dev.yml:doc/docker/selenium.yml"
Expand Down
6 changes: 3 additions & 3 deletions behat_suites.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ adminui:
paths:
- '%paths.base%/vendor/ezsystems/ezplatform-admin-ui/features/standard'
filters:
tags: "@common"
tags: "@common,~@broken"
contexts:
- EzSystems\Behat\API\Context\ContentTypeContext
- EzSystems\Behat\API\Context\ContentContext
Expand Down Expand Up @@ -42,7 +42,7 @@ adminui:
paths:
- '%paths.base%/vendor/ezsystems/ezplatform-admin-ui/features/standard/ContentTypeFields.feature'
filters:
tags: "@common"
tags: "@common,~@broken"
contexts:
- EzSystems\Behat\API\Context\ContentTypeContext
- EzSystems\Behat\API\Context\ContentContext
Expand All @@ -62,7 +62,7 @@ adminui:
- '%paths.base%/vendor/ezsystems/ezplatform-admin-ui/features/standard/ContentCreation.feature'
- '%paths.base%/vendor/ezsystems/ezplatform-admin-ui/features/standard/ContentDraft.feature'
filters:
tags: "@common"
tags: "@common,~@broken"
contexts:
- EzSystems\Behat\Browser\Context\BrowserContext
- EzSystems\Behat\Browser\Context\Hooks
Expand Down
12 changes: 6 additions & 6 deletions features/standard/Trash.feature
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Background:
Given I am logged as "admin"
And I go to "Content structure" in "Content" tab

@javascript
@javascript @common @broken
Scenario Outline: Content can be moved to trash
Given I start creating a new content "Folder"
And I set content fields
Expand All @@ -27,7 +27,7 @@ Scenario Outline: Content can be moved to trash
| Folder3 |
| Folder4 |

@javascript
@javascript @common @broken
Scenario: Element in trash can be deleted
Given I click on the left menu bar button "Trash"
And there is "Folder" "Folder1" on trash list
Expand All @@ -37,7 +37,7 @@ Scenario: Element in trash can be deleted
Then success notification that "Deleted selected item(s) from Trash." appears
And there is no "Folder" "Folder1" on trash list

@javascript
@javascript @common @broken
Scenario: Element in trash can be restored
Given I click on the left menu bar button "Trash"
And there is "Folder" "Folder2" on trash list
Expand All @@ -48,7 +48,7 @@ Scenario: Element in trash can be restored
And there is no "Folder" "Folder2" on trash list
And going to root path there is "Folder2" "Folder" on Sub-items list

@javascript
@javascript @common @broken
Scenario: Element in trash can be restored under new location
Given I click on the left menu bar button "Trash"
And there is "Folder" "Folder3" on trash list
Expand All @@ -59,7 +59,7 @@ Scenario: Element in trash can be restored under new location
And there is no "Folder" "Folder3" on trash list
And going to "Media/Files" there is a "Folder3" "Folder" on Sub-items list

@javascript @admin
@javascript @common @admin @broken
Scenario: Content can be moved to trash from non-root location
Given I create "Folder" Content items in "/Media/Files/" in "eng-GB"
| name | short_name |
Expand All @@ -69,7 +69,7 @@ Scenario: Content can be moved to trash from non-root location
Then there's no "Folder" "TestFolderToRemove" on "Files" Sub-items list
And going to trash there is "Folder" "TestFolderToRemove" on list

@javascript
@javascript @common @broken
Scenario: Trash can be emptied
Given I click on the left menu bar button "Trash"
When I empty the trash
Expand Down