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

Add step to assert a field is not present #2421

Merged
merged 3 commits into from
Mar 11, 2024

Conversation

antonio-ramadas-dd
Copy link
Contributor

What does this PR do?

Add new step to assert on Cucumber that a field is missing. This allows us to be more comprehensive when writing tests.

Review checklist

Please check relevant items below:

  • This PR includes all newly recorded cassettes for any modified tests.

  • This PR does not rely on API client schema changes.

    • The CI should be fully passing.
  • Or, this PR relies on API schema changes and this is a Draft PR to include tests for that new functionality.

    • Note: CI shouldn't be run on this Draft PR, as its expected to fail without the corresponding schema changes.

@antonio-ramadas-dd antonio-ramadas-dd requested a review from a team as a code owner March 11, 2024 14:48
@skarimo skarimo added the changelog/no-changelog Changes don't appear in changelog label Mar 11, 2024
@antonio-ramadas-dd
Copy link
Contributor Author

/merge

@dd-devflow
Copy link

dd-devflow bot commented Mar 11, 2024

🚂 MergeQueue

Pull request added to the queue.

This build is going to start soon! (estimated merge in less than 0s)

Use /merge -c to cancel this operation!

@dd-devflow
Copy link

dd-devflow bot commented Mar 11, 2024

🚨 MergeQueue

Gitlab pipeline didn't start on its own and we were unable to create it... Please retry.

If you need support, contact us on Slack #ci-interfaces with those details!

@skarimo skarimo merged commit 6554c54 into master Mar 11, 2024
14 checks passed
@skarimo skarimo deleted the antonio.ramadas/add-step-definition branch March 11, 2024 19:09
github-actions bot pushed a commit that referenced this pull request Mar 11, 2024
* Add step to assert a field is not present

* Fix method naming

---------

Co-authored-by: skarimo <40482491+skarimo@users.noreply.github.com> 6554c54
mx-psi pushed a commit to open-telemetry/opentelemetry-collector-contrib that referenced this pull request Apr 9, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[github.com/DataDog/agent-payload/v5](https://github.com/DataDog/agent-payload)
| `v5.0.104` -> `v5.0.111` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fDataDog%2fagent-payload%2fv5/v5.0.111?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fDataDog%2fagent-payload%2fv5/v5.0.111?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fDataDog%2fagent-payload%2fv5/v5.0.104/v5.0.111?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fDataDog%2fagent-payload%2fv5/v5.0.104/v5.0.111?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[github.com/DataDog/datadog-api-client-go/v2](https://github.com/DataDog/datadog-api-client-go)
| `v2.22.0` -> `v2.24.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fDataDog%2fdatadog-api-client-go%2fv2/v2.24.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fDataDog%2fdatadog-api-client-go%2fv2/v2.24.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fDataDog%2fdatadog-api-client-go%2fv2/v2.22.0/v2.24.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fDataDog%2fdatadog-api-client-go%2fv2/v2.22.0/v2.24.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>DataDog/agent-payload
(github.com/DataDog/agent-payload/v5)</summary>

###
[`v5.0.111`](https://github.com/DataDog/agent-payload/releases/tag/v5.0.111):
[CWS] Udpate the CWS proto for the security profiles sliding window
purpose

[Compare
Source](https://github.com/DataDog/agent-payload/compare/v5.0.110...v5.0.111)

This new proto version update the security profile proto, deprecating
some fields and adding the version contexts

PR needed for the [related work on security profile sliding
window](https://github.com/DataDog/datadog-agent/pull/20506)

#### What's Changed

- \[CWS] Udpate the CWS proto for the security profiles sliding window
purpose by [@&#8203;spikat](https://github.com/spikat) in
[DataDog/agent-payload#292

#### New Contributors

- [@&#8203;spikat](https://github.com/spikat) made their first
contribution in
[DataDog/agent-payload#292

**Full Changelog**:
DataDog/agent-payload@v5.0.110...v5.0.111

###
[`v5.0.110`](https://github.com/DataDog/agent-payload/releases/tag/v5.0.110)

[Compare
Source](https://github.com/DataDog/agent-payload/compare/v5.0.109...v5.0.110)

#### What's Changed

- add TypeCollectorECSTask by
[@&#8203;kangyili](https://github.com/kangyili) in
[DataDog/agent-payload#296

**Full Changelog**:
DataDog/agent-payload@v5.0.109...v5.0.110

###
[`v5.0.109`](https://github.com/DataDog/agent-payload/releases/tag/v5.0.109)

[Compare
Source](https://github.com/DataDog/agent-payload/compare/v5.0.108...v5.0.109)

#### What's Changed

- cronjob status: add lastSuccessfultime by
[@&#8203;aureleoules](https://github.com/aureleoules) in
[DataDog/agent-payload#295

**Full Changelog**:
DataDog/agent-payload@v5.0.108...v5.0.109

###
[`v5.0.108`](https://github.com/DataDog/agent-payload/releases/tag/v5.0.108)

[Compare
Source](https://github.com/DataDog/agent-payload/compare/v5.0.107...v5.0.108)

#### What's Changed

- Add repo digest field to container payload by
[@&#8203;badovm](https://github.com/badovm) in
[DataDog/agent-payload#293
- ecs task lifecycle event by
[@&#8203;kangyili](https://github.com/kangyili) in
[DataDog/agent-payload#282
- add ecs task payload by
[@&#8203;kangyili](https://github.com/kangyili) in
[DataDog/agent-payload#281

#### New Contributors

- [@&#8203;badovm](https://github.com/badovm) made their first
contribution in
[DataDog/agent-payload#293

**Full Changelog**:
DataDog/agent-payload@v5.0.107...v5.0.108

###
[`v5.0.107`](https://github.com/DataDog/agent-payload/releases/tag/v5.0.107)

[Compare
Source](https://github.com/DataDog/agent-payload/compare/v5.0.106...v5.0.107)

**Full Changelog**:
DataDog/agent-payload@v5.0.106...v5.0.107

#### What's Changed

- Add repo digest field to container payload by
[@&#8203;badovm](https://github.com/badovm) in
[DataDog/agent-payload#293

#### New Contributors

- [@&#8203;badovm](https://github.com/badovm) made their first
contribution in
[DataDog/agent-payload#293

**Full Changelog**:
DataDog/agent-payload@v5.0.106...v5.0.107

###
[`v5.0.106`](https://github.com/DataDog/agent-payload/releases/tag/v5.0.106)

[Compare
Source](https://github.com/DataDog/agent-payload/compare/v5.0.105...v5.0.106)

#### What's Changed

- Add TRACE HTTP method to process payload by
[@&#8203;vitkyrka](https://github.com/vitkyrka) in
[DataDog/agent-payload#291

#### New Contributors

- [@&#8203;vitkyrka](https://github.com/vitkyrka) made their first
contribution in
[DataDog/agent-payload#291

**Full Changelog**:
DataDog/agent-payload@v5.0.105...v5.0.106

###
[`v5.0.105`](https://github.com/DataDog/agent-payload/releases/tag/v5.0.105)

[Compare
Source](https://github.com/DataDog/agent-payload/compare/v5.0.104...v5.0.105)

#### What's Changed

- Add NetworkPolicy protobuf definition by
[@&#8203;aureleoules](https://github.com/aureleoules) in
[DataDog/agent-payload#290

#### New Contributors

- [@&#8203;aureleoules](https://github.com/aureleoules) made their
first contribution in
[DataDog/agent-payload#290

**Full Changelog**:
DataDog/agent-payload@v5.0.104...v5.0.105

</details>

<details>
<summary>DataDog/datadog-api-client-go
(github.com/DataDog/datadog-api-client-go/v2)</summary>

###
[`v2.24.0`](https://github.com/DataDog/datadog-api-client-go/releases/tag/v2.24.0)

[Compare
Source](https://github.com/DataDog/datadog-api-client-go/compare/v2.23.0...v2.24.0)

<!-- Release notes generated using configuration in .github/release.yml
at v2.24.0 -->

##### What's Changed

##### Fixed

- Disable additionalProperties for Downtime Schedule UpdateRequest
oneOfs by
[@&#8203;api-clients-generation-pipeline](https://github.com/api-clients-generation-pipeline)
in
[DataDog/datadog-api-client-go#2390
- Fix ListServiceDefinitions pagination information by
[@&#8203;api-clients-generation-pipeline](https://github.com/api-clients-generation-pipeline)
in
[DataDog/datadog-api-client-go#2416

##### Added

- Adds support for `ListMetricAssets` endpoint by
[@&#8203;api-clients-generation-pipeline](https://github.com/api-clients-generation-pipeline)
in
[DataDog/datadog-api-client-go#2404
- Add support for new CRUD agent rules endpoints by
[@&#8203;api-clients-generation-pipeline](https://github.com/api-clients-generation-pipeline)
in
[DataDog/datadog-api-client-go#2410
- Add documentation for workflow usage attribution by
[@&#8203;api-clients-generation-pipeline](https://github.com/api-clients-generation-pipeline)
in
[DataDog/datadog-api-client-go#2418
- Add Custom Destinations Public API by
[@&#8203;api-clients-generation-pipeline](https://github.com/api-clients-generation-pipeline)
in
[DataDog/datadog-api-client-go#2422

##### Deprecated

- Deprecate the pattern property for SDS Standard Pattern Attributes by
[@&#8203;api-clients-generation-pipeline](https://github.com/api-clients-generation-pipeline)
in
[DataDog/datadog-api-client-go#2411
- Deprecate Incident Services endpoints by
[@&#8203;api-clients-generation-pipeline](https://github.com/api-clients-generation-pipeline)
in
[DataDog/datadog-api-client-go#2424

##### New Contributors

- [@&#8203;antonio-ramadas-dd](https://github.com/antonio-ramadas-dd)
made their first contribution in
[DataDog/datadog-api-client-go#2421

**Full Changelog**:
DataDog/datadog-api-client-go@v2.23.0...v2.24.0

###
[`v2.23.0`](https://github.com/DataDog/datadog-api-client-go/releases/tag/v2.23.0)

[Compare
Source](https://github.com/DataDog/datadog-api-client-go/compare/v2.22.0...v2.23.0)

<!-- Release notes generated using configuration in .github/release.yml
at v2.23.0 -->

#### What's Changed

##### Fixed

- Move under common tag Case Management by
[@&#8203;api-clients-generation-pipeline](https://github.com/api-clients-generation-pipeline)
in
[DataDog/datadog-api-client-go#2385
- Include user data with team membership resource by
[@&#8203;api-clients-generation-pipeline](https://github.com/api-clients-generation-pipeline)
in
[DataDog/datadog-api-client-go#2380

##### Added

- Case Management Public API documentation by
[@&#8203;api-clients-generation-pipeline](https://github.com/api-clients-generation-pipeline)
in
[DataDog/datadog-api-client-go#2364
- Make grpc steps available for synthetics api multisteps tests by
[@&#8203;api-clients-generation-pipeline](https://github.com/api-clients-generation-pipeline)
in
[DataDog/datadog-api-client-go#2384
- Add cloud run filter to GCP v1 and v2 spec by
[@&#8203;api-clients-generation-pipeline](https://github.com/api-clients-generation-pipeline)
in
[DataDog/datadog-api-client-go#2361
- add ASM serverless to usage metering API docs by
[@&#8203;api-clients-generation-pipeline](https://github.com/api-clients-generation-pipeline)
in
[DataDog/datadog-api-client-go#2393
- Add new products to usage API docs by
[@&#8203;api-clients-generation-pipeline](https://github.com/api-clients-generation-pipeline)
in
[DataDog/datadog-api-client-go#2396

##### Changed

- Update spec for DORA Metrics Incident endpoint by
[@&#8203;api-clients-generation-pipeline](https://github.com/api-clients-generation-pipeline)
in
[DataDog/datadog-api-client-go#2381

**Full Changelog**:
DataDog/datadog-api-client-go@v2.22.0...v2.23.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any
time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://github.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog/no-changelog Changes don't appear in changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants