-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Flaky Jetpack E2E: revise
Advertising: Promote
spec to use the firs…
…t post and to not create posts unnecessarily. (#81563) * packages/calypso-e2e/src/rest-api-client.ts - implement new method to see if there are posts on the site. test/e2e/specs/tools/advertising__promote.ts - stop creating new post unnecessarily * packages/calypso-e2e/src/rest-api-client.ts - remove unnecessary ternary packages/calypso-e2e/src/types/rest-api-client.types.ts - add new type to type check the response from PostCounts endpoint.
- Loading branch information
1 parent
4d8d10c
commit eb0925a
Showing
3 changed files
with
67 additions
and
42 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
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