feat: open the next three months of Wednesday shifts on the public list
Volunteers can see who is signed up, and a full shift stays closed. Coordinators can see a contact's current and past shifts.
This commit is contained in:
1 parent
e7c99a788e
commit
1a8959c86a
26 files changed
+1402
-192
No files matched your search
+3
-2
@@ -630,10 +630,11 @@ describe('coordinator screens', () => {
|
||||
expect(sourceRoster).not.toContain(`/admin/signups/${signupId}/move`);
|
||||
expect(sourceRoster).toContain('0/2 spots filled');
|
||||
expect(sourceRoster).toContain('event-pill is-open');
|
||||
const home = await (await app.request('/')).text();
|
||||
const home = await (await app.request('/e/pantry?view=calendar')).text();
|
||||
const shiftPage = await (await app.request(`/s/${destinationId}`)).text();
|
||||
expect(home).not.toContain('kim@example.invalid');
|
||||
expect(home).not.toContain('Kim Example');
|
||||
expect(home).not.toContain('Blue shirt');
|
||||
expect(home).toContain('Kim Example');
|
||||
expect(shiftPage).not.toContain('kim@example.invalid');
|
||||
expect(shiftPage).not.toContain('Attended.');
|
||||
expect(auditJson(db)).not.toContain('@');
|
||||
|
||||
Reference in new issue
Block a user