File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
projects/angular-test-app/tests/e2e/MediaCo Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -113,8 +113,8 @@ test.describe('E2E test', () => {
113113
114114 await page . locator ( 'button:has-text("submit")' ) . click ( ) ;
115115
116- const todo = page . locator ( 'div[id="worklist "]' ) ;
117- await expect ( todo . getByText ( 'To do' ) ) . toBeVisible ( ) ;
116+ const todo = await page . locator ( 'div[class="psdk-todo-assignments "]' ) ;
117+ await expect ( todo ) . toBeVisible ( ) ;
118118
119119 await page . waitForTimeout ( 5000 ) ;
120120 const attachmentCount = await page . locator ( 'div[id="attachments-count"]' ) . textContent ( ) ;
@@ -139,7 +139,7 @@ test.describe('E2E test', () => {
139139
140140 await page . locator ( 'button:has-text("submit")' ) . click ( ) ;
141141
142- const todo = await page . locator ( 'div[id="worklist"]:has-text("To do") ' ) ;
142+ const todo = await page . locator ( 'div[class="psdk-todo-assignments"] ' ) ;
143143 await expect ( todo ) . toBeVisible ( ) ;
144144 } , 10000 ) ;
145145
You can’t perform that action at this time.
0 commit comments