Skip to content
代码片段 群组 项目
提交 08bdb50d 编辑于 作者: Dave Pisek's avatar Dave Pisek
浏览文件

Reviewer feedback: Fix test selector

上级 d2d82cf0
No related branches found
No related tags found
无相关合并请求
......@@ -45,7 +45,7 @@ describe('ee/vulnerabilities/components/generic_report/report_section.vue', () =
name: /evidence/i,
});
const findReportsSection = () => wrapper.findByTestId('reports');
const findAllReportRows = () => wrapper.findAll('[data-testid*="report-row"');
const findAllReportRows = () => wrapper.findAll('[data-testid*="report-row"]');
const findReportRowByLabel = (label) => wrapper.findByTestId(`report-row-${label}`);
const findReportItemByLabel = (label) => wrapper.findByTestId(`report-item-${label}`);
const supportedReportTypesLabels = Object.keys(TEST_DATA.supportedTypes);
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册