Skip to content

Unable to pull synthetic tests to to invalid type - edge.laptop_large #509

@inverse

Description

@inverse

Describe the bug

Getting the following error:

Invalid value for `value` (edge.laptop_large), must be one of ['laptop_large', 'tablet', 'mobile_small', 'chrome.laptop_large', 'chrome.tablet', 'chrome.mobile_small', 'firefox.laptop_large', 'firefox.tablet', 'firefox.mobile_small']

It looks like the recent addition of edge broke clients due to the strict validity.

To Reproduce

Set up synthetic browser test with one of the edge types selected. And then call list_tests() on the API instance.

api_instance = synthetics_api.SyntheticsApi(api_client)
res = api_instance.list_tests()

Expected behavior

All synthetic tests are listed, including ones with edge.

Screenshots

image

Environment and Versions (please complete the following information):

Python 3.9 with both 1.1.0 API client or master

Additional context

Looks to be related to this validation

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions