test: stabilize mobile Today recovery notice
This commit is contained in:
1 parent
a6550f8b1f
commit
f7b2a96206
2 files changed
+3
-9
No files matched your search
@@ -162,15 +162,7 @@ def test_release_artifact_plans_hands_off_and_opens_next_mobile_issue(tmp_path:
|
||||
|
||||
page.evaluate("""() => {
|
||||
const prefix = 'stackchain.today-sync.v1.timmy.operation.';
|
||||
const snapshot = JSON.parse(localStorage.getItem('stackchain.today-sync-snapshot.v1.timmy') || '{}');
|
||||
localStorage.setItem(prefix + 'broken', '{not-json');
|
||||
localStorage.setItem(prefix + 'recover-remove', JSON.stringify({
|
||||
queued_at: Date.now(),
|
||||
operation: {
|
||||
operation_id: 'recover-remove', action: 'remove',
|
||||
item_id: 'issue:acme/mobile:42:', direction: null, base_revision: snapshot.revision,
|
||||
},
|
||||
}));
|
||||
}""")
|
||||
page.reload(wait_until="networkidle")
|
||||
expect(page.locator("#today-sync-status")).to_have_text(
|
||||
|
||||
Reference in new issue
Block a user