Skip to content

Commit

Permalink
rearrange feature file
Browse files Browse the repository at this point in the history
  • Loading branch information
S-Panta committed Sep 11, 2024
1 parent 5800433 commit 921dd49
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
10 changes: 5 additions & 5 deletions tests/e2e/cucumber/features/journeys/kindergarten.feature
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,6 @@ Feature: Kindergarten can use web to organize a day
| groups/Kindergarten Koalas/meal plan | sales | group | Can edit | folder |
| groups/Teddy Bear Daycare/meal plan/data.zip | Carol | user | Can edit | file |
# Then what do we check for to be confident that the above things done by Alice have worked?
When "Brian" logs in
And "Brian" navigates to the shared with me page
And "Brian" downloads the following resources using the sidebar panel
| resource | from | type |
| data.zip | meal plan | file |
# Then what do we check for to be confident that the above things done by Brian have worked?
# Then the downloaded zip should contain... ?
When "Carol" logs in
Expand All @@ -79,6 +74,11 @@ Feature: Kindergarten can use web to organize a day
# Then what do we check for to be confident that the above things done by Carol have worked?
# Then the downloaded files should have content "abc..."
And "Carol" logs out
When "Brian" logs in
And "Brian" navigates to the shared with me page
And "Brian" downloads the following resources using the sidebar panel
| resource | from | type |
| data.zip | meal plan | file |
When "Brian" downloads the following resources using the sidebar panel
| resource | from | type |
| lorem.txt | meal plan | file |
Expand Down
1 change: 0 additions & 1 deletion tests/e2e/support/objects/app-files/utils/sidebar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ const openForResource = async ({
resource: string
}): Promise<void> => {
await page.locator(util.format(contextMenuSelector, resource)).click()
await page.locator('.oc-files-actions-show-details-trigger').waitFor()
await page.locator('.oc-files-actions-show-details-trigger').click()
}

Expand Down

0 comments on commit 921dd49

Please sign in to comment.