@@ -654,6 +658,7 @@ textarea { resize: vertical; min-height: 120px; }
+
' in html
+ assert 'const workRoute = createWorkRoute.createController({' in html
+ assert 'workRoute.setItems(lastMyWork);' in html
+ assert 'href="' + "' + escAttr(createWorkRoute.serialize(" in html
+ assert '.read-update { min-height:44px; width:100%; display:flex;' in html
+ assert 'workRoute.close();' in html
+ assert html.count('class="share-work-route"') == 4
+ assert 'createWorkRoute.share(window.location.href, navigator, navigator.clipboard)' in html
+ assert 'Route unavailable · this item is no longer in My Work.' in html
def test_my_work_queue_prioritizes_labels_then_reviews_and_keeps_repo_identity():
@@ -1771,7 +1899,7 @@ async def test_mobile_my_work_captures_new_issue_in_accessible_draft_safe_sheet(
assert '' in html
assert 'createIssueCapture({ fetchJson: fetchReviewJson, storage: localStorage })' in html
assert 'lastMyWork = buildMyWork(lastContextSnapshot);' in html
- assert 'openIssueSheet(created' in html
+ assert 'openRoutedWork(created' in html
assert 'issueCapture.loadLabels(repository)' in html
assert "input[name=\"create-issue-label\"]:checked" in html
assert '.create-issue-label-option' in html and 'min-height:44px' in html