File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -105,7 +105,6 @@ test.describe('E2E test', () => {
105105 const sendToMgr = page . locator ( 'mat-checkbox[data-test-id="C3B43E79AEC2D689F0CF97BD6AFB7DC4"]' ) ;
106106 await sendToMgr . click ( ) ;
107107
108- const currentCaseID = await page . locator ( 'div[id="current-caseID"]' ) . textContent ( ) ;
109108 const filePath = path . join ( __dirname , '../../../src/assets/cableinfo.jpg' ) ;
110109 const attachInputId = await page . locator ( 'div[id="attachment-container"] >> input' ) . getAttribute ( 'id' ) ;
111110 await page . setInputFiles ( `#${ attachInputId } ` , filePath ) ;
@@ -114,8 +113,8 @@ test.describe('E2E test', () => {
114113
115114 await page . locator ( 'button:has-text("submit")' ) . click ( ) ;
116115
117- const todo = page . locator ( 'div[id="worklist "]' ) ;
118- await expect ( todo . getByText ( 'To do' ) ) . toBeVisible ( ) ;
116+ const todo = await page . locator ( 'div[class="psdk-todo-assignments "]' ) ;
117+ await expect ( todo ) . toBeVisible ( ) ;
119118
120119 await page . waitForTimeout ( 5000 ) ;
121120 const attachmentCount = await page . locator ( 'div[id="attachments-count"]' ) . textContent ( ) ;
@@ -140,7 +139,7 @@ test.describe('E2E test', () => {
140139
141140 await page . locator ( 'button:has-text("submit")' ) . click ( ) ;
142141
143- const todo = await page . locator ( 'div[id="worklist"]:has-text("To do") ' ) ;
142+ const todo = await page . locator ( 'div[class="psdk-todo-assignments"] ' ) ;
144143 await expect ( todo ) . toBeVisible ( ) ;
145144 } , 10000 ) ;
146145
You can’t perform that action at this time.
0 commit comments