Azure / Azure/oav

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

Open
#957 0 comments 0 reactions 1 assignee Assigned to @konrad-jamrozik View on GitHub
api scenario
Dominant language
TypeScript
Stars
104
Forks
62
Avg merge
2d 12h
Merged PRs (30d)
5

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.