Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

fix: stricter type of expect function #49

Merged
merged 1 commit into from
Dec 7, 2023

Conversation

uid11
Copy link
Collaborator

@uid11 uid11 commented Dec 5, 2023

Pull request type

Please check the type of change your PR introduces:

  • Bugfix
  • Feature
  • Refactoring (no functional changes, no api changes)
  • Documentation content changes
  • Other (please describe):

fix: stricter type of expect function.
fix: support usual promises in expect function.
feat: add field maxIntervalBetweenRequestsInMs ot abstract class Page.
feat: add examples of mapBackendResponseErrorToLog/mapBackendResponseToLog.
tests: more tests of types of selectors methods.
chore: update nodejs to current LTS (20.10.0).
chore: update alpine to 3.18.5.
fix: support new contributor in updateChangelog script.
refactor: move selectors code to utils/selectors.
refactor: remove utils/locators.
fix: use default cursor for empty expanded steps.
feat: add duration to backend response logs.
refactor: rename function it to test in initial autotests examples.
fix: print message and cause fields of E2edError in replaceFields.
fix: reject stuck assertion of expect by timeout.
tests: add separate tests for expect function.
feat: add type ResponseWithRequest to public API.
feat: use ResponseWithRequest for mapping backend responses to logs.
chore: update devDependencies (typescript, eslint, @types/node, etc).
chore: update npm lockfileVersion (package-lock.json) from 2 to 3.
chore: update github action and node version in ci.yaml.

@uid11 uid11 requested a review from Rodionxx December 5, 2023 06:56
@uid11 uid11 force-pushed the fix/stricter-type-of-expect-function branch 7 times, most recently from 4643348 to 6b489b8 Compare December 7, 2023 03:14
fix: support usual promises in `expect` function
feat: add field `maxIntervalBetweenRequestsInMs` ot abstract class `Page`
feat: add examples of `mapBackendResponseErrorToLog`/`mapBackendResponseToLog`
tests: more tests of types of selectors methods
chore: update nodejs to current LTS (20.10.0)
chore: update alpine to 3.18.5
fix: support new contributor in `updateChangelog` script
refactor: move selectors code to `utils/selectors`
refactor: remove `utils/locators`
fix: use default cursor for empty expanded steps
feat: add duration to backend response logs
refactor: rename function `it` to `test` in initial autotests examples
fix: print `message` and `cause` fields of `E2edError` in `replaceFields`
fix: reject stuck assertion of `expect` by timeout
tests: add separate tests for `expect` function
feat: add type `ResponseWithRequest` to public API
feat: use `ResponseWithRequest` for mapping backend responses to logs
chore: update devDependencies (typescript, eslint, @types/node, etc)
chore: update npm `lockfileVersion` (package-lock.json) from 2 to 3
chore: update github action and node version in ci.yaml
@uid11 uid11 force-pushed the fix/stricter-type-of-expect-function branch from 6b489b8 to d72142f Compare December 7, 2023 03:20
@uid11 uid11 merged commit 5bef95c into main Dec 7, 2023
5 checks passed
@uid11 uid11 deleted the fix/stricter-type-of-expect-function branch December 7, 2023 03:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant