Skip to content

As a QA engineer, I want that the update check mechanism is automatically tested for BackWPUp #334

@MathieuLamiot

Description

@MathieuLamiot

Context

BackWPUp 5.6.2 PRO introduced a regression on the update system of WP plugins: no updates were possible anymore because the website was failing to get the new updates available.
We currently don't check that the version we are about to release will be able to update to a newer version. This is critical for BackWPUp.

Expected behavior

Add an E2E test that:

  • Mocks the API response from backwpup.com and fakes that there is an update available (with a code snippet?)
  • Deletes the transient related to update checks on WP.
  • Reload an admin page: this will trigger the update check.
  • Validates that a backwpup update is available.

Add an E2E test that:

  • Mocks the API response from backwpup.com and fakes that there is no updates available (with a code snippet?)
  • Deletes the transient related to update checks on WP.
  • Reload an admin page: this will trigger the update check.
  • Validates that no backwpup update is available.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions