Skip to content
This repository has been archived by the owner on Jul 27, 2022. It is now read-only.

Commit

Permalink
ISAICP-6675: Fix selenium test unpin collection/solution.
Browse files Browse the repository at this point in the history
  • Loading branch information
saidatom authored and claudiu-cristea committed Sep 20, 2021
1 parent 11e9425 commit 7304e05
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions tests/features/pin_in_collection.feature
Original file line number Diff line number Diff line change
Expand Up @@ -283,8 +283,9 @@ Feature: Pinning entities inside collections
Then the "Lantern terms" tile should be marked as pinned
And the "Lantern FAQs" tile should be marked as pinned

When I click the contextual link "Unpin" in the "Lantern FAQs" tile
Then the "Lantern FAQs" tile should not be marked as pinned
When I reload the page
Then I click the contextual link "Unpin" in the "Lantern FAQs" tile
And the "Lantern FAQs" tile should not be marked as pinned
And the "Lantern terms" tile should be marked as pinned

Examples:
Expand Down
3 changes: 2 additions & 1 deletion tests/features/pin_in_solution.feature
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,8 @@ Feature: Pinning content entities inside solutions
Then the "Lantern TCA" tile should be marked as pinned
And the "Lantern FAQ" tile should be marked as pinned

When I click the contextual link "Unpin" in the "Lantern FAQ" tile
When I reload the page
Then I click the contextual link "Unpin" in the "Lantern FAQ" tile
Then the "Lantern FAQ" tile should not be marked as pinned
And the "Lantern TCA" tile should be marked as pinned

Expand Down

0 comments on commit 7304e05

Please sign in to comment.