forked from giranm/pd-live-react
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #297 from PagerDuty/release/0.10.0-beta.0
- Loading branch information
Showing
150 changed files
with
3,172 additions
and
6,728 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
node_modules | ||
build | ||
build | ||
src/config/version.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# MUST match .node-version | ||
nodejs 18.16.1 | ||
nodejs 20.5.1 | ||
yarn 1.22.19 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,7 +31,10 @@ describe('Manage Open Incidents', { failFast: { enabled: false } }, () => { | |
['Responders', 'responders'], | ||
['Latest Log Entry Type', 'latest_log_entry_type'], | ||
]; | ||
manageIncidentTableColumns('add', columns.map((column) => column[1])); | ||
manageIncidentTableColumns( | ||
'add', | ||
columns.map((column) => column[1]), | ||
); | ||
waitForIncidentTable(); | ||
}); | ||
|
||
|
@@ -44,7 +47,10 @@ describe('Manage Open Incidents', { failFast: { enabled: false } }, () => { | |
['Responders', 'responders'], | ||
['Latest Log Entry Type', 'latest_log_entry_type'], | ||
]; | ||
manageIncidentTableColumns('add', columns.map((column) => column[1])); | ||
manageIncidentTableColumns( | ||
'add', | ||
columns.map((column) => column[1]), | ||
); | ||
} | ||
waitForIncidentTable(); | ||
}); | ||
|
@@ -64,6 +70,19 @@ describe('Manage Open Incidents', { failFast: { enabled: false } }, () => { | |
selectAllIncidents(); | ||
}); | ||
|
||
it('Shift-select multiple incidents', () => { | ||
selectIncident(0); | ||
selectIncident(4, true); | ||
cy.get('.selected-incidents-badge').then(($el) => { | ||
const text = $el.text(); | ||
const incidentNumbers = text.split(' ')[0].split('/'); | ||
expect(incidentNumbers[0]).to.equal('5'); | ||
}); | ||
// Unselect all incidents for the next run | ||
selectAllIncidents(); | ||
selectAllIncidents(); | ||
}); | ||
|
||
it('Acknowledge singular incident', () => { | ||
const incidentIdx = 0; | ||
selectIncident(incidentIdx); | ||
|
@@ -110,7 +129,12 @@ describe('Manage Open Incidents', { failFast: { enabled: false } }, () => { | |
addNote(note); | ||
checkActionAlertsModalContent('have been updated with a note'); | ||
checkIncidentCellContent(incidentId, 'Latest Note', note); | ||
checkIncidentCellContentHasLink(incidentId, 'Latest Note', 'example.com', 'http://example.com'); | ||
checkIncidentCellContentHasLink( | ||
incidentId, | ||
'Latest Note', | ||
'example.com', | ||
'http://example.com', | ||
); | ||
}); | ||
}); | ||
|
||
|
@@ -123,7 +147,12 @@ describe('Manage Open Incidents', { failFast: { enabled: false } }, () => { | |
addNote(note); | ||
checkActionAlertsModalContent('have been updated with a note'); | ||
checkIncidentCellContent(incidentId, 'Latest Note', note); | ||
checkIncidentCellContentHasLink(incidentId, 'Latest Note', '[email protected]', 'mailto:[email protected]'); | ||
checkIncidentCellContentHasLink( | ||
incidentId, | ||
'Latest Note', | ||
'[email protected]', | ||
'mailto:[email protected]', | ||
); | ||
}); | ||
}); | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.