We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b98ecda commit 4cba150Copy full SHA for 4cba150
tests/test-team/pages/template-mgmt-message-templates-page.ts
@@ -19,12 +19,12 @@ export class TemplateMgmtMessageTemplatesPage extends TemplateMgmtBasePage {
19
await this.createTemplateButton.click();
20
}
21
22
- async getRowByTemplateId(id: string) {
+ async getTemplatesTableRowByTemplateId(id: string) {
23
return this.page.locator(`tbody tr:has(td:nth-child(2):has-text("${id}"))`);
24
25
26
async getTemplateStatus(templateId: string) {
27
- const row = await this.getRowByTemplateId(templateId);
+ const row = await this.getTemplatesTableRowByTemplateId(templateId);
28
29
const statusCell = row.locator('td:nth-child(4) .nhsuk-tag');
30
0 commit comments