Skip to content

Commit d81ae7d

Browse files
chore(deps): update dependency @cucumber/compatibility-kit to v11 (#234)
* chore(deps): update dependency @cucumber/compatibility-kit to v11 * update tests to match new CCK dir structure Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: David Goss <[email protected]>
1 parent 1bada1a commit d81ae7d

File tree

3 files changed

+17
-23
lines changed

3 files changed

+17
-23
lines changed

package-lock.json

Lines changed: 9 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
},
5454
"devDependencies": {
5555
"@babel/core": "7.18.13",
56-
"@cucumber/compatibility-kit": "^10.0.0",
56+
"@cucumber/compatibility-kit": "^11.0.0",
5757
"@cucumber/fake-cucumber": "^16.0.0",
5858
"@cucumber/gherkin": "^24.0.0",
5959
"@cucumber/gherkin-streams": "^5.0.1",

src/components/app/FilteredResults.spec.tsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ describe('FilteredResults', () => {
4242

4343
userEvent.type(getByRole('textbox', { name: 'Search' }), 'json')
4444
userEvent.keyboard('{Enter}')
45-
userEvent.click(getByRole('button', { name: 'features/attachments/attachments.feature' }))
45+
userEvent.click(getByRole('button', { name: 'samples/attachments/attachments.feature' }))
4646

4747
expect(getByRole('heading', { name: 'Scenario: Log JSON' })).toBeVisible()
4848
expect(queryByRole('heading', { name: 'Scenario: Log text' })).not.toBeInTheDocument()
@@ -82,18 +82,18 @@ describe('FilteredResults', () => {
8282
)
8383

8484
expect(
85-
getByRole('heading', { name: 'features/examples-tables/examples-tables.feature' })
85+
getByRole('heading', { name: 'samples/examples-tables/examples-tables.feature' })
8686
).toBeVisible()
87-
expect(getByRole('heading', { name: 'features/minimal/minimal.feature' })).toBeVisible()
87+
expect(getByRole('heading', { name: 'samples/minimal/minimal.feature' })).toBeVisible()
8888

8989
userEvent.click(getByRole('checkbox', { name: 'passed' }))
9090

9191
expect(
92-
getByRole('heading', { name: 'features/examples-tables/examples-tables.feature' })
92+
getByRole('heading', { name: 'samples/examples-tables/examples-tables.feature' })
9393
).toBeVisible()
9494
expect(
9595
queryByRole('heading', {
96-
name: 'features/minimal/minimal.feature',
96+
name: 'samples/minimal/minimal.feature',
9797
})
9898
).not.toBeInTheDocument()
9999
})
@@ -104,7 +104,7 @@ describe('FilteredResults', () => {
104104
)
105105

106106
expect(
107-
getByRole('heading', { name: 'features/examples-tables/examples-tables.feature' })
107+
getByRole('heading', { name: 'samples/examples-tables/examples-tables.feature' })
108108
).toBeVisible()
109109

110110
userEvent.click(getByRole('checkbox', { name: 'passed' }))
@@ -113,7 +113,7 @@ describe('FilteredResults', () => {
113113

114114
expect(
115115
queryByRole('heading', {
116-
name: 'features/examples-tables/examples-tables.feature',
116+
name: 'samples/examples-tables/examples-tables.feature',
117117
})
118118
).not.toBeInTheDocument()
119119
expect(getByText('No matches found for your filters')).toBeVisible()

0 commit comments

Comments
 (0)