-
Notifications
You must be signed in to change notification settings - Fork 361
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
55 changed files
with
341 additions
and
639 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
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 |
---|---|---|
|
@@ -467,11 +467,8 @@ test("'Take' button hides when clicking on 'Unassigned' badge", async () => { | |
alertSummary.assignee_email = '[email protected]'; | ||
alertSummary.assignee_username = 'mozilla-ldap/[email protected]'; | ||
|
||
const { | ||
getByText, | ||
queryByText, | ||
queryByPlaceholderText, | ||
} = alertsViewControls(); | ||
const { getByText, queryByText, queryByPlaceholderText } = | ||
alertsViewControls(); | ||
|
||
const unassignedBadge = await waitFor(() => getByText('Unassigned')); | ||
|
||
|
@@ -659,11 +656,8 @@ const assertAlertsAreInOrder = async (alertsInOrder, alertTableRows) => { | |
}; | ||
|
||
test(`table data can be sorted in descending order by 'Test'`, async () => { | ||
const { | ||
getAllByLabelText, | ||
getByTestId, | ||
getAllByTitle, | ||
} = alertsViewControls(); | ||
const { getAllByLabelText, getByTestId, getAllByTitle } = | ||
alertsViewControls(); | ||
|
||
let alertTableRows = await waitFor(() => | ||
getAllByLabelText('Alert table row'), | ||
|
@@ -698,11 +692,8 @@ test(`table data can be sorted in descending order by 'Test'`, async () => { | |
}); | ||
|
||
test(`table data can be sorted in ascending order by 'Platform'`, async () => { | ||
const { | ||
getByTestId, | ||
getAllByLabelText, | ||
getAllByTitle, | ||
} = alertsViewControls(); | ||
const { getByTestId, getAllByLabelText, getAllByTitle } = | ||
alertsViewControls(); | ||
|
||
let alertTableRows = await waitFor(() => | ||
getAllByLabelText('Alert table row'), | ||
|
@@ -744,11 +735,8 @@ test(`table data cannot be sorted by 'Tags & Options'`, async () => { | |
}); | ||
|
||
test(`table data can be sorted in ascending order by 'Confidence'`, async () => { | ||
const { | ||
getAllByLabelText, | ||
getByTestId, | ||
getAllByTitle, | ||
} = alertsViewControls(); | ||
const { getAllByLabelText, getByTestId, getAllByTitle } = | ||
alertsViewControls(); | ||
|
||
let alertTableRows = await waitFor(() => | ||
getAllByLabelText('Alert table row'), | ||
|
@@ -780,11 +768,8 @@ test(`table data can be sorted in ascending order by 'Confidence'`, async () => | |
}); | ||
|
||
test(`table data can be sorted in ascending order by 'Magnitude of Change'`, async () => { | ||
const { | ||
getAllByLabelText, | ||
getByTestId, | ||
getAllByTitle, | ||
} = alertsViewControls(); | ||
const { getAllByLabelText, getByTestId, getAllByTitle } = | ||
alertsViewControls(); | ||
|
||
let alertTableRows = await waitFor(() => | ||
getAllByLabelText('Alert table row'), | ||
|
@@ -817,11 +802,8 @@ test(`table data can be sorted in ascending order by 'Magnitude of Change'`, asy | |
}); | ||
|
||
test('Data can be sorted only by one column', async () => { | ||
const { | ||
getAllByLabelText, | ||
getByTestId, | ||
getAllByTitle, | ||
} = alertsViewControls(); | ||
const { getAllByLabelText, getByTestId, getAllByTitle } = | ||
alertsViewControls(); | ||
|
||
let alertTableRows = await waitFor(() => | ||
getAllByLabelText('Alert table row'), | ||
|
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
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
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
Oops, something went wrong.