diff --git a/pages/requestTitle.js b/pages/requestTitle.js index 15f22be..bfcf611 100644 --- a/pages/requestTitle.js +++ b/pages/requestTitle.js @@ -164,7 +164,7 @@ export class RequestTitle { } verifyTitleinColumn = function(numColumn,regex){ - cy.xpath(`//th[@id="-column-${numColumn}"]//div[@style="display: inline-block;"]`).invoke('text').then(($value)=>{ + cy.xpath(`//th[@id="-column-${numColumn}"]//div[@id="requests-table-column-case_title"]`).invoke('text').then(($value)=>{ expect($value).to.match(regex); }) }