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

Global variables not visible in child scenarios when using file-as-scope #957

Open
leni-msft opened this issue Feb 6, 2023 · 0 comments
Assignees

Comments

@leni-msft
Copy link
Contributor

leni-msft commented Feb 6, 2023

Scenario file:

https://github.com/leni-msft/azure-rest-api-specs/blob/869ebd6dabfb16ef9ccdb7858b810c232e0f4996/specification/mediaservices/resource-manager/Microsoft.Media/Encoding/stable/2022-07-01/scenarios/EncodingTests.yaml

Error:

EncodingTests

❏ EncodingTests
↳ Transforms_CreateOrUpdate
POST https://login.microsoftonline.com/72f988bf-86f1-41af-91ab-2d7cd011db47/oauth2/v2.0/token [200 OK, 2.13kB, 423ms]
PUT https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaServices/contosomedia/transforms/transforazmc6u?api-version=2022-07-01 [404 Not Found, 658B, 91ms]

{"error":{"code":"SubscriptionNotFound","message":"The subscription '00000000-0000-0000-0000-000000000000' could not be found."}}

  1. response status code assertion.

↳ Transforms_List
GET https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosoresources/providers/Microsoft.Media/mediaServices/contosomedia/transforms?api-version=2022-07-01 [404 Not Found, 658B, 111ms]

{"error":{"code":"SubscriptionNotFound","message":"The subscription '00000000-0000-0000-0000-000000000000' could not be found."}}

2. response status code assertion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants