-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
E2E Tests: Tweak Comments block tests after migrating to Playwright (#…
…42406) * Update createComment util * Return a number in publishPost * Use role locators in comments * Move `deleteAllComments` inside `afterEach` * Switch from text to role selector in `publishPost` * Use current user by default inside `createComment` * Remove `getCurrentUser` util * Make role selectors case-insensitive * Move `setOption` util to comments spec * Remove optional chaining operator * Type response when creating a new comment * Create a fixture for `setOption` function * Improve types for `createComment` * Change some variable names
- Loading branch information
Showing
7 changed files
with
108 additions
and
78 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
14 changes: 0 additions & 14 deletions
14
packages/e2e-test-utils-playwright/src/admin/set-option.ts
This file was deleted.
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
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
18 changes: 0 additions & 18 deletions
18
packages/e2e-test-utils-playwright/src/request-utils/user.ts
This file was deleted.
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