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

[wrangler] test: fix E2E tests #4907

Merged
merged 24 commits into from
Feb 6, 2024
Merged

[wrangler] test: fix E2E tests #4907

merged 24 commits into from
Feb 6, 2024

Commits on Feb 2, 2024

  1. ci: ensure E2E tests failures not reported as successes

    #4458 accidentally left `continue-on-error: true` in the workflow.
    This meant that E2E test failures weren't reported as check failures.
    mrbbot committed Feb 2, 2024
    Configuration menu
    Copy the full SHA
    a4215e9 View commit details
    Browse the repository at this point in the history
  2. test: remove redundant deploy.test.ts E2E test

    This test was a strict subset of `deployments.test.ts`, and wasn't
    providing any additional value.
    mrbbot committed Feb 2, 2024
    Configuration menu
    Copy the full SHA
    f532eb8 View commit details
    Browse the repository at this point in the history
  3. test: remove standard pricing warning from E2E test output

    This warning may not be shown if an account has opted-in to standard
    pricing. This change normalises output to remove it, meaning tests
    can be run on any account, regardless of opt-in state.
    mrbbot committed Feb 2, 2024
    Configuration menu
    Copy the full SHA
    2283d81 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c6e3dde View commit details
    Browse the repository at this point in the history
  5. test: use fallback instead of default in E2E tests

    #4571 updated the message logged in non-interactive contexts for
    default values to use the word `fallback` instead of `default`.
    mrbbot committed Feb 2, 2024
    Configuration menu
    Copy the full SHA
    9de08d7 View commit details
    Browse the repository at this point in the history
  6. fix: ensure --log-level argument applied immediately

    Some messages were being logged before the `--log-level` argument was
    applied. In particular, this meant the "writing logs to" message at
    `debug` level, was not output when using `--log-level=debug`.
    mrbbot committed Feb 2, 2024
    Configuration menu
    Copy the full SHA
    970d659 View commit details
    Browse the repository at this point in the history
  7. test: improve reliability of dev.test.ts E2E test

    This change makes a few improvements to `dev.test.ts`:
    
    - Shorter timeouts for `fetch()` retries
    - Replaces `get-port` with native port `0` implementation
    - Waits for stdout handlers to be registered before starting
      `wrangler dev`
    - Ignores errors if we failed to find a proccess to kill
      (assumes the process was already killed)
    mrbbot committed Feb 2, 2024
    Configuration menu
    Copy the full SHA
    bc423c9 View commit details
    Browse the repository at this point in the history
  8. fix: throw UserErrors for R2 object/bucket not-found errors

    These errors should not be reported to Sentry.
    mrbbot committed Feb 2, 2024
    Configuration menu
    Copy the full SHA
    bef4ac4 View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2024

  1. global install

    penalosa committed Feb 5, 2024
    Configuration menu
    Copy the full SHA
    47f1f0c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6fae44d View commit details
    Browse the repository at this point in the history
  3. shorter timeouts

    penalosa committed Feb 5, 2024
    Configuration menu
    Copy the full SHA
    57480ea View commit details
    Browse the repository at this point in the history
  4. lock

    penalosa committed Feb 5, 2024
    Configuration menu
    Copy the full SHA
    d9a3654 View commit details
    Browse the repository at this point in the history
  5. lockfile

    penalosa committed Feb 5, 2024
    Configuration menu
    Copy the full SHA
    f6e8616 View commit details
    Browse the repository at this point in the history
  6. [squash] r2

    penalosa committed Feb 5, 2024
    Configuration menu
    Copy the full SHA
    00eaa3f View commit details
    Browse the repository at this point in the history
  7. [squash] r2 logging

    penalosa committed Feb 5, 2024
    Configuration menu
    Copy the full SHA
    e8bb9b3 View commit details
    Browse the repository at this point in the history
  8. ls

    penalosa committed Feb 5, 2024
    Configuration menu
    Copy the full SHA
    92c88f6 View commit details
    Browse the repository at this point in the history
  9. windows

    penalosa committed Feb 5, 2024
    Configuration menu
    Copy the full SHA
    1164b08 View commit details
    Browse the repository at this point in the history
  10. all tests

    penalosa committed Feb 5, 2024
    Configuration menu
    Copy the full SHA
    81b9762 View commit details
    Browse the repository at this point in the history
  11. dev

    penalosa committed Feb 5, 2024
    Configuration menu
    Copy the full SHA
    d2390dc View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2024

  1. only

    penalosa committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    63ab5e5 View commit details
    Browse the repository at this point in the history
  2. devalue

    penalosa committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    0a22759 View commit details
    Browse the repository at this point in the history
  3. log

    penalosa committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    cc604b0 View commit details
    Browse the repository at this point in the history
  4. logging

    penalosa committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    ce4a7f8 View commit details
    Browse the repository at this point in the history
  5. Cleanup

    penalosa committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    98e1bd5 View commit details
    Browse the repository at this point in the history