Skip to content

Commit 7e5e0f1

Browse files
authored
Merge branch 'main' into search
2 parents cba5dc4 + 5344dae commit 7e5e0f1

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

.devcontainer/template.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,14 @@
3131
"extensions": [
3232
"ms-playwright.playwright",
3333
"alexkrechik.cucumberautocomplete"
34-
]
34+
],
35+
"settings": {
36+
"cucumberautocomplete.steps": [
37+
"tests/ui/features/@*/*.step.ts",
38+
"tests/ui/steps/*.ts"
39+
],
40+
"cucumberautocomplete.strictGherkinCompletion": true
41+
}
3542
}
3643
}
3744
}

e2e/tests/ui/features/@advisory-explorer/advisory-explorer.step.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,23 +57,23 @@ Then(
5757
Then(
5858
"The vulnerabilities table is sorted by {string}",
5959
async ({ page }, columnName) => {
60-
const toolbarTable = new ToolbarTable(page, VULNERABILITIES_TABLE_NAME);
60+
const toolbarTable = new ToolbarTable(page, VULN_TABLE_NAME);
6161
await toolbarTable.verifyTableIsSortedBy(columnName);
6262
},
6363
);
6464

6565
Then(
6666
"The vulnerabilities table total results is {int}",
6767
async ({ page }, totalResults) => {
68-
const toolbarTable = new ToolbarTable(page, VULNERABILITIES_TABLE_NAME);
68+
const toolbarTable = new ToolbarTable(page, VULN_TABLE_NAME);
6969
await toolbarTable.verifyPaginationHasTotalResults(totalResults);
7070
},
7171
);
7272

7373
Then(
7474
"The {string} column of the vulnerability table contains {string}",
7575
async ({ page }, columnName, expectedValue) => {
76-
const toolbarTable = new ToolbarTable(page, VULNERABILITIES_TABLE_NAME);
76+
const toolbarTable = new ToolbarTable(page, VULN_TABLE_NAME);
7777
await toolbarTable.verifyColumnContainsText(columnName, expectedValue);
7878
},
7979
);

0 commit comments

Comments
 (0)