destinations: full picker everywhere, numbers in summaries, Ring everyone
The DestinationPicker now offers every type that exists (user, voicemail,
ring group, digital receptionist, office hours, announcement, outside
number, hang up) on every page that routes calls; queues and
conferences join in M8. API summaries show the number of dialable
targets ("Ring group Sales (500)", 05 §3). Wizard step 8 gains "Ring
everyone": it creates or refreshes a ring group "Everyone" of all
extensions (unanswered → the first user's voicemail); an IVR isn't
created there because it needs a recorded greeting. m3-t5 now routes
the main number through "Ring everyone" and still passes.
Task: M6-T6
This commit is contained in:
1 parent
dd640b368b
commit
d746772b97
7 files changed
+72
-22
No files matched your search
@@ -195,17 +195,14 @@ try {
|
||||
await p.waitFor(`document.body.innerText.includes('✓ ${ext} Dan Doe')`);
|
||||
await clickNext();
|
||||
|
||||
// 8. Main number → Dan
|
||||
// 8. Main number → "Ring everyone" (M6: a ring group of all users; Dan is the only one)
|
||||
await step(8, 'Main number');
|
||||
const label = 'When someone calls (312) 555-1234 (Main line), ring:';
|
||||
await choose(`${label}: type`, 'user');
|
||||
await p.click('Ring everyone');
|
||||
await p.waitFor(
|
||||
`[...document.querySelectorAll('select[aria-label="${label}: user"] option')].some(o => o.textContent.includes('Dan Doe'))`,
|
||||
`document.querySelector('select[aria-label="${label}: type"]')?.value === 'ring_group' && document.querySelector('select[aria-label="${label}: ring group"]')?.selectedOptions[0]?.textContent.includes('Everyone')`,
|
||||
'ring group Everyone picked',
|
||||
);
|
||||
const danId = await p.evaluate(
|
||||
`[...document.querySelectorAll('select[aria-label="${label}: user"] option')].find(o => o.textContent.includes('Dan Doe')).value`,
|
||||
);
|
||||
await choose(`${label}: user`, danId);
|
||||
await p.click('Save and continue');
|
||||
|
||||
// 9. Emergency: Next stays locked until a default E911 caller ID is saved.
|
||||
|
||||
Reference in new issue
Block a user